Skip to content

Leetcode Problems in Scala using Functional Programming

Notifications You must be signed in to change notification settings

peacefulotter/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode

Solving LeetCode problems in Scala, using Functional Programming when possible

✅ Solved

$${\color{lightgreen}Easy}$$

1. Two Sum
9. Palindrome Number
13. Roman to Integer
14. Longest Common Prefix
21. Merge Two Sorted Lists
1909. Remove One Element to Make the Array Strictly Increasing
2418. Sort the People

$${\color{orange}Medium}$$

2. Add Two Numbers
3. Longest Substring Without Repeating Characters
6. Zigzag Conversion
7. Reverse Integer
8. String to Integer (atoi)
11. Container With Most Water
12. Integer to Roman
17. Letter Combinations of a Phone Number
19. Remove Nth Node From End of List
36. Valid Sudoku
450. Delete Node in a BST
1605. Find Valid Matrix Given Row and Column Sums
2428. Maximum Sum of an Hourglass

$${\color{red}Hard}$$

4. Median of Two Sorted Arrays
23. Merge k Sorted Lists
41. First Missing Positive
42. Trapping Rain Water
2392. Build a Matrix With Conditions

🚧 Solved, but

Time Limit Exceeded

44. Wildcard Matching

Memory Limit Exceeded

2045. Second Minimum Time to Reach Destination

😞 Attempted

10. Regular Expression Matching
15. 3Sum
29. Divide Two Integers
30. Substring with Concatenation of All Words
33. Search in Rotated Sorted Array
34. Find First and Last Position of Element in Sorted Array

Added but untouched

  1. Number of Enclaves

About

Leetcode Problems in Scala using Functional Programming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages