Skip to content

paudelsamir/Coding-Interview-Preparation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CODING INTERVIEW PREPARATION

LeetCode Stats

Solved Problems

Status Level Problem Solution Preview Approach (Language)
Easy 1. Two Sum Python Solution Array (Python)
Easy 2. Concatenation of Array Python Solution Array (Python)
Easy 3. Reverse String Python Solution String Manipulation (Python)
Easy 4. Contains Duplicate C++ Solution Hash Table (C++)
Easy 5. Valid Palindrome Python Solution Two Pointers (Python)
Easy 6. Best Time to Buy and Sell Stock Python Solution Dynamic Programming (Python)
Easy 7. Valid Parentheses Python Solution Stack (Python)
Easy 8. Binary Search Python Solution Binary Search (Python)
Easy 9. Reverse Linked List Python Solution Linked List (Python)
Easy 10. Invert Binary Tree Python Solution Binary Tree (Python)
Medium 11. Top K Frequent Elements Python Solution Heap/Hash Table (Python)
Medium 12. Two Sum II - Input Array Is Sorted Python Solution Binary Search (Python)
Medium 13. Longest Substring Without Repeating Characters Python Solution Sliding Window (Python)
Medium 14. Min Stack Solution Stack (Python)
Medium 15. Evaluate Reverse Polish Notation Solution Stack (Python)
Medium 16. Search a 2D Matrix Solution Binary Search (Python)
Medium 17. Reorder List Solution Linked List (Python)
Medium 18. Lowest Common Ancestor of a Binary Search Tree Solution Binary Search Tree (Python)
Medium 19. Subsets Solution Backtracking (Python)
Medium 20. K Closest Points to Origin Solution Heap/Sorting (Python)
Medium 21. Number of Islands Solution DFS (Python)
Medium 22. Sum of Two Integers Solution Bit Manipulation (Python)
Medium 23. Maximum Subarray Solution Kadane's Algorithm (Python)
Medium 24. Insert Interval Solution Greedy (Python)
Medium 25. Rotate Image Solution Matrix Manipulation (Python)
Easy 26. Climbing Stairs Solution Dynamic Programming (Python)
Medium 27. Unique Paths Solution Dynamic Programming (Python)
Easy 28. Min Cost Climbing Stairs Solution Dynamic Programming (Python)
Medium 29. Longest Common Subsequence Solution Dynamic Programming (Python)
Medium 30. House Robber Solution Dynamic Programming (Python)
Medium 31. Best Time to Buy and Sell Stock with Cooldown Solution Dynamic Programming (Python)
Medium 32. Max Area of Island Solution DFS (Python)
Easy 33. Last Stone Weight Solution Heap (Python)
Medium 34. Kth Largest Element in an Array Solution Heap/Quickselect (Python)
Medium 35. Combination Sum Solution Backtracking (Python)
Medium 36. Combination Sum II Solution Backtracking (Python)
Medium 37. Jump Game Solution Greedy (Python)
Hard 38. Jump Game II Solution Greedy (Python)
Medium 39. 3Sum Solution Two Pointers (Python)
Medium 40. Koko Eating Bananas Solution Binary Search (Python)
Easy 41. Merge Two Sorted Lists Solution Linked List (Python)
Easy 42. Linked List Cycle Solution Linked List (Python)
Medium 43. Binary Tree Level Order Traversal Solution Binary Tree (Python)
Medium 44. Binary Tree Right Side View Solution Binary Tree (Python)
Easy 45. Maximum Depth of Binary Tree Solution Binary Tree (Python)
Medium 46. Valid Sudoku Solution Hash Table (Python)
Medium 47. Longest Repeating Character Replacement Solution Sliding Window (Python)
Medium 48. Daily Temperatures Solution Stack (Python)
Medium 49. Generate Parentheses Solution Backtracking (Python)
Medium 50. Remove Nth Node From End of List Solution Linked List (Python)
Medium 51. Copy List with Random Pointer Solution Linked List (Python)
Medium 52. Permutations Solution Backtracking (Python)
Medium 53. Count Good Nodes in Binary Tree Solution Binary Tree (Python)
Medium 54. Clone Graph Solution Graph (Python)
Medium 55. Rotting Oranges Solution BFS (Python)
Medium 56. House Robber II Solution Dynamic Programming (Python)
Medium 57. Longest Palindromic Substring Solution Dynamic Programming (Python)
Medium 58. Course Schedule Solution Graph (Python)
Medium 59. Gas Station Solution Greedy (Python)
Medium 60. Hand of Straights Solution Greedy/minHeap (Python)
Medium 61. Find Minimum in Rotated Sorted Array Solution Binary Search (Python)
Medium 62. Add Two Numbers Solution Linked List (Python)
Medium 63. Palindromic Substrings Solution Expand Around Center (Python)
Medium 64. Decode Ways Solution Recursion (Python)
Medium 65. Non-overlapping Intervals Solution Greedy/Sorting (Python)
Medium 66. Spiral Matrix Solution Matrix Traversal (Python)
Medium 67. Longest Consecutive Sequence Solution Hash Set (Python)

About

minimum one coding problem a day ...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published