Notes

Personal notes on various topics

View on GitHub

Problems for Arrays and Strings

DSA problems for Arrays and Strings

Problems

  1. Merge 2 sorted arrays
  2. Remove element
  3. Remove duplicates from sorted array
  4. Remove duplicates from sorted array II
  5. Majority Element
  6. Rotate Array
  7. Best time to buy and sell stock
  8. Best time to buy and sell stock II
  9. Jump Game
  10. Jump Game II
  11. H-index
  12. Insert Delete GetRandom O(1)
  13. Product of Array Except Self
  14. Gas Station
  15. Candy
  16. Trapping Rain Water
  17. Roman to Integer
  18. Integer to Roman
  19. Length of Last Word
  20. Longest Common Prefix
  21. Reverse words in a string
  22. ZigZag Conversion
  23. First Occurrence in a String
  24. Text Justification
Back to Categories Back to Home