How to use leetcode efficiently