Skip to Content
Dive Into Algorithms
book

Dive Into Algorithms

by Bradford Tuckfield
January 2021
Beginner to intermediate
248 pages
7h 2m
English
No Starch Press
Content preview from Dive Into Algorithms

Index

NUMBERS AND SYMBOLS

7×7 magic square, testing code for, 33

% (modulo) operator

Euclid’s algorithm, 21

Kurushima’s algorithm, 2728

RPM (Russian peasant multiplication), 19

rules, 32

[] (square brackets)

using with list comprehension, 152

using with loc functionality, 19

A

acceleration

estimating for thrown ball, 10

observing for thrown ball, 9

AI (artificial intelligence). See also decision trees; game trees; random forests

adding enhancements, 199

drawing the board, 187188

game trees and winning games, 190199

la pipopipette, 186187

representing games, 188189

scoring games, 189190

algebra, 5

algorithmic approach

Chapman’s algorithm, 910

thinking with your neck, 6

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Algorithms

Learning Algorithms

George Heineman
Grokking Algorithms

Grokking Algorithms

Aditya Bhargava
Graph Algorithms

Graph Algorithms

Mark Needham, Amy E. Hodler
Algorithms in a Nutshell, 2nd Edition

Algorithms in a Nutshell, 2nd Edition

George T. Heineman, Gary Pollice, Stanley Selkow

Publisher Resources

ISBN: 9781098128210Errata Page