Filter interviews by
Top trending discussions
posted on 9 Dec 2024
The Two Sum problem involves finding two numbers in an array that add up to a given target value.
Iterate through the array and store the difference between the target and current element in a hashmap
Check if the current element exists in the hashmap, if yes return the indices
Time complexity can be reduced to O(n) using a hashmap
Reverse a singly linked list and return the reversed list.
Iterate through the linked list and reverse the pointers to point to the previous node instead of the next node.
Use three pointers to keep track of the current, previous, and next nodes while reversing the list.
Update the head of the list to be the last node after reversing.
Find the longest palindromic substring in a given string.
Iterate through each character in the string and expand around it to find palindromes
Use dynamic programming to optimize the solution
Consider both odd and even length palindromes
SQL statements are used to interact with databases by performing operations like querying, updating, and deleting data.
SQL statements are made up of keywords like SELECT, INSERT, UPDATE, DELETE, etc.
They are structured in a specific order, with clauses like WHERE, ORDER BY, GROUP BY, etc.
Tables are referenced using their names, and conditions are specified to filter data.
Joins can be used to combine data from multiple
I applied via Recruitment Consultant and was interviewed before May 2020. There were 3 interview rounds.
Clone a linked list with random pointers.
Create a new node for each node in the original list.
Store the mapping between the original and cloned nodes in a hash table.
Traverse the original list again and set the random pointers in the cloned list using the hash table.
Return the head of the cloned list.
I applied via campus placement at BRACT's Vishwakarma Institute of Information Technology, Pune and was interviewed in Oct 2024. There was 1 interview round.
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.
It enables a single interface to be used for different data types or classes.
Examples include method overloading and method overriding in object-oriented programming.
Find missing number from nth number array.
Iterate through the array and calculate the sum of all numbers
Calculate the sum of numbers from 1 to n using the formula n*(n+1)/2
Subtract the sum of array from the sum of numbers from 1 to n to find the missing number
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Inheritance allows a class to reuse code from another class.
Types of inheritance include single inheritance, where a class inherits from only one parent class, and multiple inheritance, where a class inherits from multiple parent classes.
Example: Class B inherits from Class A, so Class B can access
Find 2nd max element from array of strings
Sort the array in descending order
Skip the first element (max element)
Return the second element
posted on 23 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There were 5 interview rounds.
Easy Level DS Questions - 30 mins
A comprehensive coding test which included job role simulation.
Advanced Cloud Services questions
I am a Senior Software Developer with 8 years of experience in full-stack development, specializing in Java and Angular.
8 years of experience in full-stack development
Specialize in Java and Angular
Strong problem-solving skills
Experience working in agile environments
posted on 9 Dec 2024
The Two Sum problem involves finding two numbers in an array that add up to a given target value.
Iterate through the array and store the difference between the target and current element in a hashmap
Check if the current element exists in the hashmap, if yes return the indices
Time complexity can be reduced to O(n) using a hashmap
Reverse a singly linked list and return the reversed list.
Iterate through the linked list and reverse the pointers to point to the previous node instead of the next node.
Use three pointers to keep track of the current, previous, and next nodes while reversing the list.
Update the head of the list to be the last node after reversing.
Find the longest palindromic substring in a given string.
Iterate through each character in the string and expand around it to find palindromes
Use dynamic programming to optimize the solution
Consider both odd and even length palindromes
I was interviewed in Nov 2022.
Strong appitude knowledge is required.
I applied via Referral and was interviewed in Feb 2020. There were 6 interview rounds.
based on 1 interview
Interview experience
based on 2 reviews
Rating in categories
Software Engineer
16
salaries
| ₹2 L/yr - ₹4 L/yr |
Softwaretest Engineer
7
salaries
| ₹1.7 L/yr - ₹3.8 L/yr |
Implementation Engineer
7
salaries
| ₹2 L/yr - ₹4 L/yr |
Software Developer
5
salaries
| ₹1.8 L/yr - ₹2.4 L/yr |
Software Testing Engineer
4
salaries
| ₹1.7 L/yr - ₹3.8 L/yr |
TCS
Infosys
Wipro
HCLTech