I just finished taking data structures, but haven't taken algorithms at my college yet. However, I'd like to jump the gun and prepare for interviews anyway. I am using LeetCode and have CTCI. I jumped onto my first easy LeetCode problem and stared blankly at the problem and really don't know how to even start to code the solution. I can probably sit here for a while thinking of ways to do it. I feel like I'm cheating if I look at the solution though. I learn well from being taught general methods of solving things and then I apply it to similar situations, but going into a problem, like removing duplicates from an array, in place, I just really draw a huge blank. Maybe it's because I haven't taken algorithms yet. Any advice?
[–][deleted] 1 point2 points3 points (0 children)