AKUNA CAPITAL Interview Question

BFS search in application and maximum subsequence.