请教FB on-site 面试题# JobHunting - 待字闺中
x*3
1 楼
1. Parse a formula string (only contains "+-()", no "*/"), for example, “
5 + 2x – ( 3y + 2x - ( 7 – 2x) – 9 ) = 3 + 4y”, parse this string, with
a given float of ‘x’ value, output a float for ‘y’ value.
2. Calculate the max area of a colored map. design a data structure yourself.
3. Architecture design. design data structure, let your friends and friends'
friends shown to you. (two level far).
5 + 2x – ( 3y + 2x - ( 7 – 2x) – 9 ) = 3 + 4y”, parse this string, with
a given float of ‘x’ value, output a float for ‘y’ value.
2. Calculate the max area of a colored map. design a data structure yourself.
3. Architecture design. design data structure, let your friends and friends'
friends shown to you. (two level far).