Should I implement the problems in CTCI?
Jan 19, 2021
8 Comments
Title pretty much says it. As I'm going through CTCI should I actually implement all the problems or should I just go through all the solutions to understand the problems solving and then start practicing with leetcode?
I figured it's easier to practice on leetcode as you just have to write functions vs setting up environment/test cases for CTCI problems. TIA.
comments
To practice coding: Youβll probably get more bang for your buck doing the actual code implementations in leetcode (you can do a search to see if the CTCI problem is in leetcode).
But the hardest part should usually be the algo part (to do optimally).
Best to recreate the interview environment - with self(leetcode/epi), pramp or interviewing.io mock sessions.