Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kvishalrj/dsa_problem_sheet

DSA problem sheet solution in python
https://github.com/kvishalrj/dsa_problem_sheet

Last synced: 11 days ago
JSON representation

DSA problem sheet solution in python

Awesome Lists containing this project

README

        

# dsa_problem_sheet
DSA problem sheet solution in python

### 1. Check if Array Is Sorted and Rotated
### https://leetcode.com/problems/check-if-array-is-sorted-and-rotated/

### 2. Remove Duplicates from Sorted Array
### https://leetcode.com/problems/remove-duplicates-from-sorted-array/

### 3. Rotate Array
### https://leetcode.com/problems/rotate-array/

### 4. Move Zeroes
### https://leetcode.com/problems/move-zeroes/

### 5. Missing Number
### https://leetcode.com/problems/missing-number/

### 6. Max Consecutive Ones
### https://leetcode.com/problems/max-consecutive-ones/

### 7. Single Number
### https://leetcode.com/problems/single-number/

### 8. Two Sum
### https://leetcode.com/problems/two-sum/

### 9. Sort Colors
### https://leetcode.com/problems/sort-colors/

### 10. Majority Element
### https://leetcode.com/problems/majority-element/

### 11. Maximum Subarray (Kadane's algorithm)
### https://leetcode.com/problems/maximum-subarray/

### 12. Best Time to Buy and Sell Stock
### https://leetcode.com/problems/best-time-to-buy-and-sell-stock/

### 13. Rearrange Array Elements by Sign
### https://leetcode.com/problems/rearrange-array-elements-by-sign/

### 14. Next Permutation
### https://leetcode.com/problems/next-permutation/

### 15. Longest Consecutive Sequence
### https://leetcode.com/problems/longest-consecutive-sequence/

### 16. Set Matrix Zeroes
### https://leetcode.com/problems/set-matrix-zeroes/

### 17. Rotate Image
### https://leetcode.com/problems/rotate-image/

### 18. Spiral Matrix
### https://leetcode.com/problems/spiral-matrix/

### 19. Subarray Sum Equals K
### https://leetcode.com/problems/subarray-sum-equals-k/

### 20. Pascal's Triangle
### https://leetcode.com/problems/pascals-triangle/

### 21. Majority Element II
### https://leetcode.com/problems/majority-element-ii/

### 22. 3Sum
### https://leetcode.com/problems/3sum/

### 23. 4Sum
### https://leetcode.com/problems/4sum/

### 24. Merge Intervals
### https://leetcode.com/problems/merge-intervals/

### 25. Merge Sorted Array
### https://leetcode.com/problems/merge-sorted-array/

### 26. Maximum Product Subarray
### https://leetcode.com/problems/maximum-product-subarray/

### 27. Binary Search
### https://leetcode.com/problems/binary-search/

### 28. Search Insert Position
### https://leetcode.com/problems/search-insert-position/

### 29. Search in Rotated Sorted Array
### https://leetcode.com/problems/search-in-rotated-sorted-array/

### 30. Find First and Last Position of Element in Sorted Array
### https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/

### 31. Number of occurrence
### https://www.codingninjas.com/studio/problems/occurrence-of-x-in-a-sorted-array_630456?utm_source=striver&utm_medium=website&utm_campaign=a_zcoursetuf

### 32. Search in Rotated Sorted Array
### https://leetcode.com/problems/search-in-rotated-sorted-array/

### 33. Search in Rotated Sorted Array II
### https://leetcode.com/problems/search-in-rotated-sorted-array-ii/

### 34. Find Minimum in Rotated Sorted Array
### https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/

### 35. Rotation
### https://www.codingninjas.com/studio/problems/rotation_7449070?utm_source=striver&utm_medium=website&utm_campaign=a_zcoursetuf

### 36. Single Element in a Sorted Array
### https://leetcode.com/problems/single-element-in-a-sorted-array/

### 37. Find Peak Element
### https://leetcode.com/problems/find-peak-element/

### 38. Square Root of a number
### https://www.codingninjas.com/studio/problems/square-root-integral_893351?leftPanelTab=0%3Futm_source%3Dstriver&utm_medium=website&utm_campaign=a_zcoursetuf

### 39. Find Nth Root Of A Number
### https://www.codingninjas.com/studio/problems/nth-root-of-m_1062679?utm_source=striver&utm_medium=website&utm_campaign=a_zcoursetuf

### 40. Koko Eating Bananas
### https://leetcode.com/problems/koko-eating-bananas/

### 41. Minimum Number of Days to Make m Bouquets
### https://leetcode.com/problems/minimum-number-of-days-to-make-m-bouquets/

### 42. Find the Smallest Divisor Given a Threshold
### https://leetcode.com/problems/find-the-smallest-divisor-given-a-threshold/

### 43. Capacity To Ship Packages Within D Days
### https://leetcode.com/problems/capacity-to-ship-packages-within-d-days/

### 44. Kth Missing Positive Number
### https://leetcode.com/problems/kth-missing-positive-number/

### 45. Allocate Books
### https://www.codingninjas.com/studio/problems/allocate-books_1090540?utm_source=youtube&utm_medium=affiliate&utm_campaign=codestudio_Striver_BinarySeries&leftPanelTabValue=PROBLEM

### 46. Split Array Largest Sum
### https://leetcode.com/problems/split-array-largest-sum/

### 47. Painter's Partition Problem
### https://www.codingninjas.com/studio/problems/painter-s-partition-problem_1089557?utm_source=striver&utm_medium=website&utm_campaign=a_zcoursetuf

### 48. Median of Two Sorted Arrays
### https://leetcode.com/problems/median-of-two-sorted-arrays/

### 49. K-th Element of Two Sorted Arrays
### https://www.codingninjas.com/studio/problems/k-th-element-of-2-sorted-array_1164159?utm_source=striver&utm_medium=website&utm_campaign=a_zcoursetuf

### 50. Row with max 1s
### https://www.codingninjas.com/studio/problems/row-of-a-matrix-with-maximum-ones_982768?utm_source=striver&utm_medium=website&utm_campaign=a_zcoursetuf

### 51. Search a 2D Matrix
### https://leetcode.com/problems/search-a-2d-matrix/

### 52. Search a 2D Matrix II
### https://leetcode.com/problems/search-a-2d-matrix-ii/

### 53. Find a Peak Element II
### https://leetcode.com/problems/find-a-peak-element-ii/

### 54. Median in a row-wise sorted Matrix
### https://www.codingninjas.com/studio/problems/median-of-a-row-wise-sorted-matrix_1115473?utm_source=striver&utm_medium=website&utm_campaign=a_zcoursetuf

### 55. Remove Outermost Parentheses
### https://leetcode.com/problems/remove-outermost-parentheses/

### 56. Reverse Words in a String
### https://leetcode.com/problems/reverse-words-in-a-string/

### 57. Largest Odd Number in String
### https://leetcode.com/problems/largest-odd-number-in-string/

### 58. Longest Common Prefix
### https://leetcode.com/problems/longest-common-prefix/

### 59. Isomorphic Strings
### https://leetcode.com/problems/isomorphic-strings/

### 60. Rotate String
### https://leetcode.com/problems/rotate-string/description/

### 61. Valid Anagram
### https://leetcode.com/problems/valid-anagram/description/

### 62. Sort Characters By Frequency
### https://leetcode.com/problems/sort-characters-by-frequency/

### 63. Maximum Nesting Depth of the Parentheses
### https://leetcode.com/problems/maximum-nesting-depth-of-the-parentheses/

### 64. Roman to Integer
### https://leetcode.com/problems/roman-to-integer/

### 65. String to Integer (atoi)
### https://leetcode.com/problems/string-to-integer-atoi/

### 66. Longest Palindromic Substring
### https://leetcode.com/problems/longest-palindromic-substring/

### 67. Sum of Beauty of All Substrings
### https://leetcode.com/problems/sum-of-beauty-of-all-substrings/

### 68. Reverse Words in a String
### https://leetcode.com/problems/reverse-words-in-a-string/

### 69. Delete Node in a Linked List
### https://leetcode.com/problems/delete-node-in-a-linked-list/description/

### 70. Middle of the Linked List
### https://leetcode.com/problems/middle-of-the-linked-list/

### 71. Reverse Linked List
### https://leetcode.com/problems/reverse-linked-list/description/

### 72. Linked List Cycle
### https://leetcode.com/problems/linked-list-cycle/description/

### 73. Linked List Cycle II
### https://leetcode.com/problems/linked-list-cycle-ii/description/

### 74. Palindrome Linked List
### https://leetcode.com/problems/palindrome-linked-list/description/

### 75. Odd Even Linked List
### https://leetcode.com/problems/odd-even-linked-list/description/

### 76. Remove Nth Node From End of List
### https://leetcode.com/problems/remove-nth-node-from-end-of-list/description/