i
Zomato
Filter interviews by
I applied via Naukri.com and was interviewed in Sep 2023. There were 2 interview rounds.
Higher order functions in Swift are functions that can take other functions as parameters or return functions as results.
Higher order functions include map, filter, and reduce in Swift.
They allow for more concise and readable code by abstracting common patterns of code.
Example: map function can be used to transform each element in an array without using a loop.
Static dispatch is determined at compile time, while dynamic dispatch is determined at runtime.
Static dispatch is also known as early binding, while dynamic dispatch is also known as late binding.
Static dispatch is faster as the method to be called is known at compile time, while dynamic dispatch incurs a slight performance overhead as the method to be called is determined at runtime.
In static dispatch, the method to b...
I applied via Hirist and was interviewed in Aug 2024. There was 1 interview round.
I am a Senior Android Developer with 5+ years of experience in building high-quality mobile applications.
5+ years of experience in Android development
Strong knowledge of Java and Kotlin programming languages
Experience in building and maintaining complex mobile applications
Familiarity with design patterns like MVVM and MVP
Proficient in using Android Studio and other development tools
Content providers are components in Android that manage access to a structured set of data. They are used to share data between apps.
Content providers allow apps to securely share data with other apps
They provide a standard interface for querying and modifying data
Content providers are often used to access data from databases or files
Examples include the Contacts Provider for accessing contact information and the Media
A Service is a component that runs in the background to perform long-running operations. A Foreground Service is a Service that has a notification to show the user that it is running.
A Service is used to perform long-running operations in the background, such as playing music in a music player app.
A Foreground Service is a type of Service that has a notification to indicate to the user that it is running and to give it...
Functions to add in an Image Loader library for Senior Android Developer role
Support for loading images from different sources like network, local storage, and resources
Caching mechanism to improve performance and reduce network calls
Ability to handle image loading in different formats like JPEG, PNG, GIF, etc.
Support for placeholder images while the actual image is being loaded
Error handling for failed image loading r...
ConstraintLayout is preferred for its flexibility, efficiency, and ease of use in creating complex layouts.
Allows for creating complex layouts with a flat view hierarchy, improving performance
Supports responsive design with constraints that adapt to different screen sizes
Easier to use and understand compared to other layout options like RelativeLayout
Provides tools like Layout Editor in Android Studio for visual editin
The data structure used to store views in a layout is a tree structure.
Views in a layout are stored in a hierarchical tree structure.
Each view is a node in the tree, with parent-child relationships defining the layout.
Examples include LinearLayout, RelativeLayout, and ConstraintLayout.
I applied via Referral and was interviewed in Aug 2024. There were 2 interview rounds.
Medium question on hashmap
I was interviewed in Jul 2024.
posted on 14 Jan 2022
I was interviewed in Apr 2021.
Round duration - 60 minutes
Round difficulty - Easy
Technical interview round. I was asked 2 DSA problems to discuss and code.
You are provided with a binary array, i.e., an array containing only 0s and 1s. Your task is to sort this binary array and return it after sorting.
The fir...
A two-pointer approach can be used for this question. Maintain two indexes. Initialize the first index left as 0 and second index right as n-1, where n is size of the array .
While left < right , do the following :
a) Keep incrementing index left while arr[left] =0
b) Keep decrementing index right while arr[right]=1
c) If left < right then exchange arr[left] and arr[right]
Given an array arr
of length N
consisting of integers, find the sum of the subarray (including empty subarray) with the maximum sum among all subarrays.
The direct approach to solve this problem is to run two for loops and for every subarray check if it is the maximum sum possible.
Time complexity: O(N^2), Where N is the size of the array.
Space complexity: O(1)
The efficient approach is to use Kadane's algorithm. It calculates the maximum sum subarray ending at a particular index by using the maximum sum subarray ending at the previous position.
Steps :
D...
Round duration - 60 minutes
Round difficulty - Medium
Technical interview round. I was asked questions related to Android and its architecture.
RecyclerView is a UI component which allows us to create a scrolling list. It is basically a new ViewGroup used to render any adapter-based view in horizontal/vertical /grid or staggered grid manner using the Viewholder pattern.
Working : So, let’s say when we are scrolling the list which has 50 items in the collection and we show only 5 items at once in the list. Here, item 1 to item 5 is the ones that are visible on t...
There are three steps to setting up and using a ViewModel:
1. Separate out your data from your UI controller by creating a class that extends ViewModel
2. Set up communications between your ViewModel and your UI controller
3. Use your ViewModel in your UI controller
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
posted on 29 Apr 2022
I applied via Company Website and was interviewed in Mar 2022. There were 2 interview rounds.
Group discussion men's how is working and only one facing the problem i as the problem
I applied via Recruitment Consulltant and was interviewed in Jul 2024. There was 1 interview round.
Generics in Kotlin and Java can be used interchangeably, but there are some differences in syntax and features.
Kotlin supports declaration-site variance, while Java supports use-site variance.
In Kotlin, you can use reified generics with inline functions, which is not possible in Java.
Kotlin has nullable types by default, while in Java you need to use wildcards for similar behavior.
posted on 15 Apr 2021
I applied via Referral and was interviewed in Oct 2020. There was 1 interview round.
Questions on data structure, algorithm, and Android development.
To find maximum sum subarray, use Kadane's algorithm
To separate zeroes and ones in array, use two pointers approach
ViewModel is a class that stores and manages UI-related data
RecyclerView is a flexible view for providing a limited window into a large data set
To implement ViewModel, extend ViewModel class and override onCleared() method
I applied via Referral and was interviewed in Aug 2024. There was 1 interview round.
Lifecycle methods of activity are callback methods that allow you to manage the state of an activity throughout its lifecycle.
onCreate() - called when the activity is first created
onStart() - called when the activity is becoming visible to the user
onResume() - called when the activity will start interacting with the user
onPause() - called when the activity is going into the background, but is still visible
onStop() - ca...
An inline function is a function that is expanded in place at the point of call, rather than being called as a separate function.
Inline functions are typically used for small, frequently called functions to reduce the overhead of function calls.
They are defined with the 'inline' keyword in C++.
Inline functions can improve performance by avoiding the overhead of function call stack operations.
Example: inline int square(
Interview experience
Delivery Boy
1k
salaries
| ₹0.4 L/yr - ₹5.4 L/yr |
Key Account Manager
902
salaries
| ₹4.5 L/yr - ₹14.2 L/yr |
Business Analyst
516
salaries
| ₹5 L/yr - ₹16 L/yr |
Accounts Manager
297
salaries
| ₹4 L/yr - ₹13.2 L/yr |
Senior Associate
274
salaries
| ₹3.2 L/yr - ₹11 L/yr |
Swiggy
Amazon
Dunzo
Flipkart