Store the code for the hard problem in leetcode .