Veeva Systems interview question

BigInteger, DFS and BFS, Array manipulation