Google Interview Question

Floor Function Implementation (brute force + Optimized)