Completed 4 out of 6 courses of Data Structures and Algorithms Specialization by University of California San Diego.
This repository contains my solutions for the assignments of the four courses. The language I used in the solutions is C++.
Here are my solutions.
Please solve and implement algorithms yourself and if you get stuck, you can refer my solutions.
Course 1: Algorithmic Toolbox
- fibonacci_number
- last_digit_of_fibonacci_number
- greatest_common_divisor
- least_common_multiple
- fibonacci_number_again
- last_digit_of_the_sum_of_fibonacci_numbers
- last_digit_of_the_sum_of_fibonacci_numbers_again
- last_digit_of_the_sum_of_squares_of_fibonacci_numbers
- money_change
- maximum_value_of_the_loot
- car_fueling
- maximum_advertisement_revenue
- collecting_signatures
- maximum_number_of_prizes
- maximum_salary
- binary_search
- majority_element
- improving_quicksort
- number_of_inversions
- organizing_a_lottery
- closest_points
- money_change_again
- primitive_calculator
- edit_distance
- longest_common_subsequence_of_two_sequences
- longest_common_subsequence_of_three_sequences