Filter interviews by
The chmod command in Linux changes file permissions for users, groups, and others.
chmod 755 filename: Sets read, write, execute for owner; read, execute for group and others.
chmod u+x filename: Adds execute permission for the file owner.
chmod g-w filename: Removes write permission from the group.
chmod 644 filename: Sets read/write for owner; read for group and others.
Find the median of two sorted arrays efficiently using binary search.
Combine both arrays and sort them, then find the median. Example: [1, 3] and [2] -> [1, 2, 3] -> median is 2.
Use binary search to partition both arrays. This reduces time complexity to O(log(min(n, m))).
Handle even and odd lengths separately. For even, average the two middle values; for odd, take the middle value.
Use SQL query with ORDER BY and LIMIT to find the nth highest salary of an employee.
Use ORDER BY clause to sort salaries in descending order
Use LIMIT to specify the nth highest salary
Example: SELECT salary FROM employees ORDER BY salary DESC LIMIT n-1, 1
BinarySearch algorithm using Recursion finds the target element in a sorted array by dividing the array in half at each step.
Divide the array in half and compare the target element with the middle element
If the target element is smaller, search the left half recursively
If the target element is larger, search the right half recursively
Repeat until the target element is found or the array is empty
Types of joins in SQL include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN.
INNER JOIN: Returns rows when there is at least one match in both tables.
LEFT JOIN: Returns all rows from the left table and the matched rows from the right table.
RIGHT JOIN: Returns all rows from the right table and the matched rows from the left table.
FULL JOIN: Returns rows when there is a match in one of the tables.
Check if string s is a subsequence of string t.
Iterate through both strings using two pointers.
Compare characters of s and t, moving pointer in t only if characters match.
If all characters of s are found in t in order, return true.
Example: s = 'abc', t = 'ahbgdc' => true
I applied via Naukri.com
Find the median of two sorted arrays efficiently using binary search.
Combine both arrays and sort them, then find the median. Example: [1, 3] and [2] -> [1, 2, 3] -> median is 2.
Use binary search to partition both arrays. This reduces time complexity to O(log(min(n, m))).
Handle even and odd lengths separately. For even, average the two middle values; for odd, take the middle value.
The chmod command in Linux changes file permissions for users, groups, and others.
chmod 755 filename: Sets read, write, execute for owner; read, execute for group and others.
chmod u+x filename: Adds execute permission for the file owner.
chmod g-w filename: Removes write permission from the group.
chmod 644 filename: Sets read/write for owner; read for group and others.
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
Use SQL query with ORDER BY and LIMIT to find the nth highest salary of an employee.
Use ORDER BY clause to sort salaries in descending order
Use LIMIT to specify the nth highest salary
Example: SELECT salary FROM employees ORDER BY salary DESC LIMIT n-1, 1
Types of joins in SQL include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN.
INNER JOIN: Returns rows when there is at least one match in both tables.
LEFT JOIN: Returns all rows from the left table and the matched rows from the right table.
RIGHT JOIN: Returns all rows from the right table and the matched rows from the left table.
FULL JOIN: Returns rows when there is a match in one of the tables.
BinarySearch algorithm using Recursion finds the target element in a sorted array by dividing the array in half at each step.
Divide the array in half and compare the target element with the middle element
If the target element is smaller, search the left half recursively
If the target element is larger, search the right half recursively
Repeat until the target element is found or the array is empty
Check if string s is a subsequence of string t.
Iterate through both strings using two pointers.
Compare characters of s and t, moving pointer in t only if characters match.
If all characters of s are found in t in order, return true.
Example: s = 'abc', t = 'ahbgdc' => true
Top trending discussions
I applied via Naukri.com and was interviewed before May 2020. There were 4 interview rounds.
Swapping two numbers without using a third variable
Use arithmetic operations to swap the values
Add the two numbers and store the result in the first variable
Subtract the second number from the result and store it in the second variable
Subtract the second variable from the first variable to get the original value of the second variable
To invoke an XML file using LibXML, use the xmlReadFile() function.
Include the libxml/parser.h header file.
Use the xmlReadFile() function to read the XML file and create a xmlDocPtr object.
Use the xmlDocGetRootElement() function to get the root element of the XML document.
Use the xmlNodeGetContent() function to get the content of a node.
Use the xmlFreeDoc() function to free the memory allocated for the xmlDocPtr object...
I applied via Approached by Company and was interviewed before Jul 2021. There was 1 interview round.
To write a REST API from scratch, I would follow these steps:
Define the resources and endpoints
Choose a programming language and framework
Implement CRUD operations for each resource
Use HTTP methods and status codes correctly
Add authentication and authorization
Test the API using tools like Postman
Document the API using tools like Swagger
I applied via Recruitment Consultant and was interviewed before Nov 2020. There was 1 interview round.
I appeared for an interview in Apr 2024.
First round was online coding round, second was coding in interview infornt of panel, third was DSA+basic Database questions
Some of the top questions asked at the Nielsen Senior Software Developer interview -
based on 2 interview experiences
Difficulty level
Duration
based on 4 reviews
Rating in categories
Analyst
215
salaries
| ₹2.5 L/yr - ₹7.9 L/yr |
Data Analyst
203
salaries
| ₹2.4 L/yr - ₹7.7 L/yr |
Software Engineer
184
salaries
| ₹9.4 L/yr - ₹17 L/yr |
Senior Research Executive
159
salaries
| ₹9 L/yr - ₹13 L/yr |
Senior Software Engineer
145
salaries
| ₹15.2 L/yr - ₹28 L/yr |
Access Healthcare
S&P Global
IKS Health
AGS Health