Latest TCS Aptitude Question SOLUTION: A function f satisfies f(0) = 0, f(2n) = f(n), and f(2n+1) = f(n) + 1 for all positive integers n. What is the value of f(2018) ?