Facebook | Phone | String to Integer & HitTest in iOS
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2020-04-18Added By Anonymous
Source: Link
Company: Meta (Facebook)
Role: e3
Interview Stage: Phone Screen
Location: unknown
Year: unknown
Original Post Content:
Question 1:
Convert String Number to Integer https://leetcode.com/problems/string-to-integer-atoi/ "-76" -> 76(Int)123 -> 123(Int)
Question 2:
hitTest method iOS implementation in detail
Got rejected. The questions were super easy but I was kindoff panicked for some reason. Took many hints for the second questions.