Filter interviews by
I applied via Naukri.com and was interviewed in Apr 2023. There were 2 interview rounds.
A singleton class is a class that can only have one instance created throughout the application.
Ensure the class has a private constructor to prevent external instantiation.
Provide a static method to access the single instance of the class.
Use a static variable to hold the single instance of the class.
Example: public class Singleton { private static Singleton instance = new Singleton(); private Singleton() {} public st...
A singleton class is a class that can only have one instance created at a time.
Ensure the class has a private constructor to prevent external instantiation.
Provide a static method to access the single instance of the class.
Use a static variable to hold the single instance of the class.
Top trending discussions
posted on 28 Feb 2024
The first round was an aptitude test. There were 30 questions with 1 marks for each.
After being selected from the first round the second round was the Coding test there were 6 sets and 1 set had 3 questions. they told me to do it in an online compiler without an internet connection.
posted on 8 Mar 2024
I applied via Campus Placement and was interviewed in Feb 2024. There were 4 interview rounds.
30min Pseudo Code,Ratio and Proportion
1 hour Array,HashMap
Program to check if a string is an Anagram or not
Create a function that takes in two strings as input
Sort the characters in both strings and compare if they are equal
Return true if they are anagrams, false otherwise
To connect MongoDB with a database, you need to use the MongoDB URI and a MongoDB client library.
Use the MongoDB URI to specify the connection details such as host, port, username, password, and database name
Install a MongoDB client library like Mongoose for Node.js or pymongo for Python
Use the client library to establish a connection to the MongoDB database and perform CRUD operations
An event listener is a function that waits for a specific event to occur and then triggers a response.
Event listeners are commonly used in web development to handle user interactions like clicks, keypresses, etc.
They are attached to specific elements and listen for events to occur on those elements.
Once the event occurs, the listener executes a callback function to respond to the event.
Example: Adding a click event lis...
Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: Inheritance in object-oriented programming languages like Java allows for polymorphism.
Use two pointers to swap characters in place
Initialize two pointers, one at the beginning of the string and one at the end
Swap characters at the two pointers and move them towards each other until they meet or cross
Repeat the process until the entire string is reversed
Use bitwise XOR operation to find the missing number in O(N) time complexity.
Iterate through the array and XOR all the elements with their indices and the array length.
The missing number will be the result of XORing all the elements with their indices and the array length.
posted on 9 Jun 2024
Practice atleast 20 questions for every topic.
posted on 20 May 2021
I applied via Referral and was interviewed in Nov 2020. There were 4 interview rounds.
posted on 22 Aug 2022
3 Question based on strings, array & LinkedList
posted on 20 Nov 2022
I applied via LinkedIn
They asked five problems. We need to solve atleast three problems out of five.
They asked ten questions related to reasoning and quantitative aptitude.We need to solve atleast 7 out of 10.
posted on 6 Nov 2023
I applied via LinkedIn and was interviewed before Nov 2022. There were 4 interview rounds.
Based on the project need to complete the task!
posted on 9 May 2025
I appeared for an interview before May 2024, where I was asked the following questions.
I have worked on various software projects, including web applications, mobile apps, and backend systems using diverse technologies.
E-commerce Platform: Developed a full-stack e-commerce application using Java Spring Boot for the backend and React for the frontend, implementing features like user authentication and payment processing.
Mobile App Development: Created a cross-platform mobile application using Flutter that...
posted on 31 May 2022
I appeared for an interview in Sep 2021.
Round duration - 150 Minutes
Round difficulty - Medium
3 coding question + 50 dsa
Given an array/list 'ARR' consisting of 'N' integers, your task is to find the majority element in the array. If there is no majority element present, return -1.
Find the majority element in an array, return -1 if no majority element exists.
Iterate through the array and keep track of the count of each element using a hashmap.
Check if any element's count is greater than floor(N/2) to determine the majority element.
Return the majority element or -1 if no majority element exists.
You are provided with an arbitrary binary tree consisting of 'N' nodes where each node is associated with a certain value. The task is to determine the height of the tree.
Calculate the height of a binary tree given its level order traversal.
Traverse the binary tree level by level and keep track of the height as you go down the tree.
Use a queue data structure to perform level order traversal efficiently.
The height of a binary tree is the maximum number of edges from the root to any leaf node.
Handle NULL nodes represented by -1 in the input.
Return the height of the binary tree as a single...
You are provided with a 2-dimensional matrix having N
rows and M
columns, containing only 1s (land) and 0s (water). Your goal is to determine the number of islands in t...
Count the number of islands in a 2D matrix of 1s and 0s.
Use Depth First Search (DFS) or Breadth First Search (BFS) to traverse the matrix and count the number of connected components.
Maintain a visited array to keep track of visited cells to avoid counting the same island multiple times.
Iterate through each cell in the matrix and if it is a land (1) and not visited, perform DFS/BFS to explore the connected land cells.
I...
Round duration - 60 Minutes
Round difficulty - Hard
2 coding questions
You are given 'N' pairs of integers where the first number is always smaller than the second number, i.e., in pair (a, b) -> a < b always. A pair chain is...
Find the length of the longest pair chain that can be formed using the given pairs.
Sort the pairs based on the second element in ascending order.
Iterate through the sorted pairs and keep track of the maximum chain length.
Update the chain length if the current pair can be added to the chain.
Return the maximum chain length at the end.
You are given an array prices
, representing stock prices over N consecutive days. Your goal is to compute the maximum profit achievable by performing multiple transactions (i...
Find maximum profit by buying and selling stocks multiple times.
Iterate through the array and find all increasing sequences of stock prices.
Calculate profit by buying at the start and selling at the end of each increasing sequence.
Sum up all profits to get the maximum profit achievable.
Round duration - 45 minutes
Round difficulty - Medium
Data structures,java script,web dev related questions,dbms questions
Designing a web crawler involves defining the scope, selecting a crawling strategy, implementing the crawler, handling data storage, and ensuring politeness.
Define the scope of the web crawler by determining the websites to crawl and the depth of the crawl.
Select a crawling strategy such as breadth-first or depth-first search based on the requirements.
Implement the web crawler using a programming language like Python o...
Tip 1 : Practice Atleast 250 Questions
Tip 2 : Do atleast 2 projects
Tip 3 : practice basics of dsa
Tip 1 : show your projects
Tip 2 : highlight your skills
based on 1 interview experience
Difficulty level
Duration
Salesforce Developer
40
salaries
| ₹3 L/yr - ₹12.3 L/yr |
Senior Associate
37
salaries
| ₹8.6 L/yr - ₹35.5 L/yr |
Associate
33
salaries
| ₹8.3 L/yr - ₹15.9 L/yr |
Senior IT Analyst
15
salaries
| ₹5 L/yr - ₹11.2 L/yr |
Senior Software Engineer
13
salaries
| ₹13.7 L/yr - ₹26.2 L/yr |
Medcode
Cyfuture
Maxgen Technologies
JoulestoWatts Business Solutions