I got stuck on part 2 by misunderstanding the problem and making it harder than it was. After re-reading the prompt more carefully, I realized I had already found the solution super quickly as part of my more complex "solution".
I got stuck on part 2 by misunderstanding the problem and making it harder than it was. After re-reading the prompt more carefully, I realized I had already found the solution super quickly as part of my more complex "solution".