SE250:lab-7:zyan057

From Marks Wiki
Revision as of 05:20, 3 November 2008 by Mark (Sọ̀rọ̀ | contribs) (7 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Task 1

Populate your tree with seven distinct elements, and navigate around using “left”, “right”, “parent” and “root” until you are confident you know what you are doing.

  • Looks like partent command goes up 2 nodes.
  • And clear tree command crashes the program.
> clear tree
5 [sig] lab7 2036 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)

-_-|||

Task 2

  • dbfaceg
  • dfbgeca
  • and so on...

Task 3

a
 b
  c
   d
    e
     f
      g

rotating it and u get

 a
b
 c
  d
   e
    f
     g

Task 4

yea, playing it around is fun, whatever.