Microsoft面试试题

时间:2022-05-08 16:23:01 面试试题 我要投稿
  • 相关推荐

Microsoft面试试题

  Algorithms

Microsoft面试试题

  * What"s the difference between a linked list and an array?

  * Implement an algorithm to sort a linked list。 Why did you pick the method you did?

  * Implement an algorithm to sort an array。 Why did you pick the method you did?

  * Implement strstr() (or some other string library function)。

  * Reverse a string。 Optimize for speed。 Optimize for space。

  * Count the number of set bits in a number。 Now optimize for speed。 Now optimize for size。

  * How would you find a cycle in a linked list?

  * Give me an algorithm to shuffle a deck of cards, given that the cards are stored in an array of ints。

  * Write a function that takes in a string parameter and checks to see whether or not it is an integer, and if it is then return the integer value。

  * Write a function to print all of the permutations of a string。

  * Implement malloc。

  * Write a function to print the Fibonacci numbers。

  * Write a function to copy two strings, A and B。 The last few bytes of string A overlap the first few bytes of string B。

  * How would you print out the data in a binary tree, level by level, starting at the top?

【Microsoft面试试题】相关文章:

微软的面试题11-18

面试题的妙答11-17

DSP面试试题11-17

微软经典面试题05-12

面试题的考查点11-18

Zappos的面试题目11-18

服从意识的面试题11-17

电气行业面试的热点试题11-17

硅谷的趣味面试题11-17

实习经历与面试题11-22