{"id":25553,"date":"2024-10-23T16:52:00","date_gmt":"2024-10-23T11:22:00","guid":{"rendered":"https:\/\/internshala.com\/blog\/?p=25553"},"modified":"2024-10-23T16:52:02","modified_gmt":"2024-10-23T11:22:02","slug":"microsoft-internship-interview-questions","status":"publish","type":"post","link":"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/","title":{"rendered":"Top 36 Microsoft Internship Interview Questions and Answers"},"content":{"rendered":"\n<p>Did you know that over the past five years, companies have been actively seeking more interns? According to a recent Internshala survey, internship applications in India increased by 80%, with 2.2 million submissions in 2018, compared to 1.27 million the previous year. With this rising competition, securing a coveted position, such as a Microsoft internship, requires thorough preparation.\u00a0Microsoft internships are known for offering hands-on experience with cutting-edge technology, making them highly sought after by aspiring tech professionals. In this blog, we will walk you through the crucial Microsoft internship interview questions and answers to help you stand out and ace your interview.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/#Tech-Based_Microsoft_Internship_Interview_Questions_and_Answers\" >Tech-Based Microsoft Internship Interview Questions and Answers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/#Behavioural_and_Situation-Based_Microsoft_Internship_Interview_Questions_and_Answers\" >Behavioural and Situation-Based Microsoft Internship Interview Questions and Answers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Tech-Based_Microsoft_Internship_Interview_Questions_and_Answers\"><\/span>Tech-Based Microsoft Internship Interview Questions and Answers<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Let us look at some of the key technical questions you may encounter in a Microsoft internship interview. These Microsoft internship interview questions that will be asked to you will assess your problem-solving and analytical abilities.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q1. What is a Binary Search, and how does it work?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>Binary search is a quick method to find an element in a sorted array. It works by dividing the array in half repeatedly. If the target value is smaller than the middle element, I search the left half; otherwise, I search the right. This process continues until the value is found or the array is exhausted. The time complexity is O(log n).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large desktop-image\"><a href=\"https:\/\/internshala.com\/jobs\/?utm_source=is_blog&amp;utm_medium=microsoft-internship-interview-questions&amp;utm_campaign=candidate-web-banner\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"203\" src=\"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2024\/01\/Find-and-Apply-Banner-1024x203.jpg\" alt=\"Find and Apply Banner\" class=\"wp-image-21795\" srcset=\"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2024\/01\/Find-and-Apply-Banner-1024x203.jpg 1024w, https:\/\/internshala.com\/blog\/wp-content\/uploads\/2024\/01\/Find-and-Apply-Banner-672x133.jpg 672w, https:\/\/internshala.com\/blog\/wp-content\/uploads\/2024\/01\/Find-and-Apply-Banner-1536x305.jpg 1536w, https:\/\/internshala.com\/blog\/wp-content\/uploads\/2024\/01\/Find-and-Apply-Banner-2048x406.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full mobile-image\"><a href=\"https:\/\/internshala.com\/jobs\/?utm_source=is_blog&amp;utm_medium=microsoft-internship-interview-questions&amp;utm_campaign=candidate-mobile-banner\"><img loading=\"lazy\" decoding=\"async\" width=\"356\" height=\"256\" src=\"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2024\/01\/Job-Banner-for-candidates.jpg\" alt=\"Job Banner for candidates\" class=\"wp-image-21794\"\/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Q2. Explain how you would reverse a linked list iteratively.<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>To reverse a linked list, I use three pointers: prev, curr, and next. I traverse the list starting from the head. For each node, I change curr to point to prev, then move next to continue the traversal. Finally, I return prev as the new head of the reversed list. The time complexity is O(n).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q3. How would you check if a number is a power of two?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>A number is a power of two if it has only one bit set in its binary representation. I check this using the bitwise expression n &amp; (n &#8211; 1) == 0 and ensure n is greater than zero. This approach gives an efficient O(1) time complexity.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q4. How do you detect a cycle in a linked list?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>To detect a cycle, I use Floyd\u2019s Cycle Detection Algorithm, also known as the two-pointer method. One pointer (slow) moves one step at a time, while the other (fast) moves two steps. If the two pointers meet, a cycle exists. If fast reaches the end of the list, no cycle is present.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q5. What is the difference between Merge Sort and Quick Sort?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>Merge sort divides the array into two halves, recursively sorts them, and merges the results. It has a time complexity of O(n log n) in all cases. Quick sort, while faster on average, can degrade to O(n\u00b2) in the worst case when the pivot selection is poor. Merge sort uses more space, whereas quicksort is more space-efficient.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q6. Explain the Sliding Window technique with an example.<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>The sliding window technique helps solve problems involving subarrays or substrings. I keep a window of elements, adjusting it as needed while traversing the array. For instance, to find the maximum sum of a subarray of length k, I sum the first k elements, then slide the window, adjusting the sum at each step. The time complexity is O(n).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q7. How would you find the maximum sum subarray?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>To find the maximum sum subarray, I use Kadane\u2019s Algorithm. I initialize a variable to store the maximum sum and iterate through the array, deciding whether to extend the current subarray or start a new one with each element. This method runs in O(n) time, ensuring optimal performance.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q8. How would you determine the lowest common ancestor in a binary search tree?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>To find the lowest common ancestor (LCA), I start at the root and compare the values of the two nodes. If both nodes are smaller than the current node, I move to the left subtree; if both are larger, I move to the right. When the values split, the current node is the LCA.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q9. Can you explain how you would implement an LRU cache?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>I would implement an LRU (Least Recently Used) cache using a hash map and a doubly linked list. The hash map provides O(1) time complexity for access, while the doubly linked list maintains the order of usage. When the cache is full, I remove the least recently used item, which is the tail node of the linked list.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q10. How would you detect if two strings are anagrams?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>To check if two strings are anagrams, I first ensure they have the same length. Then, I count the frequency of each character in both strings. If the frequency matches for all characters, the strings are anagrams. This approach runs in O(n) time, where n is the length of the strings.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q11. How do you merge two sorted linked lists?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>To merge two sorted linked lists, I maintain a dummy node to simplify pointer manipulation. I compare the head nodes of both lists and append the smaller node to the result list. I repeat this process until one list is exhausted, then append the remaining nodes of the other list. This approach runs in O(n) time.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q12. How would you solve the problem of finding the kth smallest element in an unsorted array?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>I would use the Quickselect algorithm to solve this problem. Quickselect partitions the array based on a pivot, similar to Quicksort, but focuses only on finding the desired kth element without fully sorting the array. The average time complexity is O(n), making it more efficient than sorting.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q13. What is a heap, and how would you implement a min-heap?<\/h3>\n\n\n\n<p><strong>Sample Answer:<\/strong> A min-heap is a binary tree where each parent node is smaller than its children. I would implement a min-heap using an array where the parent of a node at index i is at index (i-1)\/2, and the children are at indices 2*i+1 and 2*i+2. Operations like inserting and removing follow heapification rules to maintain the heap property.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q14. How would you check if a binary tree is balanced?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>To check if a binary tree is balanced, I recursively calculate the height of the left and right subtrees for each node. If the difference between their heights exceeds one, the tree is not balanced. I return true only if every subtree satisfies this condition. This approach runs in O(n) time.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q15. How do you solve the problem of trapping rainwater between bars?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>To solve the trapping rainwater problem, I use two arrays to store the maximum heights from the left and right of each bar. For each bar, I calculate the trapped water as the difference between the minimum of these two heights and the bar&#8217;s height. This approach runs in O(n) time and uses O(n) space.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q16. Explain Depth First Search (DFS) and its application in graph traversal.<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>Depth-First Search (DFS) is a graph exploration method that goes down each path as far as it can before stepping back to try a different path. I implement DFS using either recursion or a stack. It&#8217;s useful in many applications, such as detecting cycles in a graph, topological sorting, and finding connected components. The time complexity of DFS is O(V + E), where V represents the number of vertices and E is the number of edges in the graph.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q17. How would you solve the N-Queens problem using backtracking?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>The N-Queens problem involves placing N queens on an NxN chessboard so that no two queens threaten each other. I use backtracking to place queens row by row, checking if each placement is safe. If a conflict occurs, I backtrack and try a different position. The algorithm runs in O(N!) time due to the recursive nature of the solution.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q18. How do you detect a palindrome in a linked list?<\/h3>\n\n\n\n<p><strong>Sample Answer:<\/strong>&nbsp; To detect a palindrome in a linked list, I use two steps. First, I find the middle of the list using the fast and slow pointer method. Then, I reverse the second half of the list. Finally, I compare the first and second halves. If they match, the linked list is a palindrome. This approach runs in O(n) time.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q19.\u00a0 How would you solve the problem of finding a cycle in a directed graph?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>To detect a cycle in a directed graph, I use Depth First Search (DFS) with recursion. During DFS, I maintain two arrays: visited and recStack (recursive stack). For each node, I mark it as visited and add it to the recursive stack. If I encounter a node that is already in the recursive stack, it indicates a cycle. After processing a node, I remove it from the recursive stack. This method has a time complexity of O(V + E), where V is the number of vertices and E is the number of edges, ensuring optimal performance for large graphs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q20. How would you solve the problem of finding the median in a stream of integers?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>To efficiently find the median in a stream of integers, I use two heaps: a max-heap for the lower half of the elements and a min-heap for the upper half. The max-heap stores the smaller half of the numbers, and the min-heap stores the larger half. For every new element, I add it to one of the heaps, ensuring that the heaps remain balanced (i.e., their size differs by at most one). If the number of elements is odd, the median is the top of the larger heap; if it&#8217;s even, the median is the average of the tops of both heaps. This approach ensures a time complexity of O(log n) for insertion and O(1) for finding the median.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Behavioural_and_Situation-Based_Microsoft_Internship_Interview_Questions_and_Answers\"><\/span>Behavioural and Situation-Based Microsoft Internship Interview Questions and Answers<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Let us now explore some behavioural and situation-based questions you might face during your Microsoft internship interview. These Microsoft internship interview questions assess your teamwork, leadership, and decision-making skills.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q21. Tell me about a time when you had to work under tight deadlines on a project. How did you handle it?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>In my previous internship, I was tasked with delivering a feature for a software application in just a week, which typically took two weeks. I immediately prioritized tasks by breaking them into manageable components. I focused on core functionalities first, ensuring the most critical parts were built and tested. I maintained regular communication with my team, providing updates and requesting feedback. This allowed me to adjust the project quickly based on early inputs. By staying organized and clear on priorities, I successfully completed the project within the deadline without sacrificing quality.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q22. Describe a situation where you faced a significant challenge while working on a technical problem. How did you approach it?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>During a group project, we encountered a significant bug in our code right before a demo, which caused the application to crash frequently. I took the lead in debugging the issue by isolating the error through systematic testing and breaking down the code into smaller sections to identify the root cause.\u00a0After pinpointing the problematic area, I refactored the code to handle edge cases more effectively. Throughout the process, I communicated with the team, explaining my steps and ensuring everyone understood the changes. This collaborative approach helped us resolve the issue and deliver a successful demo.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q23. Can you provide an example of when you had to learn a new technology or skill quickly to complete a project?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>While working on a project that required data visualization, I realized I needed to learn D3.js, a JavaScript library for creating complex charts and graphs, which I hadn\u2019t used before. I dedicated a couple of days to learning the basics, referring to tutorials and documentation. I then applied what I learned to the project by building smaller, testable components before integrating them into the main application.\u00a0This approach allowed me to gain confidence in the new skill while meeting the project\u2019s deadline. The final visualizations were praised for their clarity and accuracy.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q24. Have you ever disagreed with a teammate about how to approach a technical problem? How did you resolve it?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>Yes, during a hackathon, a teammate and I disagreed on whether to use a relational or NoSQL <a href=\"https:\/\/trainings.internshala.com\/blog\/what-is-database\/\">database <\/a>for our project. I preferred relational for its structure, while my teammate advocated for NoSQL due to scalability concerns. Instead of arguing, I suggested we analyze the project\u2019s specific needs and constraints.\u00a0We listed out the pros and cons of each database based on those criteria, and it became clear that scalability was less important in this case. We agreed to go with a relational database, and I made sure to acknowledge my teammate\u2019s valid points to foster collaboration moving forward.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q25. Tell me about a time you had to balance multiple projects with competing deadlines. How did you manage your time?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>In my final semester, I had to manage multiple academic projects alongside my internship responsibilities. To handle this, I created a detailed schedule, breaking down each project into smaller tasks with specific deadlines. I used a time-blocking technique, dedicating certain hours of the day to different projects and sticking to this routine.\u00a0Additionally, I regularly reviewed my progress to adjust the schedule when needed, ensuring that no task was neglected. This systematic approach allowed me to complete all projects successfully while maintaining high-quality work.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q26. Describe a situation where you had to work with a difficult team member. How did you handle the situation?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>In one of my group projects, a team member consistently missed deadlines and did not contribute equally. I approached them privately and asked if there were any issues they were facing. It turned out they were struggling with the technical aspect of the project. I offered to help them understand the task better and proposed redistributing some responsibilities based on each team member\u2019s strengths.\u00a0By showing empathy and offering support instead of confrontation, I was able to get them more engaged. Our team worked more effectively after that, and the project was completed successfully.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q27. Have you ever had to deliver bad news to your team or manager? How did you handle it?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>During a software development project, I realized halfway through that a key feature we had planned wasn\u2019t feasible within the given timeframe due to technical limitations. I immediately informed my manager and the team, explaining the challenge and the reason behind it.\u00a0Instead of just delivering bad news, I came prepared with alternative solutions, including a scaled-down version of the feature that we could implement within the deadline. My manager appreciated the transparency and proactive approach, and we were able to shift our focus to the alternative plan, keeping the project on track.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q28. Tell me about a time when you received feedback that you didn\u2019t agree with. How did you respond?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>In one of my past internships, I received feedback from a supervisor suggesting that I needed to improve my communication during team meetings. Initially, I disagreed because I felt I was contributing enough. However, instead of dismissing the feedback, I took the time to reflect on it and asked for specific examples of where I could improve.\u00a0After discussing it with my supervisor, I realized that while I was contributing, I wasn\u2019t always being clear in articulating my ideas. I worked on improving my clarity and became more mindful during future meetings, which helped strengthen my team dynamics.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q29. Given a binary tree, you are asked to determine its maximum depth. How would you calculate the depth?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>I will use a depth-first search (DFS) approach by recursively finding the maximum depth of the left and right subtrees and adding 1 for the root.<\/p>\n\n\n\n<p><strong>Code:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class TreeNode:\r\n    def __init__(self, val=0, left=None, right=None):\r\n        self.val = val\r\n        self.left = left\r\n        self.right = right\r\ndef max_depth(root):\r\n    if not root:\r\n        return 0\r\n    return max(max_depth(root.left), max_depth(root.right)) + 1\r<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Q30. You are given an array of integers where each element appears twice except for one element that appears only once. How would you find the single element in linear time and constant space?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>I can solve this using bit manipulation (XOR). XOR of all elements will result in a single element since x^x = 0 and x^0 = x.<\/p>\n\n\n\n<p><strong>Code:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>def single_number(nums):\r\n    result = 0\r\n    for num in nums:\r\n        result ^= num\r\n    return result\r<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Q31. You\u2019re asked to implement a function that returns the top k frequent elements from an array. How would you approach this problem?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>I can use a hash map to count frequencies and a min-heap to store the top k elements efficiently.<\/p>\n\n\n\n<p><strong>Code:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import heapq\r\nfrom collections import Counter\r\n\r\ndef top_k_frequent(nums, k):\r\n    freq_map = Counter(nums)\r\n    return heapq.nlargest(k, freq_map.keys(), key=freq_map.get)\r<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Q32. You have a list of integers, and you are asked to return the product of all the numbers except the one at the current index. You must do this in O(n) time and without using division. How would you solve it?<\/h3>\n\n\n\n<p><strong>Sample Answer:<\/strong> I will create two auxiliary arrays; one to store the product of all elements before the current index and another for all elements after it. Once this is done, I will multiply them to get the result.<\/p>\n\n\n\n<p><strong>Code:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>def product_except_self(nums):\r\n    n = len(nums)\r\n    left_products = &#91;1] * n\r\n    right_products = &#91;1] * n\r\n    result = &#91;1] * n\r\n    \r\n    for i in range(1, n):\r\n        left_products&#91;i] = left_products&#91;i - 1] * nums&#91;i - 1]\r\n    \r\n    for i in range(n - 2, -1, -1):\r\n        right_products&#91;i] = right_products&#91;i + 1] * nums&#91;i + 1]\r\n    \r\n    for i in range(n):\r\n        result&#91;i] = left_products&#91;i] * right_products&#91;i]\r\n    \r\n    return result\r<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Q33. You are asked to rotate an NxN matrix clockwise at 90 degrees in place. How would you implement this?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>First, I will transpose the matrix by swapping rows with columns. Then, I will reverse each row to achieve the 90-degree rotation.<\/p>\n\n\n\n<p><strong>Code:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>def rotate_matrix(matrix):\r\n    n = len(matrix)\r\n    for i in range(n):\r\n        for j in range(i, n):\r\n            matrix&#91;i]&#91;j], matrix&#91;j]&#91;i] = matrix&#91;j]&#91;i], matrix&#91;i]&#91;j]\r\n    \r\n    for i in range(n):\r\n        matrix&#91;i].reverse()\r<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Q34. You need to design an algorithm to merge overlapping intervals. For instance, given intervals [[1, 3], [2, 4], [5, 7]], the result should be [[1, 4], [5, 7]]. How would you tackle this?<\/h3>\n\n\n\n<p><strong>Sample Answer:<\/strong> I will<strong> <\/strong>sort the intervals based on the start time, then iterate through them and merge overlapping intervals by comparing the current interval\u2019s start and the previous interval\u2019s end.<\/p>\n\n\n\n<p><strong>Code:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>def merge_intervals(intervals):\r\n    intervals.sort(key=lambda x: x&#91;0])\r\n    merged = &#91;]\r\n    for interval in intervals:\r\n        if not merged or merged&#91;-1]&#91;1] &lt; interval&#91;0]:\r\n            merged.append(interval)\r\n        else:\r\n            merged&#91;-1]&#91;1] = max(merged&#91;-1]&#91;1], interval&#91;1])\r\n    return merged\r<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Q35. You&#8217;re tasked with writing a function that checks if a string contains all unique characters, but you&#8217;re not allowed to use additional data structures. How would you approach it?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>Since no extra data structures are allowed, you can sort the string and then check for any consecutive repeating characters.<\/p>\n\n\n\n<p><strong>Code:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>def all_unique_characters(s):\r\n    s = ''.join(sorted(s))  # Sort the string\r\n    for i in range(1, len(s)):\r\n        if s&#91;i] == s&#91;i-1]:\r\n            return False\r\n    return True\r<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Q36. You are given a large sorted array, but it&#8217;s mostly made up of zeros with a few ones scattered throughout. How would you efficiently find the position of the first &#8216;1&#8217; in the array?<\/h3>\n\n\n\n<p><strong>Sample Answer: <\/strong>To solve this efficiently, I will use a modified <strong>binary search<\/strong>. Since the array is sorted, all zeros come before the ones, so binary search will help quickly locate the first occurrence of &#8216;1&#8217;.<\/p>\n\n\n\n<p><strong>Code:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>def find_first_one(arr):\r\n    left, right = 0, len(arr) - 1\r\n    while left &lt;= right:\r\n        mid = left + (right - left) \/\/ 2\r\n        if arr&#91;mid] == 1 and (mid == 0 or arr&#91;mid - 1] == 0):\r\n            return mid\r\n        elif arr&#91;mid] == 0:\r\n            left = mid + 1\r\n        else:\r\n            right = mid - 1\r\n    return -1  # If no '1' is found\r<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large desktop-image\"><a href=\"https:\/\/internshala.com\/jobs\/?utm_source=is_blog&amp;utm_medium=microsoft-internship-interview-questions&amp;utm_campaign=candidate-web-banner\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"203\" src=\"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2024\/01\/Find-and-Apply-Banner-1024x203.jpg\" alt=\"Find and Apply Banner\" class=\"wp-image-21795\" srcset=\"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2024\/01\/Find-and-Apply-Banner-1024x203.jpg 1024w, https:\/\/internshala.com\/blog\/wp-content\/uploads\/2024\/01\/Find-and-Apply-Banner-672x133.jpg 672w, https:\/\/internshala.com\/blog\/wp-content\/uploads\/2024\/01\/Find-and-Apply-Banner-1536x305.jpg 1536w, https:\/\/internshala.com\/blog\/wp-content\/uploads\/2024\/01\/Find-and-Apply-Banner-2048x406.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full mobile-image\"><a href=\"https:\/\/internshala.com\/jobs\/?utm_source=is_blog&amp;utm_medium=microsoft-internship-interview-questions&amp;utm_campaign=candidate-mobile-banner\"><img loading=\"lazy\" decoding=\"async\" width=\"356\" height=\"256\" src=\"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2024\/01\/Job-Banner-for-candidates.jpg\" alt=\"Job Banner for candidates\" class=\"wp-image-21794\"\/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Preparing thoroughly for a Microsoft internship interview is essential to stand out from the competition. By mastering both technical and behavioural Microsoft internship interview questions and answers, you will boost your confidence and improve your chances of success. Focus on understanding key concepts, practising coding problems, and refining your problem-solving skills. Don&#8217;t forget that soft skills like teamwork and adaptability are equally important.\u00a0<br>If you&#8217;re looking for more tips on landing your dream <a href=\"https:\/\/internshala.com\/internships\/engineering-internship\/?utm_source=is_blog&amp;utm_medium=microsoft-internship-interview-questions&amp;utm_campaign=candidate-blog-detail\" target=\"_blank\" rel=\"noreferrer noopener\">engineering internship<\/a>, check out our blog on <a href=\"https:\/\/internshala.com\/blog\/how-to-get-an-internship-in-engineering\/\" target=\"_blank\" rel=\"noreferrer noopener\">how to get an internship in engineering<\/a> for valuable insights and guidance. Best of luck with your Microsoft internship journey!<\/p>\n<aside class=\"mashsb-container mashsb-main \"><div class=\"mashsb-box\"><div class=\"mashsb-count mash-medium\" style=\"float:left\"><div class=\"counts mashsbcount\">0<\/div><span class=\"mashsb-sharetext\">SHARES<\/span><\/div><div class=\"mashsb-buttons\"><a class=\"mashicon-facebook mash-medium mashsb-noshadow\" href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Finternshala.com%2Fblog%2Fmicrosoft-internship-interview-questions%2F\" target=\"_top\" rel=\"nofollow\"><span class=\"icon\"><\/span><span class=\"text\">Share&nbsp;on&nbsp;Facebook<\/span><\/a><a class=\"mashicon-subscribe mash-medium mashsb-noshadow\" href=\"#\" target=\"_top\" rel=\"nofollow\"><span class=\"icon\"><\/span><span class=\"text\">Get&nbsp;Your&nbsp;Dream&nbsp;Internship<\/span><\/a><div class=\"onoffswitch2 mash-medium mashsb-noshadow\" style=\"display:none\"><\/div><\/div>\n            <\/div>\n                <div style=\"clear:both\"><\/div><\/aside>\n            <!-- Share buttons by mashshare.net - Version: 4.0.42-->","protected":false},"excerpt":{"rendered":"<p>Did you know that over the past five years, companies have been actively seeking more interns? According to a recent Internshala survey, internship applications in India increased by 80%, with<\/p>\n","protected":false},"author":6498,"featured_media":25554,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":true,"footnotes":""},"categories":[4316],"tags":[8776,8775],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Top 36 Microsoft Internship Interview Questions and Answers<\/title>\n<meta name=\"description\" content=\"Explore Microsoft internship interview questions and answers to help you succeed and confidently secure your dream internship opportunity at Microsoft.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Top 36 Microsoft Internship Interview Questions and Answers\" \/>\n<meta property=\"og:description\" content=\"Explore Microsoft internship interview questions and answers to help you succeed and confidently secure your dream internship opportunity at Microsoft.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/\" \/>\n<meta property=\"og:site_name\" content=\"Internshala blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-23T11:22:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-23T11:22:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2024\/10\/microsoft-internship-interview-questions.png\" \/>\n\t<meta property=\"og:image:width\" content=\"390\" \/>\n\t<meta property=\"og:image:height\" content=\"255\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Shailja Kaushik\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shailja Kaushik\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"15 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/\"},\"author\":{\"name\":\"Shailja Kaushik\",\"@id\":\"https:\/\/internshala.com\/blog\/#\/schema\/person\/e9d693573cfd7df9145f7f1a0f6e523b\"},\"headline\":\"Top 36 Microsoft Internship Interview Questions and Answers\",\"datePublished\":\"2024-10-23T11:22:00+00:00\",\"dateModified\":\"2024-10-23T11:22:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/\"},\"wordCount\":3209,\"publisher\":{\"@id\":\"https:\/\/internshala.com\/blog\/#organization\"},\"keywords\":[\"microsoft intern interview questions\",\"microsoft internship interview questions\"],\"articleSection\":[\"Interview Guide\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/\",\"url\":\"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/\",\"name\":\"Top 36 Microsoft Internship Interview Questions and Answers\",\"isPartOf\":{\"@id\":\"https:\/\/internshala.com\/blog\/#website\"},\"datePublished\":\"2024-10-23T11:22:00+00:00\",\"dateModified\":\"2024-10-23T11:22:02+00:00\",\"description\":\"Explore Microsoft internship interview questions and answers to help you succeed and confidently secure your dream internship opportunity at Microsoft.\",\"breadcrumb\":{\"@id\":\"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/internshala.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Job Tips\",\"item\":\"https:\/\/internshala.com\/blog\/job-tips\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Interview Guide\",\"item\":\"https:\/\/internshala.com\/blog\/job-tips\/interview-guide\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Microsoft Internship Interview Questions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/internshala.com\/blog\/#website\",\"url\":\"https:\/\/internshala.com\/blog\/\",\"name\":\"Internshala blog\",\"description\":\"Your favourite senior outside college\",\"publisher\":{\"@id\":\"https:\/\/internshala.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/internshala.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/internshala.com\/blog\/#organization\",\"name\":\"Internshala blog\",\"url\":\"https:\/\/internshala.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/internshala.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2023\/08\/LOGO-1.png\",\"contentUrl\":\"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2023\/08\/LOGO-1.png\",\"width\":112,\"height\":31,\"caption\":\"Internshala blog\"},\"image\":{\"@id\":\"https:\/\/internshala.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/internshala.com\/blog\/#\/schema\/person\/e9d693573cfd7df9145f7f1a0f6e523b\",\"name\":\"Shailja Kaushik\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/internshala.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2023\/09\/Shailja-Kaushik-96x96.jpg\",\"contentUrl\":\"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2023\/09\/Shailja-Kaushik-96x96.jpg\",\"caption\":\"Shailja Kaushik\"},\"description\":\"Shailja Kaushik has been an Editor with Internshala since March 2023. She loves creative writing and experimenting with different forms of writing. She has explored different genres by working with journals and radio stations. She has also published her poems and nano tales in various anthologies. She graduated at the top of her class with Bachelor's in English and recently completed her Master's in English from the University of Delhi. Her experiments with writing continue on her literary blog.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/shailja-kaushik\/\"],\"url\":\"https:\/\/internshala.com\/blog\/author\/shailja\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Top 36 Microsoft Internship Interview Questions and Answers","description":"Explore Microsoft internship interview questions and answers to help you succeed and confidently secure your dream internship opportunity at Microsoft.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/","og_locale":"en_US","og_type":"article","og_title":"Top 36 Microsoft Internship Interview Questions and Answers","og_description":"Explore Microsoft internship interview questions and answers to help you succeed and confidently secure your dream internship opportunity at Microsoft.","og_url":"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/","og_site_name":"Internshala blog","article_published_time":"2024-10-23T11:22:00+00:00","article_modified_time":"2024-10-23T11:22:02+00:00","og_image":[{"width":390,"height":255,"url":"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2024\/10\/microsoft-internship-interview-questions.png","type":"image\/png"}],"author":"Shailja Kaushik","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Shailja Kaushik","Est. reading time":"15 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/#article","isPartOf":{"@id":"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/"},"author":{"name":"Shailja Kaushik","@id":"https:\/\/internshala.com\/blog\/#\/schema\/person\/e9d693573cfd7df9145f7f1a0f6e523b"},"headline":"Top 36 Microsoft Internship Interview Questions and Answers","datePublished":"2024-10-23T11:22:00+00:00","dateModified":"2024-10-23T11:22:02+00:00","mainEntityOfPage":{"@id":"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/"},"wordCount":3209,"publisher":{"@id":"https:\/\/internshala.com\/blog\/#organization"},"keywords":["microsoft intern interview questions","microsoft internship interview questions"],"articleSection":["Interview Guide"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/","url":"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/","name":"Top 36 Microsoft Internship Interview Questions and Answers","isPartOf":{"@id":"https:\/\/internshala.com\/blog\/#website"},"datePublished":"2024-10-23T11:22:00+00:00","dateModified":"2024-10-23T11:22:02+00:00","description":"Explore Microsoft internship interview questions and answers to help you succeed and confidently secure your dream internship opportunity at Microsoft.","breadcrumb":{"@id":"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/internshala.com\/blog\/microsoft-internship-interview-questions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/internshala.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Job Tips","item":"https:\/\/internshala.com\/blog\/job-tips\/"},{"@type":"ListItem","position":3,"name":"Interview Guide","item":"https:\/\/internshala.com\/blog\/job-tips\/interview-guide\/"},{"@type":"ListItem","position":4,"name":"Microsoft Internship Interview Questions"}]},{"@type":"WebSite","@id":"https:\/\/internshala.com\/blog\/#website","url":"https:\/\/internshala.com\/blog\/","name":"Internshala blog","description":"Your favourite senior outside college","publisher":{"@id":"https:\/\/internshala.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/internshala.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/internshala.com\/blog\/#organization","name":"Internshala blog","url":"https:\/\/internshala.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/internshala.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2023\/08\/LOGO-1.png","contentUrl":"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2023\/08\/LOGO-1.png","width":112,"height":31,"caption":"Internshala blog"},"image":{"@id":"https:\/\/internshala.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/internshala.com\/blog\/#\/schema\/person\/e9d693573cfd7df9145f7f1a0f6e523b","name":"Shailja Kaushik","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/internshala.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2023\/09\/Shailja-Kaushik-96x96.jpg","contentUrl":"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2023\/09\/Shailja-Kaushik-96x96.jpg","caption":"Shailja Kaushik"},"description":"Shailja Kaushik has been an Editor with Internshala since March 2023. She loves creative writing and experimenting with different forms of writing. She has explored different genres by working with journals and radio stations. She has also published her poems and nano tales in various anthologies. She graduated at the top of her class with Bachelor's in English and recently completed her Master's in English from the University of Delhi. Her experiments with writing continue on her literary blog.","sameAs":["https:\/\/www.linkedin.com\/in\/shailja-kaushik\/"],"url":"https:\/\/internshala.com\/blog\/author\/shailja\/"}]}},"_links":{"self":[{"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/posts\/25553"}],"collection":[{"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/users\/6498"}],"replies":[{"embeddable":true,"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/comments?post=25553"}],"version-history":[{"count":0,"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/posts\/25553\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/media\/25554"}],"wp:attachment":[{"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/media?parent=25553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/categories?post=25553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/tags?post=25553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}