Chinaunix首页 | 论坛 | 博客
  • 博客访问: 175877
  • 博文数量: 47
  • 博客积分: 3053
  • 博客等级: 少校
  • 技术积分: 451
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-01 04:33
个人简介

malware/APT detection, silicon valley, entrepreneur, CTO, start-up operation, team build, Nanjing/Beijing, if you want to do creative things, join the adventure.

文章分类

全部博文(47)

分类: IT职场

2009-07-24 14:06:32

I am trying to summarize questions asked during interview.

Testing and function design:
1. Given a function that does date sorting, date in format 07/22/2009, please come up with some testing cases.

2. A function takes 3 integers as input and identify whether those values can form a equilateral triangle, or isosceles triangle, or right triangle. come up with some test cases.


3. Given a none-blocking multi-concurrent connection enabled app, for example a SMTP server, how to make sure data sent back and forth are between correct pair, not mixed,

Programming:
1. regular expression for identify a valid IP address

2. reverse words in a sentence, try to use minimum buffer

3. replace white spaces in source code with TAB, and need keep the format intact,

4. write a function that takes an integer array, return 1 when numbers are consecutive, return 0 when not.

5. write a function that takes amount of money, and then list all possible combination of changes

OS and Computer Science:
- How the dead lock happens? How to avoid?
- Interrupt, IRQ

- What happens next after calling CreateProcess?
- How to trouble shoot when CPU usage is high?
- How to identify a program leaking memory or not?

- What is file descriptor leaking?
- How to close a socket connection? What does those status mean in netstat?
- What is TCP backlog?
阅读(870) | 评论(0) | 转发(0) |
0

上一篇:Code Coverage Analysis

下一篇:SMTP reply codes

给主人留下些什么吧!~~