Oversea company interview question.

 network, web, database, Linux system

Interview Questions

  • Given a list of numbers, find a fastest sort algorithm
  • Describe TCP hand shake process
  • Describe DB master-slave process
  • Describe the work process of a TCP proxy
  • Describe the ways to defend DDOS.
  • Describe what "quick sort" is, And explain its time complexity. 
  • What is "index" in SQL? 
  • Explain the difference between Treemap and Hashmap in Java  
  • How does a website's account login system work?  
  • How to reverse a doubly linked list with O(N) space complexity?
  • How to sort a single string without using any api/library functions with O(N) time complexity? 

1 hour of technical test (test consists of 2 parts: MCQ (24 questions of 4-choice, correct answers could be multiple), Algorithm (write a program on paper (can be written in C/C++/C#/Java)). Topics covered in MCQ: various sorting algorithms (e.g. Heap Sort, Insertion Sort, Merge Sort, Selection Sort) (mainly on the time complexity), TCP/IP fundamentals (structure of headers / properties of connection and connectionless protocols, hand shake, closure of connection), database (shared lock/exclusive lock, SQL statement), system stability calculation, computer science (page file basic (e.g. global to system or private to individual processes, CPU scheduling (What is the minimum unit for scheduling?, Little/Big Endian Byte Order), IPC mechanism (message queue, pipeline, semaphore), programming (mainly on interpreting the memory allocation for pointers/malloc()/array/string assignment). Question for Algorithm test: Without using standard library function, write a program that covert decimal to hexadecimal, check if the hexadecimal number is the same in forward order and reverse order (e.g. 0x3C3, 0x4B4 are the same in forward order and reverse order). HR questions: Reason for leaving? What do you think is required to be a great software engineer?  

转载于:https://my.oschina.net/u/203607/blog/736443

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值