Amazon Interview Question

counting no bits from integer,parking garage problem,basic oops concepts