Write Algorithm For Dfs And Bfs Traversal Coding