Cases LE cases if IterLeft-A NULL next else struct NULL next FOR for p

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
Cases:
[ )[ )[ )[ )
^ ^ ^ ^ ^ ^ ^ ^
L L R R R R R R
//LE
cases
if IterLeft-A == A NULL i++ next
else struct NULL i++ next
//FOR
for (ptr = next(A); next.next(ptr)->A < IterRight->A; i++, ptr = next(ptr))
Buffer[i] = ptr
NULL
//RE
if end NULL break
else struct NULL break
NULL