Implement the m file @protocol Stack <NSObject> @property (nonatomic, readonly) NSInteger count; - (void)pushObject:(nonnull id)object; - (nullable id)popObject; @end
Ios Interview Questions
7,861 ios interview questions shared by candidates
For the technical test, i remember one task, so.. You have an array of strings which describes rectangles as (A, B, C, D) values A ___________ | | | | D | |B | | | | ------------------ C Implement method to recognize 3 kind of figures: - squares (each side equals to others, A = B = C = D) - rectangles (each side equals to the opposite A = C, B = D) - and other figures (A != B != C != D) So the output must the 3 numbers of figures counters separated with space symbol. Input data: { "36 30 36 30", "15 15 15 15", "46 96 90 100", "86 86 86 86", "100 200 100 200", "-100 200 -100 200" } Output data: 2 2 2 Maybe that was a little joke which spreads a bit of my time, but the main thing I founded with the output data - the answer is incorrect, because if we look at input data and simply count figures, we will have 2 squares, 3 rectangles and 1 other figure. However, I made correct implementation, which had output if "2 3 1". HackerRank platform didn't recognize my answer as correct. Second task I made correct and HackerRank recognize it as fully completed, and the third one I made mostly complete. Recruiter answered me that I'm confirmed for the next round which would be Phone Interview. I had 2 days to prepare, and made a list of questions (made search on this site) and all of them was on the interview: 1. What do you know about Booking.com? Do you know the business model of Booking.com? How does Booking get their revenue? 2. What are my motivations for applying? 3. Illustrate both my academic and working background. 4. What is my expectation of the position. 5. What can be improved in the Booking app and site?
every year should be winner for some game 1950-> a 1955-> b if the input in range 1950 to 1954 the result should be a
1. First missing positive integer in an unordered array 2. Observer implementation
TableView
how to generate prime numbers till N(given).
What are my past projects and what technology do you want to work on ?
Basics IOS questions
General questions about past employment, programming interests, and the like. My interview was likely shorter than usual. YMMV There were no skill questions as the next step was to be a technical interview.
Mainly from DS
Viewing 981 - 990 interview questions