Filter interviews by
Resolved project challenges through effective problem-solving techniques.
Identified the root cause of the challenges
Collaborated with team members to brainstorm solutions
Implemented appropriate strategies to overcome obstacles
Tested and validated the implemented solutions
Documented the resolution process for future reference
OOPs concepts are the fundamental principles of Object-Oriented Programming.
Encapsulation - binding data and methods together
Inheritance - reusing code and creating a hierarchy of classes
Polymorphism - ability of objects to take on many forms
Abstraction - hiding implementation details and showing only necessary information
Reverse a given string using Java programming language.
Create a new empty string
Iterate through the original string from end to start
Append each character to the new string
Return the new string
WAP to collect all even no in list using stream API
Use stream() method to convert list to stream
Use filter() method to filter even numbers
Use collect() method to collect filtered numbers into a list
Core string concepts include immutability, string manipulation, and string comparison.
Strings in Java are immutable, meaning they cannot be changed once created.
String manipulation can be done using various methods like concatenation, substring, and replace.
String comparison can be done using equals() method for content comparison and == operator for reference comparison.
Spring Boot has various annotations for different purposes.
SpringBootApplication - marks the main class of the application
RestController - marks a class as a RESTful controller
Autowired - marks a constructor, field, or setter method to be autowired by Spring
GetMapping/PostMapping/PutMapping/DeleteMapping - maps HTTP requests to methods
Component - marks a class as a Spring component
Service - marks a class as a serv...
I applied via Approached by Company and was interviewed before Dec 2022. There were 3 interview rounds.
Theory plus coding questions
Resolved project challenges through effective problem-solving techniques.
Identified the root cause of the challenges
Collaborated with team members to brainstorm solutions
Implemented appropriate strategies to overcome obstacles
Tested and validated the implemented solutions
Documented the resolution process for future reference
I resolved a difficult situation in a project by facilitating open communication and collaboration within the team.
Encouraged team members to openly discuss their concerns and perspectives
Facilitated brainstorming sessions to come up with solutions together
Assigned tasks based on team members' strengths and expertise
Implemented regular check-ins to monitor progress and address any issues promptly
Core string concepts include immutability, string manipulation, and string comparison.
Strings in Java are immutable, meaning they cannot be changed once created.
String manipulation can be done using various methods like concatenation, substring, and replace.
String comparison can be done using equals() method for content comparison and == operator for reference comparison.
I applied via Naukri.com and was interviewed before Feb 2022. There were 4 interview rounds.
Spring Boot has various annotations for different purposes.
SpringBootApplication - marks the main class of the application
RestController - marks a class as a RESTful controller
Autowired - marks a constructor, field, or setter method to be autowired by Spring
GetMapping/PostMapping/PutMapping/DeleteMapping - maps HTTP requests to methods
Component - marks a class as a Spring component
Service - marks a class as a service l...
Top trending discussions
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.
Switch case is used for multiple conditions while if else is for binary conditions. Sorting can be done using various algorithms.
Switch case is faster than if else for multiple conditions
If else is more readable for binary conditions
Sorting can be done using bubble sort, insertion sort, quick sort, etc.
Example code for bubble sort: for(i=0;i
Difference between compiler and interpreter with a coding challenge
Compiler translates the entire code into machine language before execution while interpreter translates line by line during execution
Compiler generates an executable file while interpreter does not
Compiler is faster but debugging is harder while interpreter is slower but debugging is easier
Coding challenge: Write a program to find the sum of two numbers...
I appeared for an interview in Sep 2020.
Round duration - 90 minutes
Round difficulty - Medium
In this round, there were 2 sections one for aptitude another for coding. The coding section consists of 2 questions and one has to attempt any one of them. And webcam will be active through all the assessment process.
You are tasked with finding the sum of squares of the first N
natural numbers for given test cases.
The first line contains an integer ...
Calculate the sum of squares of the first N natural numbers for given test cases.
Read the number of test cases 'T'
For each test case, read the value of 'N'
Calculate the sum of squares of the first 'N' natural numbers
Output the result for each test case
Round duration - 45 minutes
Round difficulty - Medium
2 questions were asked in this section out of which we have to answer anyone
You are tasked with finding the sum of squares of the first N
natural numbers for given test cases.
The first line contains an integer ...
Calculate the sum of squares of the first N natural numbers for given test cases.
Read the number of test cases 'T'
For each test case, read the value of 'N'
Calculate the sum of squares of the first 'N' natural numbers
Output the result for each test case
Round duration - 30 minutes
Round difficulty - Medium
It was a problem solving round and only one coding question was asked
Given a string STR
containing characters from [a-z], [A-Z], [0-9], and special characters, determine the reverse of the string.
The input starts with a single i...
Reverse a given string containing characters from [a-z], [A-Z], [0-9], and special characters.
Iterate through the characters of the string from end to start and append them to a new string to get the reversed string.
Use built-in functions like reverse() or StringBuilder in languages like Python or Java for efficient reversal.
Ensure to handle special characters and numbers while reversing the string.
Consider edge cases ...
Tip 1 : First go through your own resume very well as most of the company first ask questions from one's resume. Prepare what to say if they ask you about the projects you mentioned in your resume that's why never fake your resume. Be confident with what you have
Tip 2 : Obviously if you are applying for software developer role you should have basic concepts of the programming languages you learned in your college days like C, C++, Java etc if you don't know a little too then I suggest you to learn some basics first in any particular language and then practice them in IDE. As now most of the interviews are virtual so it's good to practice writing code in IDE as they often can ask you to solve some basci questions like string reversal, check palindrome or not like that.
Tip 3 : You should have good communication skill. Good communication doesn't mean fluent english communication means interact with the receuiter in such a manner that he can understand the point you are trying to mark. Be confident, don't lie in any ways if you don't have correct answe for a question and you know that directly say NO you don't know this answer rather than replying with stupid answers and other side recruiter gets a little bit disappointed as you wasted some times of him for this kind of answer. If you know the answer instead of saying fluently try to speak the sentences with a little pause that makes recruiter understand that you really understand the topic you are talking about and that will be impressive.
Tip 1 : Don't fake your resume
Tip 2 : Try to do good projects and mention them in resume
Tip 3 : As a fresher I suggest to prepare a resume of maximum
2 pages.
I applied via Campus Placement and was interviewed before Sep 2021. There were 3 interview rounds.
It was from college placement, basic question such as relative velocity, ratio and proportion, unitary method and 2 programmin question
Don't remember it was 2 years ago
I applied via Naukri.com and was interviewed before Sep 2019. There were 6 interview rounds.
I appeared for an interview before Aug 2016.
I am a software developer with experience in various programming languages and frameworks.
Proficient in Java, C++, and Python
Familiar with web development using HTML, CSS, and JavaScript
Experience with database management systems such as MySQL and MongoDB
Strong problem-solving and analytical skills
Worked on projects involving machine learning and artificial intelligence
Method overloading is having multiple methods with the same name but different parameters. Method overriding is having a subclass method with the same name and parameters as a superclass method.
Method overloading is used to provide different ways of calling the same method with different parameters.
Method overriding is used to provide a specific implementation of a method in a subclass that is already defined in the su...
Switch case is used for multiple conditions while if else is used for binary conditions.
Switch case is faster than if else for multiple conditions.
If else can handle complex conditions while switch case cannot.
Switch case can only compare values of the same data type.
If else can handle null values while switch case cannot.
Example: switch (day) { case 1: console.log('Monday'); break; case 2: console.log('Tuesday'); brea...
Interface and abstract class are both used for abstraction in object-oriented programming.
An interface is a collection of abstract methods that define a contract for a class to implement.
An abstract class is a class that cannot be instantiated and may contain abstract methods.
Interfaces are used to achieve multiple inheritance in Java.
Abstract classes can have non-abstract methods and instance variables.
An example of a...
Polymorphism is the ability of an object to take on many forms.
It allows objects of different classes to be treated as if they were objects of the same class.
It is achieved through method overriding and method overloading.
Example: A shape class can have multiple subclasses like circle, square, etc. and all can be treated as shapes.
Example: A method can have different implementations in different classes but with the sa...
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows code reusability and saves time and effort in writing new code.
The existing class is called the parent or base class, and the new class is called the child or derived class.
The child class inherits all the properties and methods of the parent class and can also add its ...
Default case in switch case statement
Default case is executed when no other case matches the switch expression
It is optional and can be placed anywhere in the switch statement
It is often used to handle unexpected input or errors
It should always be the last case in the switch statement
I am a passionate software developer with a strong background in web development and a love for problem-solving.
Experienced in HTML, CSS, JavaScript, and various web development frameworks
Proficient in backend development using languages like Java, Python, and Node.js
Familiar with database management systems such as MySQL and MongoDB
Strong problem-solving skills and ability to work well in a team environment
I tend to get overly focused on details, which can sometimes slow down my progress.
I have a tendency to spend too much time on perfecting small details
I sometimes struggle with prioritizing tasks due to my focus on details
I am working on improving my time management skills to balance detail-oriented work with efficiency
Yes, I have received offers from two other companies.
Received offers from Company A and Company B
Currently evaluating all offers to make an informed decision
Considering factors like company culture, growth opportunities, and compensation
I would like to join Google because of their innovative projects and work culture.
Google is known for its cutting-edge technology and innovative projects.
They have a strong focus on employee well-being and work-life balance.
Google offers opportunities for career growth and development.
The company has a diverse and inclusive work culture.
Google is a leader in the tech industry with a global presence.
Yes, I have worked in multiple teams in various projects.
Worked in a team of developers to create a new software application
Collaborated with designers, testers, and project managers to meet project deadlines
Participated in daily stand-up meetings to discuss progress and roadblocks
Yes, they are similar.
All 8 metal balls are of the same material.
They have the same size and weight.
They have the same physical properties.
They are interchangeable in any given situation.
based on 4 interview experiences
Difficulty level
Duration
based on 4 reviews
Rating in categories
Senior Engineer
6.2k
salaries
| ₹6 L/yr - ₹13.2 L/yr |
Engineer
4.8k
salaries
| ₹4 L/yr - ₹8 L/yr |
Technical Lead
2.3k
salaries
| ₹13.5 L/yr - ₹23.5 L/yr |
Project Lead
1.6k
salaries
| ₹10.3 L/yr - ₹18 L/yr |
Software Engineer
1.5k
salaries
| ₹3.9 L/yr - ₹9 L/yr |
LTIMindtree
DXC Technology
Mphasis
EXL Service