cswork / 公司打开练习工作台

按题目类别 · Microsoft

Microsoft 编程与算法 面试题

Microsoft 编程与算法类面试准备:54 道面试题,来自候选人真实面试。在 CSWork 阅读、练习、模拟。

面试题
54
最近更新
2026-10-06
  1. 编程Sizes of 4-Connected Foreground Regions in a Binary Image, in Scan Order简单
  2. 编程Find Unique Zero-Sum Triplets中等
  3. 编程Find the First Value Repeated During a Left-to-Right Scan中等
  4. 编程Minimize the Largest Value When Picking at Least k Non-Adjacent Houses中等
  5. 编程Longest Single-Letter Substring After at Most k Letter Replacements中等
  6. 编程Maximize Equal Array Length After Contiguous Sum Merges中等
  7. 编程Find the Most Visited Track Position中等
  8. 编程Recover Sorted Digits from Scrambled English Number Words中等
  9. 编程Parse a Signed Integer in an Arbitrary Base中等
  10. 编程Keep Stable Unique Column Names Across Schema Changes中等
  11. 编程Convert a Hexadecimal Address to Dotted IPv4中等
  12. 编程Maximum Subarray Sum of an Array Repeated K Times中等
  13. 编程Insert Spaces to Rebuild a Sentence from Dictionary Words中等
  14. 编程Fewest Distinct Values to Delete So at Least Half the Array Is Removed中等
  15. 编程Maximize Points by Deleting Values and Their Neighbors中等
  16. 编程Count Binary Substrings with Two Equal Blocks中等
  17. 编程Count Non-Decreasing Arrays with Prescribed Digit Sums困难
  18. 编程Choose k Non-Adjacent Servers to Minimize the Largest Chosen Value中等
  19. 编程Sort Three Categories In Place中等
  20. 编程Implement K-Means and Detect Divisible Subarrays中等
  21. 编程Traverse a Matrix in Clockwise Spiral Order中等
  22. 编程Check a Linked List Palindrome Without Mutating It中等
  23. 编程Implement SQL Table and DNA Ordering中等
  24. 编程Implement a Snapshot Set Iterator中等
  25. 编程Find all balanced k in a permutation困难
  26. 编程Traverse an Org Chart by Level中等
  27. 编程Implement greedy decoding and beam search中等
  28. 编程Populate next pointers in a perfect binary tree中等
  29. 编程Fill rooms with nearest-gate distance中等
  30. 编程Return the k most frequent values in an array with a deterministic tie rule中等
  31. 面试Identify the Extra Directed Edge中等
  32. 面试Solve binary-tree reverse printing and LPS简单
  33. 编程Assemble DNA payload strings from tagged fragments中等
  34. 编程Find lowest common ancestor in tree中等
  35. 编程Find max consecutive elements with sum below target中等
  36. 编程Count integer pairs satisfying 1/x + 1/y = 1/N中等
  37. 编程Find shortest substring with n unique letters中等
  38. 面试Solve three scheduling and array problems中等
  39. 编程Reverse linked list in fixed-size groups中等
  40. 编程Merge multiple sorted arrays using min-heap中等
  41. 编程Implement a Tic-Tac-Toe game class中等
  42. 编程Design cache with least-recently-used eviction中等
  43. 编程Solve two-pointer, sliding-window, and string tasks中等
  44. 编程Implement rotated array binary search with duplicates中等
  45. 面试Implement tree traversals, BFS, and subsets generation中等
  46. 编程Solve load balancing and perfect pairs中等
  47. 编程Count k for consecutive-sum generator中等
  48. 面试Implement a generic tree Node class中等
  49. 面试Determine dictionary-based string segmentation中等
  50. 编程Maximize profit with bounded sell window中等
  51. 面试Determine most popular concert city中等
  52. 编程Solve binary-search knapsack & graph shortest path中等
  53. 编程Solve budget queries and shortest path中等
  54. 编程Compute sum of longest positive subarray中等