Filter interviews by
ACID stands for Atomicity, Consistency, Isolation, and Durability in databases.
Atomicity ensures that all operations in a transaction are completed successfully or none at all.
Consistency ensures that the database remains in a consistent state before and after the transaction.
Isolation ensures that multiple transactions can be executed concurrently without affecting each other.
Durability ensures that once a transaction...
Checked exceptions are checked at compile time while unchecked exceptions are not checked at compile time.
Checked exceptions are subclasses of Exception class except RuntimeException and its subclasses.
Unchecked exceptions are subclasses of RuntimeException and Error classes.
Checked exceptions must be caught or declared in the method signature using 'throws' keyword.
Unchecked exceptions do not need to be caught or decl...
To find the minimum difference between any two integers of 2 sorted lists, iterate through both lists simultaneously and keep track of the minimum difference.
Iterate through both sorted lists simultaneously
Keep track of the minimum difference found so far
Update the minimum difference if a smaller difference is found
Top trending discussions
I applied via Naukri.com and was interviewed before Jun 2023. There was 1 interview round.
AI stands for Artificial Intelligence, which is the simulation of human intelligence processes by machines, especially computer systems.
AI involves the development of algorithms that can perform tasks that typically require human intelligence.
Examples of AI include speech recognition, image recognition, natural language processing, and autonomous vehicles.
AI can be categorized into narrow AI (focused on a specific task...
Machine learning is a branch of artificial intelligence that involves developing algorithms and models that can learn from and make predictions or decisions based on data.
Machine learning uses algorithms to analyze data, learn from it, and make predictions or decisions.
It is used in various fields such as healthcare, finance, marketing, and more.
Examples of machine learning applications include recommendation systems, ...
I applied via Campus Placement and was interviewed in Oct 2024. There were 3 interview rounds.
Test contains 26 questions for me 13 are java based 13 are c++ based
Indexing in DBMS is a technique to improve the performance of queries by creating a data structure that allows for faster retrieval of data.
Indexes are created on columns in a database table to speed up the retrieval of rows that match a certain condition.
Types of indexes include clustered, non-clustered, unique, and composite indexes.
Examples of indexing techniques include B-tree, hash, and bitmap indexes.
Indexing can...
Check if two strings are anagrams by comparing the sorted characters in each string.
Sort the characters in both strings and compare if they are equal.
Ignore spaces and punctuation when comparing the strings.
Example: 'listen' and 'silent' are anagrams.
Example: 'hello' and 'world' are not anagrams.
Use a stack to simulate the recursive inorder traversal process
Create an empty stack to store nodes
Start with the root node and push it onto the stack
While the stack is not empty, keep traversing left and pushing nodes onto the stack
Once you reach a leaf node, pop it from the stack, print its value, and move to its right child
Repeat the process until all nodes have been visited
To make a class final, use the 'final' keyword in the class declaration.
Use the 'final' keyword before the 'class' keyword in the class declaration
A final class cannot be subclassed or extended
Final classes are often used for utility classes or classes that should not be modified
I applied via Referral and was interviewed in Sep 2024. There was 1 interview round.
Print nodes of n-ary tree in arc wise manner from outside
Traverse the tree level by level from outside to inside
Use a queue to keep track of nodes at each level
Print the nodes at each level in a clockwise or anticlockwise manner
I applied via Referral and was interviewed in Jun 2024. There were 3 interview rounds.
Hackerrank Coding Test, Leetcode medium questions
HLD test, was asked to design an online coding platform like leetcode
posted on 19 Dec 2023
I applied via LinkedIn and was interviewed in Nov 2023. There were 2 interview rounds.
Create subarrays with sum = 0 from given array of integers.
Iterate through the array and keep track of the running sum.
Store the running sum in a hashmap and check if the current sum - any previous sum equals 0.
If yes, then the subarray between those two indices has a sum of 0.
The left view of a binary tree is the set of nodes visible when the tree is viewed from the left side.
Traverse the tree in a level order manner and keep track of the first node at each level.
Use a queue to store nodes at each level and update the left view nodes accordingly.
Example: For a binary tree with root node 1, left child 2, and right child 3, the left view would be [1, 2].
I applied via Company Website and was interviewed before May 2023. There were 2 interview rounds.
I applied via Company Website and was interviewed in Sep 2023. There were 2 interview rounds.
Implement an iterator to flatten 2D vector
Use Dijkstra's algorithm to find the shortest path to get all keys
Implement Dijkstra's algorithm to find the shortest path in a graph
Consider the keys as nodes in the graph and the paths between keys as edges
Keep track of the keys collected and update the shortest path accordingly
Interview experience
based on 1 review
Rating in categories
Trust and Safety Specialist
73
salaries
| ₹5.5 L/yr - ₹9 L/yr |
Software Engineer
61
salaries
| ₹14.3 L/yr - ₹60.2 L/yr |
Senior Software Engineer
54
salaries
| ₹23 L/yr - ₹87.1 L/yr |
Content Reviewer
37
salaries
| ₹3.6 L/yr - ₹9.9 L/yr |
Account Director
31
salaries
| ₹15 L/yr - ₹39 L/yr |
Microsoft Corporation
Amazon