Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2014
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Item* listGet (ArrayList *list, Int key) {
  2.         Node *no = list->firstNode;
  3.         Item *res;
  4.         while (no) {
  5.         res = buscaBinaria(no, 0, no->last);
  6.         if (res != NULL)
  7.             return res;
  8.             no = no->next;
  9.         }
  10.         return NULL;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement