CE
cenkc/algorithms
LeetCode, HackerRank, Codility, CTCI - Cracking The Coding Interview & Miscellaneous algorithms and data structures studies & solutions
algorithmalgorithmsalgorithms-and-data-structuresbinary-searchbreadth-first-searchcodilitydata-structuresdepth-first-searchdivide-and-conquerdynamic-programminggraph-algorithmsgreedy-algorithmshackerrankjavaleetcodeleetcode-solutionsmergesort-algorithmsliding-window-algorithmsorting-algorithmstree-structure
Algorithms (LeetCode, HackerRank, Codility, CTCI - Cracking The Coding Interview & Miscellaneous studies & solutions)
| Problem Tags |
|---|
| Binary Search |
| Binary Tree |
| Breadth First Search (BFS) (Both BSTs and Graphs) |
| Depth First Search (DFS) (Both BSTs and Graphs) |
| Divide and Conquer |
| Dynamic Programming |
| Graph |
| Greedy |
| Interactive |
| Linked List |
| Minimum Spanning Tree - MST |
| Notes |
| Shortest Path |
| Sliding Window |
| Sorting |
| Tree |
| Trie |
| Common Pitfalls & Notes |
|---|
| Integer.MAX_VALUE and Integer.MIN_VALUE usages |
LeetCode
Codility
| PROBLEM DESCR. | SOLUTION | DIFFICULTY | RELATED TOPICS | ADDITIONAL INFO |
|---|---|---|---|---|
| Codility | Binary Gap | 🟢Easy | Iterations | Lessons / 1 - Iterations |
| Codility | Cyclic Rotation | 🟢Easy | Arrays | Lessons / 2 - Arrays |
| Codility | Odd Occurrences In Array | 🟢Easy | Arrays | Lessons / 2 - Arrays |
| Codility | Frog Jump (FrogJmp) | 🟢Easy | Time Complexity | Lessons / 3 - Time Complexity |
| Codility | Permutation Missing Element (PermMissingElem) | 🟢Easy | Time Complexity | Lessons / 3 - Time Complexity |
| Codility | Tape Equilibrium (TapeEquilibrium) | 🟢Easy | Time Complexity | Lessons / 3 - Time Complexity |
| Codility | Brackets | 🟢Easy | Stacks and Queues | Lessons / 7 - Stacks and Queues |
| Codility | Fish | 🟢Easy | Stacks and Queues | Lessons / 7 - Stacks and Queues |
| Codility | Nesting | 🟢Easy | Stacks and Queues | Lessons / 7 - Stacks and Queues |
HackerRank
| PROBLEM DESCR. | SOLUTION | DIFFICULTY | RELATED TOPICS | ADDITIONAL INFO |
|---|---|---|---|---|
| HackerRank | 2D Array - DS | 🟢Easy | Array | Data Structures / Arrays |
| HackerRank | Sales by Match | 🟢Easy | Array | Algorithms / Implementation |
| HackerRank | Minimum Absolute Difference in an Array | 🟢Easy | Greedy | Algorithms / Greedy |
CTCI - Cracking The Coding Interview
| PROBLEM DESCR. | SOLUTION | DIFFICULTY | RELATED TOPICS | ADDITIONAL INFO |
|---|---|---|---|---|
| CTCI | C1Q1 - IsUniqueChars | 🟢Easy | Arrays and Strings | Data Structures / Arrays |
| CTCI | C1Q4 - Anagram | 🟢Easy | Arrays and Strings | Data Structures / Arrays |
| CTCI | C1Q7 - RotateMatrix | 🟢Easy | Arrays and Strings | Data Structures / Arrays |
| CTCI | C1Q8 - ZeroMatrix | 🟢Easy | Arrays and Strings | Data Structures / Arrays |
| CTCI | C2Q1 - RemoveDups | 🟢Easy | Linked Lists | Data Structures / LinkedLists |
| CTCI | C2Q2 - ReturnKthToLast | 🟢Easy | Linked Lists | Data Structures / LinkedLists |
| CTCI | C8Q1 - TripleStep | 🟢Easy | Dynamic Programming | Algorithms / Dynamic Programming |
Miscellaneous
| PROBLEM DESCR. | SOLUTION | DIFFICULTY | RELATED TOPICS | ADDITIONAL INFO |
|---|---|---|---|---|
| Misc | Longest substring length with K distinct characters | 🟢Easy | Sliding Window | Algorithms / Sliding Window |
| Misc | Maximum Sum Of Contiguous SubArray Of Fixed Size K | 🟢Easy | Sliding Window | Algorithms / Sliding Window |
| Misc | Smallest subarray with given sum | 🟢Easy | Sliding Window | Algorithms / Sliding Window |
| Misc | Bubble Sort | 🟢Easy | Sorting | Algorithms / Sorting |
| Misc | Insertion Sort | 🟢Easy | Sorting | Algorithms / Sorting |
| Misc | Merge Sort | 🟢Easy | Sorting | Algorithms / Sorting |
| Misc | Quick Sort | 🟢Easy | Sorting | Algorithms / Sorting |
| Misc | Selection Sort | 🟢Easy | Sorting | Algorithms / Sorting |
| Misc | Sorted Array | 🟢Easy | Sorting | Algorithms / Sorting |
| Misc | Dijkstra's Algorithm | 🟢Easy | Shortest Path | Algorithms / Shortest Path |
| Misc | Prim's Algorithm | 🟢Easy | Minimum Spanning Tree - MST | Algorithms / Minimum Spanning Tree - MST |
| Misc | Binary Tree From Sorted Array | 🟢Easy | Binary Tree | Algorithms / Study |
| Misc | Lru Cache Impl. | 🟢Easy | Lru Cache | Algorithms / Study |
| Misc | Reverse LinkedList | 🟢Easy | Linked List | Algorithms / Study |
| Misc | Biggest Two Digit Value String Fragment | 🟢Easy | Algorithms / Assessments | |
| Misc | Min Num Of Letters Must Be Deleted | 🟠Medium | Algorithms / Assessments | |
| Misc | Chain Divided Into Three Smaller Chains | 🟠Medium | Algorithms / Assessments | |
| Misc | 0/1 Knapsack Problem | 🟠Medium | Dynamic Programming | Problem Set / Algorithms |