设为首页 加入收藏

TOP

英文算法面试题Algorithms
2014-11-24 02:07:11 来源: 作者: 【 】 浏览:47
Tags:英文 算法 试题 Algorithms

* 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


】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Java-Web 程序员笔试题 下一篇我的华为面试流水账

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: