AKUNA CAPITAL Interview Question

BFS/Heap/design patterns if you are using java.