A.log2(n) B.log2(n)+1 C.log2(n+1)
A.h B.h-1 C.h+1 D.2h
A.rare=rare+1 B.rare=(rare+1)%(m-1) C.rare=(rare-1)%m D.rare=(rare+1)%m