0 0 votes Data Structures + – eyeamgj 2.0k views answer comment Share Follow Print See 1 comment 1 1 comment reply Vpal6044 commented Sep 12, 2020 reply Follow flag The answer would be 8 of this question .if I am wrong somewhere please correct me. 0 0 replyShare Please log in or register to add a comment.
3 3 votes If there are n leave nodes ===> you should at least (n-1) back tracks.. . Here there are 2 leave nodes ===> you should need atleast 1 back track. but with 1 backtracks you can't cover all nodes. With 2 backtracks we can cover all nodes. .. Therefore we need two backtracks. A-B-E-C-F-D-backtrack-F-I-backtrack-G-H Shaik Masthan answered Jun 19, 2018 • edited Oct 10, 2018 by Shaik Masthan Shaik Masthan comment Share Follow See all 6 Comments 6 6 Comments reply eyeamgj commented Jun 19, 2018 reply Follow flag but answer given is 9 ....dont know correct or wrong ...but do we need to backtrack to starting vertex A, or just scanning all vertices is enogh nd count number of backtrack in between this 0 0 replyShare Shaik Masthan commented Jun 20, 2018 reply Follow flag No need to backtrack to starting vertex A because it is given that apply DFT... May be sometimes ans wrong 0 0 replyShare eyeamgj commented Jun 20, 2018 reply Follow flag ok thanks 0 0 replyShare meghna commented Oct 10, 2018 reply Follow flag @Shaik Masthan if I perform dft like A-B-E-C-F-D-backtrack-F-I-backtrack-G-H than can I say 2 backtracks possible? 0 0 replyShare Shaik Masthan commented Oct 10, 2018 reply Follow flag @meghna yes, 2 backtracks are sufficient. thanks for correcting me., i will update the answer. 0 0 replyShare vupadhayayx86 commented Jul 11, 2019 reply Follow flag What will be maximum number of backtracking required? I am getting 4 0 0 replyShare Please log in or register to add a comment.