i
Zypp Electric
Filter interviews by
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Swap two numbers without using a third variable
Use bitwise XOR operation to swap two numbers without using a third variable
Example: a = 5, b = 10. a = a XOR b, b = a XOR b, a = a XOR b. After swapping, a = 10, b = 5
There are four types of inheritance in Java: single, multilevel, hierarchical, and multiple.
Single inheritance: a class can only inherit from one superclass.
Multilevel inheritance: a class can inherit from a class which is also derived from another class.
Hierarchical inheritance: multiple classes inherit from a single superclass.
Multiple inheritance: a class can inherit from multiple superclasses (not supported in Java
A singleton class in Java is a class that allows only one instance of itself to be created and provides a global point of access to that instance.
Singleton pattern ensures that a class has only one instance and provides a global point of access to it.
The constructor of a singleton class is private to prevent instantiation from outside the class.
The getInstance() method is used to access the single instance of the class...
I applied via Campus Placement
Constraint layout is more flexible and efficient than relative layout.
Constraint layout allows for complex layouts with fewer nested views.
It uses constraints to position and size views relative to other views or parent layout.
Relative layout positions views relative to each other or parent layout using attributes like 'above', 'below', etc.
Constraint layout is recommended for complex layouts with many views.
Relative l...
To find a missing element in an array, iterate through the array and compare each element with a range of expected values.
Sort the array if it is unsorted.
Iterate through the array and compare each element with a range of expected values.
If an element is missing, return it.
If no element is missing, return null or -1.
I applied via Recruitment Consulltant and was interviewed in Mar 2022. There was 1 interview round.
posted on 26 Apr 2023
I applied via Campus Placement and was interviewed before Apr 2022. There were 4 interview rounds.
Intersection of two linked lists is finding the common node(s) between them.
Traverse both lists and compare each node to find the common node(s).
Use a hash table to store the nodes of one list and check for their presence in the other list.
Calculate the length of both lists and move the pointer of the longer list to match the length of the shorter list, then compare each node.
posted on 18 Mar 2024
I applied via Referral and was interviewed before Mar 2023. There was 1 interview round.
Sort and merge two linked lists
Traverse both linked lists simultaneously
Compare the values of nodes and merge them in sorted order
Handle cases where one list is longer than the other
posted on 7 Oct 2024
I applied via Approached by Company and was interviewed in Sep 2024. There was 1 interview round.
There are multiple ways to share data between apps, including using intents, content providers, broadcast receivers, and shared preferences.
Using Intents: Allows apps to send and receive data through an Intent object.
Content Providers: Enable apps to share data with other apps by exposing a structured set of data through a URI.
Broadcast Receivers: Apps can send broadcasts to other apps to share data or events.
Shared Pr...
The app lifecycle includes states like running in the background, onStop, and onRestart.
App running in the background: When the app is not visible but still running, it is in the background state.
onStop state: Occurs when the activity is no longer visible to the user.
onRestart state: Follows onStop and is called when the activity is being re-displayed to the user.
AIDL stands for Android Interface Definition Language, used for inter-process communication in Android development.
AIDL is a tool used to define the programming interface that clients and servers use to communicate with each other in Android.
It allows different Android components to communicate with each other across different processes.
AIDL files define the methods that can be called remotely, along with the data type
JNI stands for Java Native Interface, used to integrate Java code with native code written in languages like C/C++.
Experience in writing Java code that interacts with native code through JNI
Understanding of how to create and use JNI libraries
Knowledge of passing data between Java and native code using JNI functions
A service is a piece of code that performs specific tasks or functions to support the overall functionality of a software application.
Services are often used for tasks such as data processing, communication with external systems, or background tasks.
Examples of services include web services, REST APIs, and microservices.
Services can run independently of the user interface and can be accessed by multiple components with
Threads are independent sequences of execution within a process, while coroutines are cooperative routines that can pause and resume.
Threads are managed by the operating system, while coroutines are managed by the programmer.
Threads run concurrently and can execute in parallel on multiple cores, while coroutines are typically single-threaded.
Threads have their own stack and memory space, while coroutines share the same...
Background tasks in Android can be performed using services, AsyncTask, JobScheduler, or WorkManager.
Use Services for long-running tasks in the background
AsyncTask for short background tasks that need to interact with the UI
JobScheduler for deferrable background tasks that require network connectivity
WorkManager for tasks that need to run reliably across different Android versions
posted on 30 Oct 2023
I applied via Campus Placement and was interviewed before Oct 2022. There were 3 interview rounds.
I was interviewed in Mar 2022.
Round duration - 120 Minutes
Round difficulty - Medium
Machine Coding Round
2 Hours in Total
15 Mins for Question Explaination and Doubts
1.5 Hours for coding
15 mins to discuss the approach
Timing - 3 to 5 pm (They are flexible)
Interviewer was very patient and helped me understand the question
Round duration - 60 Minutes
Round difficulty - Medium
2 Data Strucutre Questions
Timing 5-6 pm (They are flexible)
Google Meet
Online IDE
Given an integer 'N', your task is to compute the number of structurally unique BSTs (binary search trees) that can be formed using an exact number of 'N' uniq...
The task is to compute the number of structurally unique BSTs that can be formed using an exact number of unique values.
Use dynamic programming to solve the problem efficiently.
The number of structurally unique BSTs can be calculated using Catalan numbers.
For N nodes, the number of structurally unique BSTs is given by the Nth Catalan number.
Example: For N=3, the number of structurally unique BSTs is 5.
You are provided with a string 'STR'
that consists of lowercase English letters ranging from 'a' to 'z'. Your task is to determine all non-empty possible subsequen...
Generate all possible subsequences of a given string.
Use recursion to generate all possible subsequences by including or excluding each character in the string.
Maintain a current index to keep track of the characters being considered.
Append the current character to each subsequence generated so far.
Recursively call the function with the next index to include or exclude the next character.
Base case: When the current ind...
Round duration - 60 Minutes
Round difficulty - Easy
HIRING MANAGER ROUND
Discussion about the organisation now questions
Tip 1 : Practice is they to success, every person will need a different path for preparation, the resources that you should use will depend upon your current expertise.
Tip 2 : For Machine Coding Rounds speed is key, you need to practice atleast 20 questions, Try to figure out techniques to common out code, code out your first question, and then spend good 2-3 hours in reducing no of lines and removing redundancy, try to note down methods you used to achieve less redundancy and for all the next questions you practice try to achieve that same quality from the beginning which will automatically increase your speed
Tip 3 : Do company wise preparation, look for interview experiences and try to map out commonly asked questions and categories of those questions and practice accordingly
Tip 1 : If applying for any non FE role (or any role that does not require designing or creative skills) keep a minimalistic resume
Tip 2 : Ensure to add a summary at the top which mentions all the criterias HRs consider while short listing resumes (Experience, Degree and Branch, Languages you have experience in, City, Willingness to Relocate, Notice Period, If already on notice period mention your last working day)
HAckerrank based test
based on 2 interviews
Interview experience
based on 1 review
Rating in categories
Cluster Manager
70
salaries
| ₹0 L/yr - ₹0 L/yr |
Team Lead
53
salaries
| ₹0 L/yr - ₹0 L/yr |
Assistant Manager
25
salaries
| ₹0 L/yr - ₹0 L/yr |
City Head
20
salaries
| ₹0 L/yr - ₹0 L/yr |
HUB Manager
18
salaries
| ₹0 L/yr - ₹0 L/yr |
Bounce
Vogo Automotive
Ather Energy
Revolt Motors