This repository contains my code for my 2nd semester algorithms course in uni. I decided to do all the exercises from scratch again to practice and challenge my understanding of algorithms.
- each folder represents every topic for this course, and contains my solutions for the exercises during the meeting.
- the formats of each code is straighforward. The objective of the task is commented at the top of the code, meanwhile the time complexity is commented at the bottom
- I might add a step-by-step explanation to every code later once I have finished all the topics
- python basics
- print, input
- mathematical and logical operators
- if-else statements
- time complexity
- for and while loop
- nested loop
- 2d lists
- bubble sort
- substrings
- linear search
- fibonacci sequence
- decimal to binary conversion
- combinations
- binary search
- calculating the power of a number in O(log m) complexity
- merge sort
- tower of hanoi
- quick sort
- fibonacci sequence using memoization
- minimum coin change (bottom up approach)
- longest palindrome using memoization (not added yet)
- not added yet
- not added yet
- not added yet
- not added yet
- not added yet
- not added yet