Notes on Ternary Search.