15,848,407 members
Home / Discussions / Algorithms

# Algorithms

 Re: Which is the more preferred approach for novice coders, depth first search, or, breadth first search? prestige primrose hills phase 210-Nov-22 23:21 prestige primrose hills phase 2 10-Nov-22 23:21
 Re: Which is the more preferred approach for novice coders, depth first search, or, breadth first search? Provident Ecopolitan Bagalur20-Jul-23 22:09 Provident Ecopolitan Bagalur 20-Jul-23 22:09
 Find cartesians for matrix elements Member 1528858613-Jul-21 20:38 Member 15288586 13-Jul-21 20:38
 Guess A Word If Number Of Character Matches Are Given Member 1525570320-Jun-21 21:54 Member 15255703 20-Jun-21 21:54
 Re: Guess A Word If Number Of Character Matches Are Given OriginalGriff20-Jun-21 22:01 OriginalGriff 20-Jun-21 22:01
 What are the in-order and post-order traversals of the following tree? priyamtheone20-May-21 6:02 priyamtheone 20-May-21 6:02
 Re: What are the in-order and post-order traversals of the following tree? harold aptroot20-May-21 8:08 harold aptroot 20-May-21 8:08
 Re: What are the in-order and post-order traversals of the following tree? priyamtheone20-May-21 10:37 priyamtheone 20-May-21 10:37
 Thanks for your reply. Below is my takeaway from your post. Post-order traversal Or to put it in a different way: in a post-order traversal, a node is visited only after all its descendants Your statement quoted above was enough to clarify me about the post-order traversal. I believe, that makes the following series as the correct answer: U T S X P R Y C B I J G N V T H F E D L A In-order traversal According to your explanation, while traversal, if any node has a null left child, that node has to be visited right away as the immediate root node before moving down further. If I'm right, then, I think the following series is the correct answer: B U S T X C P Y R A D E I G J F N H V T L
 Re: What are the in-order and post-order traversals of the following tree? harold aptroot20-May-21 10:48 harold aptroot 20-May-21 10:48
 Algorithm to rank items lower if they already appear higher in another category Member 117824613-Mar-21 20:41 Member 11782461 3-Mar-21 20:41
 Re: Algorithm to rank items lower if they already appear higher in another category Ralf Meier9-Mar-21 6:55 Ralf Meier 9-Mar-21 6:55
 Saving Hierarchical (Treeview) object Iteratively with parent and child in C# Md NasirUddin24-Feb-21 6:35 Md NasirUddin 24-Feb-21 6:35
 Re: Saving Hierarchical (Treeview) object Iteratively with parent and child in C# Gerry Schmitz24-Feb-21 7:28 Gerry Schmitz 24-Feb-21 7:28
 Looking for "card playing" algorithm David Crow4-Jan-21 10:30 David Crow 4-Jan-21 10:30
 Re: Looking for "card playing" algorithm Ralf Meier4-Jan-21 10:43 Ralf Meier 4-Jan-21 10:43
 Re: Looking for "card playing" algorithm Peter_in_27804-Jan-21 12:15 Peter_in_2780 4-Jan-21 12:15
 Re: Looking for "card playing" algorithm jsc426-Jan-21 5:33 jsc42 6-Jan-21 5:33
 Re: Looking for "card playing" algorithm Peter_in_27806-Jan-21 13:46 Peter_in_2780 6-Jan-21 13:46
 Re: Looking for "card playing" algorithm Gerry Schmitz5-Jan-21 4:27 Gerry Schmitz 5-Jan-21 4:27
 formulate an algorithm Member 1502086714-Dec-20 7:59 Member 15020867 14-Dec-20 7:59
 Re: formulate an algorithm Greg Utas14-Dec-20 8:31 Greg Utas 14-Dec-20 8:31
 Re: formulate an algorithm Gerry Schmitz14-Dec-20 12:37 Gerry Schmitz 14-Dec-20 12:37
 Last Visit: 31-Dec-99 19:00     Last Update: 28-Feb-24 12:20 Refresh ᐊ Prev1...78910111213141516 Next ᐅ

General    News    Suggestion    Question    Bug    Answer    Joke    Praise    Rant    Admin

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.