Leetcode Leetcode exercises that I have attempted. My Solutions Leetcode Exercise Solution Difficulty 1. Two Sum Solution (Java) Easy 3. Longest Substring Without Repeating Characters Solution (Java) Medium 4. Median of Two Sorted Arrays Solution (Python) Hard 7. Reverse Integer Solution (Python) Medium 9. Palindrome Number Solution (Python) Easy 13. Roman to Integer Solution (JavaScript) Easy 14. Longest Common Prefix Solution (Python) Easy 20. Valid Parentheses Solution (Java) Easy 21. Merge Two Sorted Lists Solution (Java) Easy 24. Swap Nodes in Pairs Solution (C) Medium 54. Spiral Matrix Solution (Java) Medium 59. Spiral Matrix II Solution (Java) Medium 71. Simplify Path Solution (Java) Medium 111. Minimum Depth of Binary Tree Solution (Java) Easy 215. Kth Largest Element in an Array Solution (Java) Medium 258. Add Digits Solution (C) Easy 319. Bulb Switcher Solution (Java) Medium 343. Integer Break Solution (Java) Medium 347. Top K Frequent Elements Solution (Java) Medium 389. Find the Difference Solution (Java) Easy 392. Is Subsequence Solution (Java) Easy 492. Construct the Rectangle Solution (Java) Easy 516. Longest Palindromic Subsequence Solution (Java) Medium 605. Can Place Flowers Solution (Java) Easy 703. Kth Largest Element in a Stream Solution (Java) Easy 705. Design HashSet Solution (Java) Easy 744. Find Smallest Letter Greater Than Target Solution (JavaScript) Easy 746. Min Cost Climbing Stairs Solution (Java) Easy 785. Is Graph Bipartite? Solution (Java) Medium 852. Peak Index in a Mountain Array Solution (Java) Medium 881. Boats to Save People Solution (Java) Medium 896. Monotonic Array Solution (Java) Easy 905. Sort Array By Parity Solution (Java) Easy 946. Validate Stack Sequences Solution (Java) Medium 1020. Number of Enclaves Solution (Java) Medium 1035. Uncrossed Lines Solution (Java) Medium 1046. Last Stone Weight Solution (Java) Easy 1254. Number of Closed Islands Solution (Java) Medium 1232. Check If It Is a Straight Line Solution (C) Easy 1351. Count Negative Numbers in a Sorted Matrix Solution (JavaScript) Easy 1372. Longest ZigZag Path in a Binary Tree Solution (Java) Medium 1422. Maximum Score After Splitting a String Solution (Python) Easy 1431. Kids With the Greatest Number of Candies Solution (Java) Easy 1502. Can Make Arithmetic Progression From Sequence Solution (Python) Easy 1512. Number of Good Pairs Solution (Java) Easy 1557. Minimum Number of Vertices to Reach All Nodes Solution (Java) Medium 1572. Matrix Diagonal Sum Solution (C) Easy 1603. Design Parking System Solution (C) Easy 1637. Widest Vertical Area Between Two Points Containing No Points Solution (Python) Medium 1721. Swapping Nodes in a Linked List Solution (C) Medium 1732. Find the Highest Altitude Solution (C) Easy 1768. Merge Strings Alternately Solution (JavaScript) Easy 2130. Maximum Twin Sum of a Linked List Solution (Java) Medium 2140. Solving Questions With Brainpower Solution (Java) Medium 2218. Maximum Value of K Coins From Piles Solution (Java) Hard 2300. Successful Pairs of Spells and Potions Solution (Java) Medium 2390. Removing Stars From a String Solution (Java) Medium 2405. Optimal Partition of String Solution (Java) Medium 2433. Find The Original Array of Prefix Xor Solution (Java) Medium 2439. Minimize Maximum of Array Solution (Java) Medium 2466. Count Ways To Build Good Strings Solution (Java) Medium