You are not logged in. Please login at www.codechef.com to post your questions!

×

Threaded binary tree and morris traversal

can anyone explain me threaded binary tree and how we can do inorder traversal with the help of this.(an example will we useful) thanks in advance reply soon please

asked 09 Jul '13, 10:37

whiteknight321's gravatar image

0★whiteknight321
26689
accept rate: 0%

edited 09 Jul '13, 12:48

admin's gravatar image

0★admin ♦♦
19.7k350498541


link

answered 09 Jul '13, 12:54

jaskaran_1's gravatar image

3★jaskaran_1
525233550
accept rate: 0%

pseudo code for inorder traversal inorder(tree *sub) if(sub!=null) inorder(sub->left) printf("%d",sub->value) inorder(sub->right)

link

answered 10 Jul '13, 00:56

surajkvm007's gravatar image

1★surajkvm007
3191317
accept rate: 0%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×1,901
×1,650

question asked: 09 Jul '13, 10:37

question was seen: 16,104 times

last updated: 10 Jul '13, 00:56