Search:

Type: Posts; User: student

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    2,840

    Re: heap ordering using binary tree

    when i try to compile this code, it just simply cannot print out the right numbers. the first number was correct, but not the others.
  2. Replies
    5
    Views
    2,840

    Re: heap ordering using binary tree

    public void insert(double x){
    size++;
    root = insert(root, x);
    }

    private static Node insert(Node newnode, double x){
    if(newnode == null){
    newnode = new...
  3. Replies
    5
    Views
    2,840

    heap ordering using binary tree

    I have an assignment asking me to create a binary heap using binary tree instead of array. I have no idea about how to do this as what I got from internet/lecture is implement through ARRAY.



    ...
  4. Replies
    2
    Views
    6,788

    Sorted Doubly linked List

    I required to create a sorted doubly linked list for my homework. Inside the SortedStringList, I need to implement a method called insert(). I have some problem in doing so. I don't what is going...
Results 1 to 4 of 4