Open yashrsharma44 opened 3 years ago
@yashrsharma44 @Biswajitghosh98 Can i work on the traversal in Trees and the Eulerian part?
@yashrsharma44 @Biswajitghosh98 Can I work on the algorithms to implement Bipartite and Directly Acyclic Graph?
@130sayan @anishsofat Assigned. All the best !
@Biswajitghosh98 bfs and dfs have already been done for graphs. Should I do separately for Trees?
@130sayan look up Morris Traversal and implement it on Binary Trees (directed)
@130sayan you need to add inorder/preorder/postorder/levelorder for trees. You can use the existing dfs/bfs for your reference
@Biswajitghosh98 I have to check Eulerian for directed or undirected?
@130sayan An Eulerian circuit can be made on both directed and undirected graphs. Considering the graph directed would cover both the cases.
@Biswajitghosh98 I have submitted a pull request for Bipartite Graph. In "Directly Acyclic Graph", is directly same as directed?
@anishsofat yes. Let me have a look
@yashrsharma44 @Biswajitghosh98 is it necessary to use morris traversal for various traversals or can I use Stack or recursion?
I would suggest you to implement a Morris traversal separately, and for tree traversals, use stack.
@130sayan Morris Traversal is special in a sense that it takes O(1) space while stack or recursion call stack takes up O(logn)
@yashrsharma44 I think using Morris for inorder and pre-order would be nice instead of a separate implementation. What do you think ?
Let's move ahead with @Biswajitghosh98 idea
Ok. Thank you
Implement all types of traversal for -
Implement an algorithm to detect if a graph is -