Skip to content

Code Problems from LeetCode website and other fun code problems websites. The goal is to help people studying for coding interviews.

License

Notifications You must be signed in to change notification settings

ambuj2000/code_problems

 
 

Repository files navigation

Repository made with the aim to help people studing for coding interviews. All code were made in Python so far but anyone can add new problems, algorithms and data structures in any language 😄

Contributions are welcome! If you want to contribute, please read CONTRIBUTING.md for details on how to get started and submit pull requests to us.

Useful Links

Classic Algorithms

Python

Code Test
Heap Sort Unit Test
Kadane's Algorithm Missing tests
Linear Search Missing tests
Sieve of Eratoshenes Missing tests
Quick Sort Unit Test
Merge Sort Unit Test
Radix Unit Test
Selection Sort Unit Test
Binary Search Unit Test

Java

Code Test
Merge Sort Missing tests
Quick Sort Missing tests
Bubble Sort Missing tests

C++

Code Test
Binary Sort Missing tests
Prims Algo Missing tests
Selection Sort Missing tests
Insertion Sort Missing tests
Bubble Sort Missing tests
Merge Sort Missing tests
Quick Sort Missing tests
0/1 Knapsack Problem Missing tests
Kadane's Algorithm Missing tests
Topological Sort Missing Tests

Codeforces

Round 633

Problem Statement Solution
A Solution
B Solution
C Solution

Round 634

Problem Statement Solution
A Solution
B Solution
C Solution
D Solution

Round 635

Problem Statement Solution
A Solution
B Solution

Round 636

Problem Statement Solution
A Solution
B Solution
C Solution
D Solution

Round 637

Problem Statement Solution
A Solution
B Solution
C Solution

LeetCode

Binary Search Trees

Challenge Solution
Balance a Binary Search Tree Solution
BST to Greater Sum Tree Solution
search insert position Solution

Graphs

Challenge Solution
Find the Town Judge Solution

Linked List

Challenge Solution
Add Two Numbers Solution
Merge Two Sorted Lists Solution
Remove Nth Node From End of List Solution

Dynamic Programming

Challenge Solution
Maximum Non Negative Product in a Matrix Solution
Dungeon Game Solution
House Robber Solution

Others

Challenge Solution

Hackerrank

Python

Challenge Solution
Non Primes Generator Solution
Stock Market prediction Solution
Square Accumulate Root Solution
Sock Merchant Solution

About

Code Problems from LeetCode website and other fun code problems websites. The goal is to help people studying for coding interviews.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 82.4%
  • Python 13.0%
  • Java 4.2%
  • C 0.4%