My Leetcode solution in scala.
Problems:
Task number | Difficulty | Task | Solution |
---|---|---|---|
1 | Easy | Two Sum | Solution |
2 | Medium | Add Two Numbers | Solution |
3 | Medium | Longest Substring Without Repeating Characters | Solution |
4 | Hard | Median of Two Sorted Arrays | Solution |
5 | Medium | Longest Palindromic Substring | Solution |
6 | Medium | ZigZag Conversion | Solution |
7 | Easy | Reverse Integer | Solution |
8 | Medium | String to Integer (atoi) | Solution |
9 | Easy | Palindrome Number | Solution |
10 | Hard | Regular Expression Matching | Solution |
11 | Medium | Container With Most Water | Solution |
12 | Medium | Integer to Roman | Solution |
13 | Easy | Roman to Integer | Solution |
14 | Easy | Longest Common Prefix | Solution |
15 | Medium | 3Sum | Solution |
151 | Medium | Reverse Words in a String | Solution |
223 | Medium | Rectangle Area | Solution |
295 | Hard | Find Median from Data Stream | Solution |