Leetcode solutions

The following are my solutions to various leetcode problems, listed chronologically starting with the most recently solved.  You can find a link to my profile here.


  1. Remove Duplicates from Sorted Array
    → arrays

    may 31, 2023

  2. Palindrome Number
    → Math

    May 31, 2023

  3. Longest Common Prefix
    → strings

    May 29, 2023

  4. Roman to Integer
    → strings

    may 29, 2023

  5. Integer to Roman
  6. → strings

    may 29, 2023

  7. Container With Most Water
    → two pointers

    may 28, 2023

  8. Zigzag Conversion
    → arrays

    may 26, 2023

  9. Two Sum
    → hashmap

    may 25, 2023

  10. Median of Two Sorted Arrays 
  11. → binary search

    may 25, 2023

  12. Longest Substring Without Repeating Characters
    → sliding window

    may 25, 2023

  13. Add Two Numbers
    → Linked List

    may 25, 2023