leetcode and hackerank algorithm solution Programmed by Scala, javascript
Algorithm | Description | Solution |
---|---|---|
two sum | link | link |
Letter Combinations of a Phone Number | link | link |
Longest Common Prefix | link | link |
Palindrome Number | link | link |
Reverse Integers | link | link |
Zig Zag Conversion | link | link |
Search for a range | link | link |
Search in Rotated Sorted Array | link | link |
Divide Two Integers | link | link |
Single Number | link | link |
Symmetric Tree | link | link |
24 Game Java Version | link | link |
24 Game Javascript Version | link | link |
Majority Element | link | link |
Maximum Subarray | link | link |
Median of Two Sorted Arrays (if same size) | link | link |
Median of Two Sorted Arrays (all cases) | link | link |
Coin Change | link | link |
Longest Valid Parentheses | link | link |
Add Two Numbers | link | link |
Remove Nth Node From End of List | link | link |