LARA

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
sav08:unique_references [2008/05/21 10:43]
vkuncak created
sav08:unique_references [2008/05/21 10:43]
vkuncak
Line 25: Line 25:
  
 Binary search tree traversal: Binary search tree traversal:
-<​code ​java>+<​code>​
   while (n != null && n.data != x) {   while (n != null && n.data != x) {
     if (x < n.data) {     if (x < n.data) {
Line 34: Line 34:
   }   }
 </​code>​ </​code>​
 +
 using unique pointers? using unique pointers?
-<​code ​java>+ 
 +<​code>​
   while (n != null && n.data != x) {   while (n != null && n.data != x) {
     if (x < n.data) {     if (x < n.data) {