Microsoft Data Scientist Coding & Algorithms Interview Questions
Master your tech interview with our curated database of real questions from top companies.
4Questions
1Company
4 Questions 1 Company
Showing 4 results
Microsoft
Medium
Data ScientistSolve two-pointer, sliding-window, and string tasks
Solve the following three coding tasks: 1) Two-pointer in-place de-duplication: Given a non-decreasing integer array nums and an integer k >= 1, modif...
Coding & Algorithms
0
0
Oct 13, 2025
Microsoft
Hard
Data ScientistImplement lower_bound on unknown-size sorted array
Lower Bound in Unknown-Length Nondecreasing Array via API Setup You are given a non-decreasing integer array A of unknown length n. You cannot access ...
Coding & Algorithms
0
0
Oct 13, 2025
Microsoft
Medium
Data ScientistImplement rotated array binary search with duplicates
Given an integer array nums that is a non-decreasing array rotated an unknown number of times. Duplicates may exist. Implement a function that returns...
Coding & Algorithms
0
0
Oct 13, 2025
Microsoft
Easy
Data ScientistReverse a list in-place
Coding Task: Reverse a List In-Place (Python) Context You're implementing a utility function during a technical screen. The function must reverse a Py...
Coding & Algorithms
0
0
Oct 13, 2025