Description Submission
23. Merge k Sorted Lists
Description Submission 1 Special Testcase: [[]] Submission 2 Maintaining an increasing list of the first elements, no improvement but only space cost added. Submission 3 […]
19. Remove Nth Node From End of List
Description Submission 1 Submission 2 Submission 210730
18. 4Sum
Description Submission The solution is bounded to be O(N^3), so we only need to iterate through the 2 outer loops and then solving the 2Sum […]
17. Letter Combinations of a Phone Number
Description Submission References It’s tricky to convert a char to a single character string https://www.techiedelight.com/convert-char-to-string-cpp/ One way is to use the string constructor, taking two […]