/Algorithmic-Toolbox_University-of-California-San-Diego

My solutions to the programming challenges in the Algorithmic Toolbox course.

Primary LanguageC++

Algorithmic Toolbox - University of California San Diego

cover

This repository contains my solutions to the programming challenges in the Algorithmic Toolbox course implemented in c++.

Table of content

Week1 programming challenges: PDF

  1. Sum of two digits
  2. Maximum pairwise product

Week2 programming challenges: PDF

  1. Fibonacci_number
  2. Last digit of fibonacci number
  3. Greatest common divisor
  4. Least common multiple
  5. Fibonacci number again
  6. Last digit of the sum of fibonacci numbers

Week3 programming challenges: PDF

  1. Money change
  2. Maximum value of the loot
  3. Car fueling

Week4 programming challenges: PDF

  1. Binary search
  2. Binary search with duplicates
  3. Majority element

Week5 programming challenges: PDF

  1. Money change again
  2. Primitive calculator
  3. Edit distance
  4. Longest common subsequence of two sequences

Week6 programming challenges: PDF

  1. Maximum amount of gold
  2. Partitioning souvenirs
  3. Maximum value of an arithmetic expression

image