codex
Loading...
Searching...
No Matches
upper_bound.c File Reference
#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
Include dependency graph for upper_bound.c:

Functions

bool is_sorted (const int *b, const int *e)
 
bool lsearch (int x, const int *b, const int *e)
 
int * upper_bound (int x, int *b, int *e)
 

Function Documentation

◆ is_sorted()

bool is_sorted ( const int * b,
const int * e )
Here is the caller graph for this function:

◆ lsearch()

bool lsearch ( int x,
const int * b,
const int * e )
Here is the caller graph for this function:

◆ upper_bound()

int * upper_bound ( int x,
int * b,
int * e )
Here is the call graph for this function: