Offered by: Coursera
Created by: University of California, San Diego, and National Research University Higher School of Economics
This repository contains my solutions to some programming assignments of the first two courses of Data Structures and Algorithms Specialization. I interrupted this specialization to focus on getting my master's degree in computer science.
To compile these solutions, I used GCC 4.2.1 (course 1) and 8.1.0 with the following command line:
$ gcc -pipe -O2 -std=c11 <filename> -lm
Disclaimer: If you are enrolled in this specialization or in one of its courses, do not access the content of this repository.
- Programming Assignment
- Fibonacci Number
- Last Digit of a Large 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
- Programming Assignment
- Money Change
- Maximum Value of the Loot
- Maximum Advertisement Revenue
- Collecting Signatures
- Maximum Number of Prizes
- Maximum Salary
- Programming Assignment
- Binary Search
- Majority Element
- Improving Quick Sort
- Number of Inversions
- Organizing a Lottery
- Closest Points
- Programming Assignment
- Money Change Again
- Primitive Calculator
- Edit Distance
- Longest Common Subsequence of Two Sequences
- Longest Common Subsequence of Three Sequences
- Programming Assignment
- Maximum Amount of Gold
- Partitioning Souvenirs
- Maximum Value of an Arithmetic Expression
- Programming Assignment
- Check Brackets in the Code
- Compute Tree Height
- Network Packet Processing Simulation
- There was no programming assignment this week.
- There was no programming assignment this week.