5 ms·
Ah, makes perfect sense, thank you for clarifying. Your pseudo code solution confirms that I understood the problem statement correctly. Out of pure curiosity,
by filoleg 3y ago
Ah, makes perfect sense, thank you for clarifying. Your pseudo code solution confirms that I understood the problem statement correctly.
Out of pure curiosity, what were the follow up (part 2 and 3) questions? Not looking for a solution, but if you could post the problem statement, it would be very appreciated. If you feel uncomfortable sharing it publicly out of some concern, that’s entirely fair, no worries.