Filter interviews by
I appeared for an interview in May 2022.
BST search time is O(log n) on average, but can be O(n) in worst case.
BST search time depends on the height of the tree
On average, height is log base 2 of n
Worst case is when the tree is unbalanced and height is n
Example: searching for a value in a balanced BST with 1024 nodes takes at most 10 comparisons
I applied via Company Website and was interviewed before Aug 2020. There was 1 interview round.
Finding an element in a rotated array
Identify the pivot point where the array is rotated
Divide the array into two sub-arrays based on the pivot point
Perform binary search on the appropriate sub-array to find the element
Handle edge cases like when the element is at the pivot point
Create a linked list that contains the sum of two given linked lists representing numbers.
Traverse both linked lists simultaneously and add the corresponding nodes' values. If the sum is greater than 9, carry over the 1 to the next node.
If one linked list is longer than the other, add the remaining nodes to the sum.
Create a new linked list with the sum in reverse order.
Designing a text editor requires efficient data structures for insert, delete, and search operations.
Use a linked list to represent lines of text, allowing efficient insertions and deletions.
For searching, maintain an index or use a hash map to quickly locate specific words or phrases.
Consider using a gap buffer for efficient insertions and deletions within a single line of text.
Implement a trie for efficient prefix se...
posted on 20 Jul 2022
I applied via Company Website and was interviewed in Jun 2022. There were 4 interview rounds.
What people are saying about Microsoft Corporation
posted on 21 Nov 2022
I applied via LinkedIn and was interviewed in May 2022. There were 2 interview rounds.
The time complexity of the program is O(nlogn).
The program has a divide and conquer algorithm.
The program has nested loops.
The program has a recursive function.
Design an algorithm with less time complexity.
Use efficient data structures like hash tables, binary trees, etc.
Avoid nested loops and recursion if possible.
Try to optimize the code by reducing redundant operations.
Use dynamic programming to solve complex problems.
Consider parallel processing for large datasets.
Use built-in functions and libraries instead of writing custom code.
Profile the code to identify bottlenecks ...
posted on 11 Sep 2022
I applied via Approached by Company and was interviewed before Sep 2021. There was 1 interview round.
Merge sort and heap sort are two popular sorting algorithms used in computer science.
Merge sort is a divide-and-conquer algorithm that recursively divides the input array into two halves, sorts them, and then merges them back together.
Heap sort is a comparison-based sorting algorithm that uses a binary heap data structure to sort elements.
Merge sort has a time complexity of O(n log n) and is stable, while heap sort has...
Time complexities of sort algorithms
Bubble sort - O(n^2)
Selection sort - O(n^2)
Insertion sort - O(n^2)
Merge sort - O(n log n)
Quick sort - O(n log n)
Heap sort - O(n log n)
posted on 12 Feb 2022
Aptitude test was of medium level with some pseudo-code o/p questions
Sort array based on frequency,etc
posted on 9 Feb 2023
I applied via Campus Placement and was interviewed in Jan 2023. There were 3 interview rounds.
Fully logical we want to strong in percentage and stream
We want to strong in one coding language and also u want to strong enough in DS algo
posted on 11 Jan 2022
I applied via Campus Placement and was interviewed in Jul 2021. There were 6 interview rounds.
posted on 8 Apr 2022
I applied via LinkedIn and was interviewed in Mar 2022. There were 2 interview rounds.
Kubernetes cluster can be exposed to the internet using various methods.
One way is to use a LoadBalancer service type to expose the cluster to the internet.
Another way is to use an Ingress controller to route traffic from the internet to the cluster.
A third way is to use a NodePort service type to expose the cluster to the internet.
It is important to secure the cluster by using authentication and authorization mechanis...
Ingress is a Kubernetes resource that manages external access to services. Prometheus is a monitoring system and Grafana is a visualization tool.
Ingress is used to route external traffic to the appropriate Kubernetes service
Prometheus is used to collect and store metrics from various sources
Grafana is used to visualize the collected metrics in a user-friendly way
Ingress can be configured to use different load balancing...
Some of the top questions asked at the Microsoft Corporation SDE (Software Development Engineer) interview -
based on 10 reviews
Rating in categories
Software Engineer
2.5k
salaries
| ₹24.9 L/yr - ₹44 L/yr |
Senior Software Engineer
1.4k
salaries
| ₹37.5 L/yr - ₹75.7 L/yr |
Software Engineer2
1.2k
salaries
| ₹33 L/yr - ₹60 L/yr |
Software Developer
1.1k
salaries
| ₹23.9 L/yr - ₹40 L/yr |
Support Engineer
608
salaries
| ₹14.4 L/yr - ₹24.7 L/yr |
Amazon
Deloitte
TCS