A year ago, my benchmark showed that Large Language Models (LLMs) could solve algorithmic coding challenges on Leetcode. However, their ability was limited to a subset of well-known, "popular" ...
Neetcode's website and YouTube channel provide detailed explanations of different patterns for solving LeetCode problems. "Patterns for Solving LeetCode Problems" by Clement Mihailescu (2021) In this ...
Because of Leetcode's special design for test cases, if you want to test your code locally, you need to write some boilerplate code to read the test cases from the file and parse them into the format ...
Note: Some of the code here is old and was written when I was learning C++. It might be possible that code is not safe or making wrong assumptions. Please use with caution. Pull requests are always ...