Description Submission
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 […]
Reversing Python List the SMART Way
As we can recall, to get every other element, we can use where 2 is the step, and with it, only the elements indexed with […]
fix: lua_load_resty_core failed to load the resty.core module
One day, my website was replaced by a OpenRestry installed page. I did nothing, but it just happened. I checked the nginx log and it […]