Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 22, 2020 12:13 am GMT

Live LeetCode Practice Interview for Software Engineers

Play along at home while I interview a brave software engineer and explain what they're doing well and how they can better impress an interviewer.

In this week's session I ask the candidate a coding question that is similar in complexity to what Facebook asks (so I'm told). Here it is:

Write a function that takes two lists of colors called secret and guess.

The function returns a list of pegs, which imperfectly indicate how close the guess is to the secret:

  • 'O' peg: one of the secret colors is in the guess, BUT in the wrong location
  • '1' peg: one of the secret colors is in the guess, AND in the correct location

This question is intentional ambiguous and complicated, to mimic a situation where the candidate needs to clarify the question and load a lot of new context into their brain.

Note: I've even reworded the question above to make it a little bit kinder

Watch the video to find out how things resolve, or ask a friend to learn MasterMind and ask you this question so you can practice communicating about an ambiguous and confusing question under pressure.

CANDIDATE PLANET:
Empowering candidates to ace interviews and negotiate offers. Leave a comment or email [email protected] with questions you want me to answer.

DANGOORMENDEL:
One-on-one success-based coaching for technical and tech-adjacent candidates applying to tech companies. We specialize in interview preparation and offer negotiation.

SALARY NEGOTIATION PLAYLIST https://www.youtube.com/playlist?list=PLY0uEDNh-Haqes9eEvyGtzrUWOHv-c1op

SUBSCRIBE:
Youtube https://youtube.com/c/CandidatePlanet
Newsletter https://dangoormendel.com/newsletter
LinkedIn https://linkedin.com/in/lus

MORE INFO:
Website https://dangoormendel.com
Speaking Inquiries [email protected]
Client Inquiries [email protected]


Original Link: https://dev.to/candidateplanet/live-leetcode-practice-interview-for-software-engineers-45dg

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To