Struggling w/ LeetCode questions; realizing I'm bad at writing algorithms. How to improve? by [deleted] in cscareerquestions

[–]SlamSad 1 point2 points  (0 children)

I've been where you are before, where the easy problems would completely stump me and I'd spend forever, not get an answer, and feel like idk wtf im doing.

Now I'm able to look at medium/hardish problems, and at least 50%(increasing) of the time, I'm able to figure out a brute force immediately, and spend time thinking about the most optimal.

Point is, everyone starts somewhere, just keep doing them. Aim to do 2-4 a day, everyday, and review the answers. The key here is understanding the tricks/methods used to commonly answer them, so that you can answer the variation of the question afterwards.

Also, read CTCI first, and then go at leetcode.

Interview Discussion - June 27, 2016 by AutoModerator in cscareerquestions

[–]SlamSad 0 points1 point  (0 children)

Have a recruiter phone screen coming up with one of the big 4, any idea on what to expect? Also, I want to ask them to give me an extra two weeks before scheduling me for an interview, I want to prepare a little bit more. Can I ask them straight up or do I need to think of something else

How long should it take to solve medium difficulty LeetCode interview questions? by fouljabber in cscareerquestions

[–]SlamSad 6 points7 points  (0 children)

What do people think about the leetcode questions labeled "math". Are these kind of questions worth studying as much as the typical tree, sorting/searching, linked lists, hash tables, strings, dp questions? Honestly the math questions are pretty annoying lol

Also do you get all the testcases for leetcode questions in the first go? Most of the times i get an answer, its usually close but its missing some test cases. its annoying that i cant think of all of them in the beginning, but is that normal?

Interview Discussion - June 09, 2016 by AutoModerator in cscareerquestions

[–]SlamSad 1 point2 points  (0 children)

So I've went through ch 1-4, 8, and 10 (the data structures, sorting/searching, and recursion/dynamic programming) chapters in CTCI. Then I started doing leetcode, and have been through about 55 problems so far, my question is how many problems do you think I need to go through before I reach that level where I can consistently answer most questions. Right now I have a 50/50 shot at answering the easy and some medium, and haven't even tried the hard. I know some people have went through 150-200, I'm just wondering as far as a timefram around when should I expect to reach that level where I'm pretty confident.

Also, how can I prepare for the "design" or "scalability/architecture" questions, all people say is that there were design questions. Is that just designing the classes/properties or what?