I\'m doing leetcode questions to get better at solving problems and expressing those solutions in rust, and I\'ve come across a case where it feels like the most natural way of