Filter interviews by
A palindrome is a word, phrase, or sequence that reads the same backward as forward, like 'racecar' or 'level'.
Check if the string is the same when reversed. Example: 'madam' == 'madam'.
Ignore spaces, punctuation, and capitalization. Example: 'A man, a plan, a canal, Panama!' is a palindrome.
Use two-pointer technique: one pointer starts at the beginning and the other at the end of the string.
Count the number of islands in a 2D grid of '1's (land) and '0's (water).
Use Depth-First Search (DFS) or Breadth-First Search (BFS) to explore each island.
Iterate through each cell in the grid; if a '1' is found, increment the island count.
Mark visited land cells by changing '1's to '0's to avoid counting them again.
Example: In a grid [[1,1,0],[0,0,1],[1,0,1]], there are 4 islands.
LLD for a distributed cache service involves designing the architecture, data flow, and communication protocols.
Design a scalable architecture with multiple nodes for storing and retrieving data.
Implement data partitioning to distribute data across nodes efficiently.
Define communication protocols for nodes to coordinate and synchronize data.
Include mechanisms for data replication and consistency across nodes.
Consi...
Print the content of a spiral matrix
Create a 2D array to represent the matrix
Use four variables to keep track of boundaries (top, bottom, left, right)
Iterate through the matrix in a spiral pattern, printing each element as you go
What people are saying about Microsoft Corporation
Design a parking lot with multiple levels and automated ticketing system
Include multiple levels for parking spaces
Implement automated ticketing system for entry and exit
Utilize sensors to detect available parking spots
Incorporate payment options for customers
Provide security measures such as CCTV cameras and alarms
To find a free IP range in an infinite pool of reserve IPs, we can iterate through the pool and check for available ranges.
Iterate through the pool of reserve IPs
Check for consecutive available IPs to form a range
Return the first free IP range found
Search for an element in a rotated sorted array
Use binary search to find the pivot point where the array is rotated
Determine which half of the array to search based on the target value and the pivot point
Continue binary search in the selected half to find the target element
Design a memory management system for efficient allocation and deallocation of memory in software applications.
Implement a memory pool to pre-allocate a fixed amount of memory for frequent allocation and deallocation operations.
Use garbage collection to automatically reclaim memory that is no longer in use.
Implement memory segmentation to divide memory into different segments for better organization and management...
Algorithm to write content to a screen
Determine the type of content to be displayed
Choose an appropriate font and font size
Define the layout and positioning of the content
Implement the algorithm to display the content on the screen
Connect nodes at the same level of a binary tree horizontally.
Use a queue to traverse the tree level by level.
For each level, connect the nodes in the queue from left to right.
Set the right pointer of each node to the next node in the queue.
Set the right pointer of the last node in the level to null.
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There was 1 interview round.
Designing Instagram feed involves displaying user's photos and videos in a visually appealing and user-friendly manner.
Display user's posts in a grid layout with images/videos and captions
Allow users to like, comment, and share posts
Implement infinite scrolling to load more posts as user scrolls down
Include a search bar to search for specific users or hashtags
Verify if a given string is or not a palindrome
I applied via Approached by Company and was interviewed in Jul 2024. There were 2 interview rounds.
Longest continuous subarray with absolute difference less than or equal to limit
Implement trie in vanilla javascript with a UI problem of creating, deleting nested HTML element
Create a Trie class with methods for inserting and searching words
Implement a UI with buttons to create and delete nested HTML elements
Use event listeners to handle user interactions
Update the UI dynamically based on trie operations
posted on 21 Jan 2025
I am motivated to join your team because of your innovative projects and collaborative work environment.
Exciting projects that align with my interests and skills
Opportunity to work with a talented and diverse team
Positive company culture and values
Room for growth and professional development
I applied via Referral and was interviewed in Jun 2024. There was 1 interview round.
Coding Round 1
ZigZag Level order Traversal of Binary Tree.
I was not able to solve this problem and was not proceeded with next round of Interview.
I applied via Company Website and was interviewed in Nov 2023. There was 1 interview round.
Design a generic notification system.
Define different types of notifications (email, SMS, push notifications)
Implement a way to schedule notifications
Allow users to customize notification preferences
Include a logging system to track sent notifications
Consider security measures to protect user data
LLD for a distributed cache service involves designing the architecture, data flow, and communication protocols.
Design a scalable architecture with multiple nodes for storing and retrieving data.
Implement data partitioning to distribute data across nodes efficiently.
Define communication protocols for nodes to coordinate and synchronize data.
Include mechanisms for data replication and consistency across nodes.
Consider f...
Some of the top questions asked at the Microsoft Corporation Senior Software Engineer interview -
The duration of Microsoft Corporation Senior Software Engineer interview process can vary, but typically it takes about 2-4 weeks to complete.
based on 26 interview experiences
Difficulty level
Duration
based on 75 reviews
Rating in categories
Software Engineer
2.5k
salaries
| ₹24.8 L/yr - ₹44 L/yr |
Senior Software Engineer
1.5k
salaries
| ₹28.4 L/yr - ₹75.9 L/yr |
Software Engineer2
1.2k
salaries
| ₹33 L/yr - ₹60 L/yr |
Software Developer
1.1k
salaries
| ₹24.9 L/yr - ₹45.7 L/yr |
Consultant
600
salaries
| ₹19.8 L/yr - ₹34 L/yr |
Amazon
Deloitte
TCS