ch03_03 o(1) time min()