Filter interviews by
I applied via Naukri.com and was interviewed in Jul 2024. There were 3 interview rounds.
Object-oriented programming concepts that focus on classes, objects, inheritance, encapsulation, and polymorphism.
Classes: Blueprint for creating objects with attributes and methods.
Objects: Instances of classes that contain data and behavior.
Inheritance: Ability for a class to inherit attributes and methods from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorp...
Status codes in API are standardized codes returned by a server in response to a client's request.
Status codes indicate the outcome of the request (e.g. success, error, redirection)
Common status codes include 200 (OK), 404 (Not Found), 500 (Internal Server Error)
Status codes are grouped into different categories (e.g. 2xx for success, 4xx for client errors, 5xx for server errors)
Joins are generally faster than subqueries.
Joins are typically faster than subqueries because they allow the database to retrieve data in a more efficient manner.
Subqueries can be slower because they are executed for each row of the outer query, leading to potential performance issues.
However, the performance can vary depending on the specific query and database optimization.
In general, it is recommended to use joins o
Token is a unique identifier used for authentication, while refresh token is used to obtain a new access token.
Token is a unique string that is used to authenticate a user or device.
Refresh token is used to obtain a new access token after the original token expires.
Tokens are commonly used in OAuth authentication.
Example: Access token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9. Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCI6Ikp
DI in dotnet core stands for Dependency Injection, a design pattern used to achieve loose coupling between components.
DI allows for injecting dependencies into a class rather than creating them within the class itself.
It helps in achieving separation of concerns and makes the code more testable and maintainable.
Example: In dotnet core, services can be registered in the Startup class and injected into controllers or oth
Isolation in SQL refers to the ability to control the visibility of changes made by one transaction to other transactions.
Isolation levels in SQL determine how transactions interact with each other
Higher isolation levels provide more control over visibility of changes
Common isolation levels include READ UNCOMMITTED, READ COMMITTED, REPEATABLE READ, and SERIALIZABLE
Top trending discussions
I appeared for an interview in Aug 2017.
Merge Sort is a divide and conquer algorithm that sorts an array by dividing it into two halves, sorting them separately, and then merging the sorted halves.
Divide the array into two halves
Recursively sort the two halves
Merge the sorted halves
Find pairs of integers in a BST whose sum is equal to a given number.
Traverse the BST and store the values in a hash set.
For each node, check if (X - node.value) exists in the hash set.
If yes, add the pair (node.value, X - node.value) to the result.
Continue traversal until all nodes are processed.
Merge overlapping time intervals into mutually exclusive intervals.
Sort the intervals based on their start time.
Iterate through the intervals and merge overlapping intervals.
Output the mutually exclusive intervals.
Example: [(1,3), (2,6), (8,10), (15,18)] -> [(1,6), (8,10), (15,18)]
Different types of hashing and alternative for Linear Chaining
Different types of hashing include division, multiplication, and universal hashing
Alternative for Linear Chaining is Open Addressing
Open Addressing includes Linear Probing, Quadratic Probing, and Double Hashing
An AVL tree is a self-balancing binary search tree where the heights of the left and right subtrees differ by at most one.
AVL tree is a binary search tree with additional balance factor for each node.
The balance factor is the difference between the heights of the left and right subtrees.
Insertion and deletion operations in AVL tree maintain the balance factor to ensure the tree remains balanced.
Rotations are performed ...
Find the minimum number of squares whose sum equals to a given number n.
Use dynamic programming to solve the problem efficiently.
Start with finding the square root of n and check if it is a perfect square.
If not, then try to find the minimum number of squares required for the remaining number.
Repeat the process until the remaining number becomes 0.
Return the minimum number of squares required for the given number n.
Insertion sort for a singly linked list.
Traverse the list and compare each node with the previous nodes
If the current node is smaller, swap it with the previous node
Repeat until the end of the list is reached
Time complexity is O(n^2)
I applied via Naukri.com and was interviewed in Mar 2021. There was 1 interview round.
I applied via Company Website and was interviewed in Feb 2021. There was 1 interview round.
I applied via Naukri.com and was interviewed in May 2021. There were 3 interview rounds.
Good
Better
based on 1 interview
Interview experience
MIS Executive
4
salaries
| ₹1.7 L/yr - ₹2.8 L/yr |
TCS
Accenture
Wipro
Cognizant