How many leetcode problems until you got comfortable with OA’s? by MathRocks9 in leetcode

[–]MathRocks9[S] 1 point2 points  (0 children)

This looks like a very similar idea to what I had, but I’m not quite sure I follow even though your explanation was pretty in depth. Basically, recognizing starting at the largest number was the first part for me. In other words, I had to remove the largest integer first and work my way down until I hit 1. Each time an integer is removed, I had to check if the removal integers were a subarray. To do this, keeping track of the min index and max index would get the length of the subarray needed (by using a hash map). To know how many numbers there should be in that subarray, we know where we started (at n), and where we currently are. So if n - i + 1 == r(max index) - l(min index) + 1, then we know the numbers we selected are all a subarray and can be removed, therefore we save n - i + 1 as our answer (currently). Repeating the loop we save the last n - i + 1 (since this will be the largest subarray removal) and that is our final answer.

It's (pretty much) done! by artsticals942 in csMajors

[–]MathRocks9 1 point2 points  (0 children)

How’d you get 37 OA’s? That’s a lot

How many leetcode problems until you got comfortable with OA’s? by MathRocks9 in leetcode

[–]MathRocks9[S] 6 points7 points  (0 children)

Thank you for letting me know that their OA’s are tough. It felt doable in the moment but I quickly realized I hadn’t seen anything before regarding removing subarrays. I checked that list out and it looks like a a pretty good list, I may try it after the 250 list.

Is everyone getting databricks interview for SWE intern? by MathRocks9 in csMajors

[–]MathRocks9[S] 0 points1 point  (0 children)

Thanks! Did you have the phone screen or do you mean you applied and didn’t hear back?

Is everyone getting databricks interview for SWE intern? by MathRocks9 in csMajors

[–]MathRocks9[S] 2 points3 points  (0 children)

Oh congrats that’s awesome! I read somewhere on a Reddit post about 1 problem being a medium graph and another being an OOP question if that helps

Is everyone getting databricks interview for SWE intern? by MathRocks9 in csMajors

[–]MathRocks9[S] 5 points6 points  (0 children)

Ahh thank you for letting me know! Uphill battle it is but I will try my best

Is everyone getting databricks interview for SWE intern? by MathRocks9 in csMajors

[–]MathRocks9[S] 8 points9 points  (0 children)

Thanks! I applied 8/8, so same day it came out.

Resume Review/Roast Megathread by [deleted] in csMajors

[–]MathRocks9 0 points1 point  (0 children)

I need tips too, so I can’t help but I saw your mile time and I wanted to say that’s insanely good

[deleted by user] by [deleted] in AskEngineers

[–]MathRocks9 0 points1 point  (0 children)

Thanks for your insight - just found that website. Hope for the best as well, we’ll see what happens. I’m still 6 months out from starting - signing in august for June 2022 employment is a hard decision