Hi all, I have a first-round Frontend interview coming up for Square/Block in a few days and was wondering if I could get some insight into the types of questions to expect. I was told it'd be a practical JavaScript question but wanted to know if anyone had some examples I can practice prior to the interview. Anything would be helpful because I would love to work there. Thanks in advance #Square
It really depends on the question you get. You can get a leet code-ish question or a very Frontend specific question. My personal suggestion would be to brush up your JS HTML CSS skills. They would most likely ask you to build a small web application. The question would be broken into multiple parts, each part incrementally building on top of the previous. If you work on frontend in your day job, it should be a breeze to get through this interview.
How did it go OP? Any details you can share?
The question I got was a 3 part problem. Given a set of restaurant preferences for a group of people, determine what the most popular restaurant is. Then weight it because not all people have the same number of restaurant preferences. Then come up with an algorithm to determine which restaurant to go to next over the course of 20 days. You’ll need to know how to sort, and be able to use data structures to set up your lists. Hope that helps, good luck!
This helps a ton. Thank you!
Fwiw actually implementing the solution isn't the important part. A lot of the feedback is based around whether we got signal from the interview about whether you have a clear-headed approach around solving software engineering problems with increasing complexity and changing requirements. I've rejected a lot of candidates that just "solve the problem". The interview question I use in particular has an open ended section at the end where I can basically just pile on "any" complexity I want if I didn't get signal from previous sections.