Skip to content

Latest commit

 

History

History

23-misc-math

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Unit 23: Miscellaneous math

This unit covers some specific, more mathematical concepts that did not fit into other units:

  • Fast pow (logarithmic computation of powers)
  • Matrix product
  • Fibonacci numbers (and their computation with matrix powers)
  • Powers of an adjacency matrix
  • The "tortoise and hare" method for cycle detection

Prerequisites

Practice problems

Easy

Less easy

Not easy unless you know the solution in advance