CTCI leetcode careercup sample code