Filter interviews by
Leetcode medium coding question is asked
Top trending discussions
posted on 19 Dec 2024
I applied via Campus Placement
It was good 20 mcqs 3 coding questions
Basic DSA questions, best time to buy and sell stock and its variation
posted on 9 Jul 2024
Basic OOP questions for python programming language
Abstraction is the concept of hiding complex implementation details and showing only the necessary information to the user.
Abstraction allows users to focus on what an object does instead of how it does it
It helps in reducing complexity and improving efficiency in software development
Example: In object-oriented programming, abstract classes and interfaces are used to achieve abstraction
SQL databases are relational databases with structured data, while NoSQL databases are non-relational databases with flexible, unstructured data.
SQL databases use structured query language for defining and manipulating data, while NoSQL databases use different query languages or APIs.
SQL databases are table-based, with a predefined schema, while NoSQL databases are document, key-value, wide-column, or graph-based.
SQL d...
Reverse a linked list by changing the direction of pointers
Start with three pointers: current, prev, and next
Iterate through the linked list, updating pointers to reverse the direction
Update the head of the linked list to the last node after reversing
Binary search algorithm efficiently finds the target value in a sorted array.
Start by defining the low and high indices of the array.
Calculate the mid index and compare the target value with the value at mid.
If target is less than mid value, update high to mid-1; if greater, update low to mid+1.
Repeat until target is found or low is greater than high.
2 Leetcode Medium questions on hackerrank
Medium to hard questions based on arrays, dp
Quick sort is a popular sorting algorithm that uses divide and conquer strategy.
Divides array into smaller sub-arrays based on a pivot element
Recursively sorts sub-arrays
Combines sorted sub-arrays to get final sorted array
Time complexity: O(n log n) on average, O(n^2) worst case
Example: [3, 6, 8, 10, 1, 2, 1] -> [1, 1, 2, 3, 6, 8, 10]
Rotate a matrix by 90 degrees in place
Transpose the matrix
Reverse each row of the transposed matrix
Use recursion to generate all possible permutations of a given string.
Use recursion to swap characters in the string to generate permutations
Keep track of visited characters to avoid duplicates
Base case: when the length of the string is 1, add it to the result array
The coin change problem involves finding the number of ways to make a certain value using a given set of coins.
Use dynamic programming to solve the coin change problem efficiently.
Create a 1D array to store the number of ways to make each value from 0 to the target value.
Iterate through the coins and update the array based on the current coin's value.
The final answer will be stored in the last element of the array.
Exam...
I was interviewed in Jul 2024.
Create an API using Notepad to check if a string is a palindrome or not.
I applied via campus placement at National Institute of Engineering (NIE) and was interviewed in Apr 2024. There were 4 interview rounds.
2 questions, Easy and medium based
based on 2 reviews
Rating in categories
Software Engineer
42
salaries
| ₹9 L/yr - ₹30 L/yr |
Member Technical Staff
31
salaries
| ₹12 L/yr - ₹40 L/yr |
Technical Staff Member 3
12
salaries
| ₹26 L/yr - ₹59 L/yr |
QA Engineer
12
salaries
| ₹5.8 L/yr - ₹13.8 L/yr |
Senior Software Engineer
11
salaries
| ₹14 L/yr - ₹50 L/yr |
Mu Sigma
Fractal Analytics
Tiger Analytics
LatentView Analytics