Algorand Interview Question

Permutations Linked list implementation with modifications