Hey, it’s your favorite cult leader here 🐱👤
On Thursdays, I will send you a problem + its solution. These solutions will help you reinforce your fundamental concepts, improve your problem-solving, and kill those coding/tech/software engineering Interviews. 🔥🔥💹💹
To get access to all my articles and support my crippling chocolate milk addiction, consider subscribing if you haven’t already!
p.s. you can learn more about the paid plan here.
How did you do?
This is a problem that has tripped up a surprising number of people I’ve worked with. And yes, this can be done through brute force. But that doesn’t really help you. If you learn how to work through this systematically, you can apply that system elsewhere.
Problem
The robots are being packed into a container for their next evaluation. Which arrangement meets these packing requirements?
Loy is in one of the two middle spaces.
Mig is left of Lex and right of Rae.
Rae is directly next to Mig.
Make sure you practice such questions quickly. Your interviews will likely contain a couple of these (especially now that more and more people are falling out of love with Leetcode). In actual interviews, you can skip a few steps to save time. But when studying these questions, mastering the right methods will help you solve much harder questions. I covered this principle in depth in the post- How to Use Easy Questions, so make sure you read that if you haven’t already.
Keep reading with a 7-day free trial
Subscribe to Technology Made Simple to keep reading this post and get 7 days of free access to the full post archives.