i
TO THE NEW
Filter interviews by
I applied via LinkedIn and was interviewed in Aug 2022. There were 4 interview rounds.
Basic aptitude ,logical and cs fundamental questions.
Bubble sort algorithm sorts an array by repeatedly swapping adjacent elements if they are in wrong order.
Compare adjacent elements and swap them if they are in wrong order
Repeat this process until the array is sorted
Time complexity is O(n^2)
Space complexity is O(1)
Example: ['apple', 'banana', 'orange', 'grape'] -> ['apple', 'banana', 'grape', 'orange']
Check for balanced parenthesis in a string.
Use a stack to keep track of opening parenthesis
If a closing parenthesis is encountered, pop from stack and check if it matches
If stack is empty at the end, the string has balanced parenthesis
I applied via Campus Placement and was interviewed in Nov 2021. There were 4 interview rounds.
Top trending discussions
I applied via Approached by Company and was interviewed before Nov 2021. There were 3 interview rounds.
There are multiple ways to iterate over a HashMap in Java.
Using keySet() and values() methods
Using entrySet() method
Using forEach() method with lambda expression
Method overriding in Java with code example
Output will be 'Child class method' as the method in Child class overrides the method in Parent class
Method overriding is a feature that allows a subclass to provide a specific implementation of a method that is already provided by its superclass
The method in the subclass should have the same name, return type, and parameters as the method in the superclass
API to save data in Java
Use HTTP POST method to send data to the server
Create a RESTful endpoint to handle the data saving
Validate the input data before saving it to the database
posted on 11 Jun 2024
Finding common characters in 3 strings using coding
Create a function that takes in 3 strings as input
Iterate through each character of the first string and check if it exists in the other 2 strings
Store the common characters in an array and return it
To fetch all duplicate values from an array of strings
Iterate through the array and store each element in a HashSet
If an element is already in the HashSet, it is a duplicate value
Add the duplicate values to a separate list and return it
Contiguous array in java
I applied via Recruitment Consulltant and was interviewed in Mar 2024. There was 1 interview round.
Display a list of items using Pagination concept in React
Create a list of items to display
Implement pagination logic to display a limited number of items per page
Add navigation buttons to switch between pages
Check if pair sum exists in the array using a hash map.
Use a hash map to store the difference between the target sum and each element in the array.
Iterate through the array and check if the current element exists in the hash map.
Return true if a pair sum exists, otherwise return false.
Improving website performance involves optimizing code, reducing server requests, using caching, and optimizing images.
Optimize code by minifying CSS, JavaScript, and HTML
Reduce server requests by combining files and using asynchronous loading
Utilize caching techniques like browser caching and server-side caching
Optimize images by resizing, compressing, and using modern image formats like WebP
NextJS is a React framework that allows for server-side rendering and static site generation.
NextJS is built on top of React, providing features like server-side rendering and static site generation.
It simplifies the process of building React applications by handling routing, code splitting, and more out of the box.
NextJS also supports API routes for serverless functions and data fetching.
It offers features like automa...
I applied via Recruitment Consulltant and was interviewed before Jun 2023. There were 2 interview rounds.
Construct binary tree from expression
Senior Software Engineer
614
salaries
| ₹9 L/yr - ₹27.5 L/yr |
Software Engineer
568
salaries
| ₹3.5 L/yr - ₹13.8 L/yr |
Associate Technical Leader
219
salaries
| ₹13.8 L/yr - ₹36 L/yr |
Senior Quality Engineer
178
salaries
| ₹7 L/yr - ₹22.5 L/yr |
Devops Engineer
161
salaries
| ₹4.5 L/yr - ₹14 L/yr |
ITC Infotech
CMS IT Services
KocharTech
Xoriant