Algorithmic Toolbox - University of California San Diego
This repository contains my solutions to the programming challenges in the Algorithmic Toolbox course implemented in c++.
Week1 programming challenges: PDF
- Sum of two digits
- Maximum pairwise product
Week2 programming challenges: PDF
- Fibonacci_number
- Last digit of fibonacci number
- Greatest common divisor
- Least common multiple
- Fibonacci number again
- Last digit of the sum of fibonacci numbers
Week3 programming challenges: PDF
- Money change
- Maximum value of the loot
- Car fueling
Week4 programming challenges: PDF
- Binary search
- Binary search with duplicates
- Majority element
Week5 programming challenges: PDF
- Money change again
- Primitive calculator
- Edit distance
- Longest common subsequence of two sequences
Week6 programming challenges: PDF
- Maximum amount of gold
- Partitioning souvenirs
- Maximum value of an arithmetic expression