Problem Solving

  • Number Triangle
  • The the maximum possible sum of a path in a number triangle, from the top row to the bottom row.

  • Collatz
  • Collatz sequence - maximum length in a range.

  • Primes
  • Create a class to hold prime numbers. Use it to solve some prime-using problems.


Number Triangle

The the maximum possible sum of a path in a number triangle, from the top row to the bottom row.

Collatz

Collatz sequence - maximum length in a range.

Primes

Create a class to hold prime numbers. Use it to solve some prime-using problems.

Last modified August 25, 2021: ap-cs 2018-2019 (cfa3191)