Filter interviews by
I applied via Naukri.com and was interviewed in Jan 2024. There were 2 interview rounds.
Android is an open-source mobile operating system developed by Google for smartphones, tablets, and other devices.
Developed by Google
Based on the Linux kernel
Supports a wide range of applications and games
Customizable user interface
Example: Samsung Galaxy S21 runs on Android
Services are used in Android to perform long-running operations in the background without affecting the user interface.
Services help in running tasks in the background even when the app is not in the foreground.
They can be used for tasks like playing music, downloading files, or fetching data from a server.
Services can be started or bound to activities based on the requirements of the app.
Job scheduler is a component in Android that allows you to schedule tasks to be run at specified times or intervals.
Job scheduler is used to schedule background tasks that need to be run periodically or under certain conditions.
It helps in optimizing battery life by grouping tasks and running them when the device is idle.
You can set constraints like network availability, charging status, and device idle state for the s...
To play music in background on Android, use a Service class to handle playback and manage audio focus.
Create a Service class to handle music playback in the background.
Request audio focus to ensure your app can play music even when other apps are using audio.
Use MediaPlayer or ExoPlayer to play audio files.
Handle media controls and notifications to allow users to control playback from the notification shade.
Top trending discussions
I applied via Naukri.com and was interviewed before Nov 2020. There was 1 interview round.
posted on 23 Jan 2022
I applied via Naukri.com and was interviewed in Jul 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Jan 2021. There were 3 interview rounds.
I applied via Referral and was interviewed in Jun 2021. There were 3 interview rounds.
I applied via Internshala and was interviewed in May 2021. There were 3 interview rounds.
Discussing my resume highlights my skills, experiences, and projects relevant to the software engineering role.
Experience with Java and Python in developing web applications.
Led a team project that improved application performance by 30%.
Contributed to open-source projects, enhancing my coding skills and collaboration.
Completed an internship at XYZ Corp, where I developed a feature that increased user engagement.
I appeared for an interview before Dec 2020.
Round duration - 100 Minutes
Round difficulty - Medium
You are provided with a singly linked list and an integer K
. The objective is to make the Kth
node from the end of the linked list the starting node of the linked list.
Given a singly linked list and an integer K, rearrange the list such that the Kth node from the end becomes the starting node.
Traverse the linked list to find the length and the Kth node from the end.
Update the pointers to rearrange the list accordingly.
Handle edge cases like K being equal to 1 or the length of the list.
Given a string 'STR' consisting solely of the characters “{”, “}”, “(”, “)”, “[” and “]”, determine if the parentheses are balanced.
The first line contains an...
Check if given strings containing parentheses are balanced or not.
Use a stack to keep track of opening parentheses
Iterate through the string and push opening parentheses onto the stack
When a closing parentheses is encountered, pop from the stack and check if it matches the corresponding opening parentheses
If stack is empty at the end and all parentheses are matched, the string is balanced
Round duration - 120 Minutes
Round difficulty - Medium
You are provided with a sorted dictionary (by lexical order) in an alien language. Your task is to determine the character order of the alien language from this dictiona...
Given a sorted alien dictionary in an array of strings, determine the character order of the alien language.
Iterate through the dictionary to build a graph of character dependencies based on adjacent words.
Perform a topological sort on the graph to determine the character order.
Return the character array representing the order of characters in the alien language.
You are given an array/list CHOCOLATES
of size 'N', where each element represents the number of chocolates in a packet. Your task is to distribute these chocolates among 'M'...
Distribute chocolates among students to minimize the difference between the largest and smallest number of chocolates.
Sort the array of chocolates in ascending order.
Iterate through the array and find the minimum difference between the elements by considering 'M' elements at a time.
Return the minimum difference found as the result.
Round duration - 120 Minutes
Round difficulty - Medium
You are provided with a square matrix of non-negative integers of size 'N x N'
. The task is to rotate this matrix by 90 degrees in an anti-clockwise directi...
Rotate a square matrix by 90 degrees anti-clockwise without using extra space.
Iterate through each layer of the matrix from outer to inner layers
Swap elements in groups of 4 to rotate them in place
Handle odd-sized matrices separately by adjusting the loop boundaries
Given a binary string S
of length N
where initially all characters are '1', perform exactly M
operations, choosing from four specific operations, and determine how many dis...
Count the number of distinct final strings possible after performing a given number of operations on a binary string.
Iterate through all possible combinations of operations to determine the final string after each operation.
Use bitwise operations to efficiently flip the bits based on the chosen operation.
Keep track of distinct final strings using a set data structure.
Return the size of the set as the number of distinct...
Round duration - 120 Minutes
Round difficulty - Medium
Given a list of integers of size N
, your task is to determine the Next Greater Element (NGE) for every element. The Next Greater Element for an element X
is the firs...
Find the Next Greater Element for each element in a list of integers.
Iterate through the list of integers from right to left.
Use a stack to keep track of elements for which the Next Greater Element is not yet found.
Pop elements from the stack until a greater element is found or the stack is empty.
Assign the Next Greater Element as the top element of the stack or -1 if the stack is empty.
Tip 1 : Practice Medium level question.
Tip 2 : Do atleast 2 projects
Tip 3 : More Focus on your Communication skill
Tip 1 : Full Command on your resume and make short atleast 1 page with normal color and font.
Tip 2 : Have mentioned some good projects on resume.
I appeared for an interview in Dec 2020.
Round duration - 40 minutes
Round difficulty - Easy
Given an integer array ARR
of size N
, your task is to find the total number of subsequences in which all elements are equal.
A subsequence of an array i...
Count the total number of subsequences in which all elements are equal in an integer array.
Iterate through the array and count the frequency of each element.
Calculate the total number of subsequences for each element using the formula (frequency * (frequency + 1) / 2).
Sum up the total number of subsequences for all elements and return the result modulo 10^9 + 7.
Tip 1 : Do practice as much as you can
Tip 2 : Coding is key to crack
Tip 1 : It should look nice
Tip 2 : Skills should be mentioned properly
I applied via Company Website and was interviewed in Jan 2021. There were 3 interview rounds.
based on 2 interview experiences
Difficulty level
Duration
based on 12 reviews
Rating in categories
Software Developer
7
salaries
| ₹2.4 L/yr - ₹7.2 L/yr |
Programmer Analyst
5
salaries
| ₹2.4 L/yr - ₹4 L/yr |
Web Developer
5
salaries
| ₹2.7 L/yr - ₹6 L/yr |
Full Stack Developer
5
salaries
| ₹2.8 L/yr - ₹4.1 L/yr |
Mobile Application Developer
4
salaries
| ₹4.9 L/yr - ₹16 L/yr |
TCS
Wipro
Infosys
LTIMindtree