Zomato | iOS Developer SDE-1 | [Rejected]
Anonymous User
2168

Recruiter reached me out from linked-in and asked me if i am intrested in role ... Further asked me regarding past work notice period ctc etc and some standard technical questions related to iOS (closures/class vs struct etc) later i recieved mail regarding round 1

Round 1: Virtual Onsite (2:00 hrs)

2 DSA Questions (had to share my screen)
I was given 15 mins to complete 1-2 and 15 mins for 3rd
language restriction : swift

1 : find the loop in linked list and proof of that
Standard question

2 : find the intersection point of linked list (approach only and pseudo code)
expected O(1) space solution

3 : Flight based graph question single source single destination but multiple paths from source to destination (directed) between you have to print shortest path from source to dest
Implemented via classic bfs

Then we moved on to predict the output type questions

1: Based on capture list and a followup questions on how does it works why we write weak self etc

2: ARC related (basically on copy on write concept) again followup question on how many instance would be created when copying objects in another variable (both structure containing class as property and vice versa) got grilled deep down on indepth working and storage (heaps/stack - witness table - static/dynamic dispatch)

3: Dispatch Queue based question predict the output of following this wasnt the exact question but was similar to this including some deadlock code due to sync blocks and concurrent queues

func someMethod() {
    print("A")
    DispatchQueue.main.async {
        print("B")
        DispatchQueue.main.async {
            print("C")
            DispatchQueue.main.async {
                print("D")
            }
        }
}

4: Animation based verbal question (as not much time was left) how you will implement looping ui view animation moving in all 4 corners like that DVD logo in old CRT TVs

I fumbled alot in this round in iOS part as it was my first interview but eventually got positive feedback

Round 2 : Virtual Onsite 2 (2 hrs)

Started with basic introduction and questions about my resume and projects asked for feedback on zomato application

Machine Coding type round (had to share my screen)

Q1 : Time Alloted : 15mins
I was asked to implement a simple table view with each row containing labels and a header for each section(with some text in cell provided via data layer by parsing a simple dictionary) i was asked to explain the approach which pattern i am using and why (used MVC)

F..ed up as i took programmatic UI approach and wasnt able to implement it completely in full time but was able to write complete working code (just some syntax error which crashed my app)

After completion i was asked why i used programmatic UI / explain verbally how would write a test case for data layer etc

Q2: Time Alloted : 15mins

It based on userdefault where we have to store/fetch Key value pair with an expiry time present in value .... and expired key value pairs should be deleted
I was asked to write the complete code (was not asked to run it) then time complexity how will optimize constant pulling and pushing back in memory if there are millions of key value pairs

Did it by implementing by simple JSON encoder/Decoder with hashmap for constant lookup and stuff

Q3 (was not able to code it as time was already exceeded in implementing previous questions)

Same animation question like previous .... design UI view where it is animating back and forth looping continously
instead of coding i was asked explaination verbally

After this we had some chat over behavioural aspect of things similar to LPs what features i wanted in Zomato App etc.

This round went mediocre but somewhat better than previous one but still i got rejected when i confirmed with HR(probably due to bad coding pattern choices due to hurry and logic implementation also time taken was high i guess) i am yet to recieve detailed feedback email

Overall Experience was very nice and panel were very friendly also it was a good learning experience for me as i don't have any proffessional experience in iOS development and it was my first ever interview in this field but was kinda dissapointed lol

Alas keep grinding i would be also looking for new opportunities

Comments (3)