BFS and DFS navigation in a tree1. – Ask the user a number of numbers less than or equal to…

BFS and DFS navigation in a tree 1. – Ask the user a number of numbers less than or equal to 30 2. – One through the number that the user chose to enter desired values ??(integer) 3. – Pass after I enter numbers into a vector and on screen display it 4. – Pass vector values ??within a tree 5. – And display it! 6. – with 2-button the user can choose different navigation by BFS (breadth first searc) or DFS (deapth First Search) 7. – When a parent node is visiting paint it black and in a queue to display it part (called the queue by exemple visiting) and their children paint gray 8. – Depues being visited spend one node to another queue (call and visited for example) 9. – And a node visited paint it red

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper
Still stressed with your coursework?
Get quality coursework help from an expert!