Bloomberg L.P.
Work in HR? Unlock Free Profile

Bloomberg L.P. Financial Applications Engineer Interview Question (student candidate)

"How would you go about extracting individual digits from, and reversing the order of a 6 digit number in any programming language you are familiar with. Write out code on blank piece of paper."
Add Tags [?]

Part of a Financial Applications Engineer Interview Review - one of 1,785 Bloomberg L.P. Interview Reviews

Answers & Comments

of 0

In Python,

1. num_list = [int(i) for i in list(str(num))]

2. int(str(num)[::-1])

- Coders on Feb 26, 2013

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.