Search:

Type: Posts; User: Ami_01

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,233

    well I wrote my test case. For me it's right. I...

    well I wrote my test case. For me it's right.
    I ask a second opinion???

    Thanx
  2. Replies
    3
    Views
    2,233

    ordered binary tree

    Hi developers,

    I only wanne know: Is this solution right?

    Problem:

    I have to write a function wich returns
    the largest key (node->key == Max) in an ordered binary tree.

    int Maxkey(const...
  3. Replies
    10
    Views
    1,417

    Thanx for your code dwks Is this a right...

    Thanx for your code dwks

    Is this a right sollution?

    Thanx for answer
  4. Replies
    10
    Views
    1,417

    Hi xErath or other people, xErath thanx for...

    Hi xErath or other people,

    xErath thanx for message.
    When I understand you good, you mean:


    unsigned Min(node *n) {
    unsigned min;

    if (n == NULL)
  5. Replies
    10
    Views
    1,417

    Hi Quzah or other programmers, Can you help me...

    Hi Quzah or other programmers,

    Can you help me more pls.
    I now have the following:


    unsigned Miniumum(node **n,int number) {
    if (*n != NULL)
    return number;
    ...
  6. Replies
    10
    Views
    1,417

    I think I have it, but not recursive I must have...

    I think I have it, but not recursive
    I must have it recursive




    int MinList (NodePtr theList) {
    int min = theList -> data; //set minimum to first data
    NodePtr currNodePtr =...
  7. Thread: Find MaxKey

    by Ami_01
    Replies
    2
    Views
    1,153

    Find MaxKey

    Hi developers :cool: ,

    I have to write a function that finds the largest key (in my node)
    in a binairy ordered tree.

    Like: int Maxkey(const node *n )
  8. Replies
    10
    Views
    1,417

    Linked list and recursion

    Hello programmers :cool: ,


    I have to develope a recursive function in C.


    Given a linked list and node:

    First --> [7][ ] --> [23] [ ] --> [9] [ ] --> [43] [ ] --> [51] [•]
Results 1 to 8 of 8