Convert Integer to Non-Adjacent Form | Salesforce Interview Question