i
NICE
Filter interviews by
There is aptitude+DBMS+OS+coding online test round
Mirror image of a binary tree involves swapping the left and right children of each node.
Start with the root node and recursively swap the left and right children of each node.
Repeat this process for all nodes in the binary tree.
The resulting tree will be the mirror image of the original binary tree.
I applied via LinkedIn and was interviewed in Aug 2024. There were 2 interview rounds.
Focus on operating systems, dbms and oops
Focus on data structures and algorithms
posted on 22 May 2022
I applied via LinkedIn and was interviewed before May 2021. There was 1 interview round.
Design a traffic signal system
Identify the number of lanes and intersections
Determine the traffic flow and peak hours
Choose appropriate sensors and controllers
Implement a synchronization algorithm
Consider emergency vehicle prioritization
Include pedestrian crossing signals
Ensure compliance with local regulations
Hashmap is a data structure that stores key-value pairs and provides constant time complexity for insertion, deletion, and retrieval.
Hashmap uses hashing function to map keys to indices in an array
Collisions can occur when multiple keys map to the same index, which can be resolved using separate chaining or open addressing
Java implementation: HashMap<String, Integer> map = new HashMap<>();
Printing patterns using code
Identify the pattern to be printed
Use loops to print the pattern
Adjust the loop variables to control the pattern
Use conditional statements to modify the pattern
Examples: printing stars, triangles, squares, etc.
Common point in linked list refers to the node where two or more linked lists intersect.
The common point can be found by traversing both linked lists and comparing the nodes.
The common point can also be found by using two pointers, one for each linked list, and moving them until they meet at the common point.
Examples include finding the intersection point of two linked lists or finding the loop in a linked list.
What people are saying about NICE
I appeared for an interview before Sep 2020.
Round duration - 120 Minutes
Round difficulty - Easy
The round was conducted in day around 3PM.
Given an array ARR
consisting of 'N' positive integers, determine if it is possible to partition the array into two subsets such that the sum of the elements in both sub...
The problem is to determine if it is possible to partition an array into two subsets with equal sum.
Use dynamic programming to solve this problem efficiently.
Create a 2D array to store the results of subproblems.
Check if the sum of the array is even before attempting to partition it.
Iterate through the array and update the 2D array based on the sum of subsets.
Return true if a subset with half the sum is found, false ot...
Round duration - 30 Minutes
Round difficulty - Easy
The interview was preponed and was conducted at 9AM.
The interviewer was friendly and I had saw him earlier at pre-placement talk.
Given a string STR
, your task is to remove spaces from STR
and convert it to Pascal case format. The function should return the modified STR
.
In Pascal case, words are con...
Convert a given string to Pascal case format by removing spaces and capitalizing the first letter of each word.
Iterate through each character in the string
If the character is a space, skip it
If the character is not a space and the previous character is a space or it is the first character, capitalize it
SQL query to retrieve the Nth highest salary from a database
Use the ORDER BY clause to sort salaries in descending order
Use the LIMIT clause to retrieve the Nth highest salary
Consider handling cases where there might be ties for the Nth highest salary
Round duration - 30 Minutes
Round difficulty - Easy
This round was conducted 15mins after 1st round.
You are given a singly Linked List with 'N' nodes containing integer data and an integer 'K'. Your task is to delete the Kth node from the end of this Lin...
Remove the Kth node from the end of a singly linked list.
Traverse the list to find the length 'N'.
Calculate the position of the node to be removed from the beginning as 'N - K + 1'.
Remove the node at the calculated position.
Handle edge cases like removing the head or tail of the list.
Update the pointers accordingly after removal.
Tip 1 : Do Competitive Coding
Tip 2 : Learn at least 1 framework
Tip 3 : Build interest in computers
Tip 1 : Be well informed of everything you mention in your resume
Tip 2 : Mention competitive coding achivements in your resume(if any)
I applied via LinkedIn and was interviewed in May 2021. There were 4 interview rounds.
I applied via LinkedIn and was interviewed in Apr 2021. There were 4 interview rounds.
I applied via Company Website and was interviewed before Jul 2021. There were 2 interview rounds.
Data Structure related questions
posted on 21 Apr 2021
I applied via Naukri.com
based on 3 interview experiences
Difficulty level
Duration
based on 18 reviews
Rating in categories
Software Engineer
287
salaries
| ₹10.5 L/yr - ₹17.3 L/yr |
Senior Software Engineer
228
salaries
| ₹19.1 L/yr - ₹31.5 L/yr |
Technical Lead
161
salaries
| ₹16.2 L/yr - ₹28.6 L/yr |
Software Engineering Specialist
134
salaries
| ₹25 L/yr - ₹44 L/yr |
Software Engineer and Technical Lead
121
salaries
| ₹15.4 L/yr - ₹27.1 L/yr |
Oracle
KPIT Technologies
Intellect Design Arena
Thomson Reuters