Some short codes when studying Programming Interview Exposed