Facebook Interview Report
- 0of 0 votes
AnswersYou are given a string that is in roman numeral format.
- panoptic.biopower November 01, 2012 in United States
Output the integer representation.
E.G. You're given XIV
Output 14.| Report Duplicate | Flag | PURGE
Facebook Intern Coding - 0of 0 votes
AnswersYou are given an input form such as the following
- panoptic.biopower November 01, 2012 in United States
(1, (2, 3), (4, (5, 6), 7))
Each element is either a number or a list (whose elements may also be numbers or other lists).
Output the numbers as they appear, stripped down into a single list.
E.G. (1, 2, 3, 4, 5, 6, 7)
(Complication - how does your code handle the case of ((((5)))) vs just ( 5 ) ? )| Report Duplicate | Flag | PURGE
Facebook Intern Coding
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.