Code samples for coding problems on LeetCode.