- Joined
- 7/1/08
- Messages
- 7
- Points
- 11
During my interview process, I often get asked to solve a couple of problems and submit the code, and I just thought that I would share a couple here with the group to help them along:
- write a class, in an OO programming language, which performs arithmetic operations between arbitrarily large numbers.
- with an integer represented as a string, write a function that represents this number with the thousands separated by commas.
I have been asked variants of these two questions on most of my developer interviews, so those of you pursuing the developer route would probably do well to study these questions as a test of your C++ or other object oriented programming capability. I'd be interested to see how others approach the problem.
- write a class, in an OO programming language, which performs arithmetic operations between arbitrarily large numbers.
- with an integer represented as a string, write a function that represents this number with the thousands separated by commas.
I have been asked variants of these two questions on most of my developer interviews, so those of you pursuing the developer route would probably do well to study these questions as a test of your C++ or other object oriented programming capability. I'd be interested to see how others approach the problem.