Facebook | Phone Screen | String to Integer & Remove Invalid Parentheses
Anonymous User
1375

Question 1:
Write a function to convert a String to Integer: https://leetcode.com/problems/string-to-integer-atoi/

Eg:
"123" => 123

On asking further details, the interviewer mentioned that it could contain any illeagal character too.

Question 2:
https://leetcode.com/problems/remove-invalid-parentheses/

Comments (4)