| CIT 594 Second Quiz Spring 2002, Dave Matuszek |
Name __________________________________________
|
op is reflexive if op(x, x) returns true
for all x.op is transitive if, whenever op(x, y)
is true, op(y, x) is also true.compareTo is consistent
with equals ? (Be precise)n n
log n 63 n2 2n n5 log
n