Skip to content

Instantly share code, notes, and snippets.

@vcwu
Created July 10, 2012 03:53
Show Gist options
  • Select an option

  • Save vcwu/3080860 to your computer and use it in GitHub Desktop.

Select an option

Save vcwu/3080860 to your computer and use it in GitHub Desktop.
testing with one logical node
//Making a Testing Tree, with many physical, one logical obj.
//------------------------------------------------
Treap<Student>* oneLogical = new Treap<Student>();
oneLogical->insert(smallest);
for(int x = 0; x< 2; x++)
{
oneLogical->insert(allStudents[x]);
oneLogical->remove(allStudents[x]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment