Counting Bits | Leetcode #338 | Java | Technical Interview