This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Binary search on a queue. Complexity approaches 2*N (I think). | |
| Worse than linear search. I feel dirty now. | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| struct item { | |
| struct item *next; |
OlderNewer