/code_problems

Code Problems from Coding Challenge Websites. The goal is to help them to improve their code skills and also studying for coding interviews.

Primary LanguageC++MIT LicenseMIT

Repository made with the aim to help developers improve their code skills and also studying for coding interviews. 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

Dart

Code Test
Bubble Sort Missing tests
Quick Sort Missing tests
Binary Sort Missing tests
Merge 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
Comb Sort Missing Tests
Quick Sort Missing tests
0/1 Knapsack Problem Missing tests
Kadane's Algorithm Missing tests
Topological Sort Missing Tests
Cycle Sort Missing tests
Bogo Sort Missing tests
Chinese Remainder Theorem 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

Round 638

Problem Statement Solution
A Solution

Round 677

Problem Statement Solution
A Solution
B Solution
C Solution
D Solution
E 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
Flatten a Multilevel Doubly Linked List Solution

Dynamic Programming

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

Others

Challenge Solution

Hackerrank

C++

Challenge Solution
QHEAP1 Solution

Python

Challenge Solution
Non Primes Generator Solution
Stock Market prediction Solution
Square Accumulate Root Solution
Sock Merchant Solution
Find the Runner-Up Score! Solution
Mini-Max Sum Solution

InterviewBit

C++

Challenge Solution
Merge Elements Solution

CodeChef

Python

Challenge Solution
Reverse a Number Solution