IDEA: Solve all the leet code problems, but only with monte carlo methods. This can't be an original idea. Shuffle that linked list until the assertion passes and the linked list is reversed.
O(my god this is taking forever)
♡ 7 ↻ 2
October 4, 2024
IDEA: Solve all the leet code problems, but only with monte carlo methods. This can't be an original idea. Shuffle that linked list until the assertion passes and the linked list is reversed.
O(my god this is taking forever)