May 2009 - May 2017 论坛八周年-你的足迹,我的骄傲



查看: 2143|回复: 6

雅虎电面面经 - Yahoo

[复制链接] |试试Instant~ |关注本帖
James1991 发表于 2016-4-18 07:38:26 | 显示全部楼层 |阅读模式

2016(1-3月) 码农类 硕士 全职@Yahoo - 内推 - 技术电面 |Pass在职跳槽


您需要 登录 才可以下载或查看,没有帐号?获取更多干活,快来注册

看了地里好多面经,来发一个Yahoo的电面攒攒人品。Yahoo in Sunnyvale。楼主在职跳槽,电面已过,45分钟,问了好多问题。。。每题请按照1.2.3 -> a.b.c -> i, ii, iii 查看。
希望大家好运。  :)

  • Virtual memory:

    • What is virtual memory?
    • What is the limitation of the virtual memory size?
    • Why is 32 bits system memory space limited to 4G?
    • Why should people use 64 bit system if 32 bit memory space is good enough?
    • How to write 60G data to 64G memory on 32 bit system with 4G memory space?

      • If a single process cannot do it, shall I use multiple process?
      • How shall I know which process I shall turn to when I read/write?

  • Thread:

    • What is thread and process? What is the difference?
    • Why is thread called a lightweight process? Where is it lightweight?
    • Why we shall use multi-thread or multi-process?
    • In what case is multi-process better than multi-thread? *
      . more info on
  • TreeMap:

    • There is an address book with names and address, what is the data structure you shall use if I want to output all names in order?
    • What is the time complexity for a search? What is the worst case?
    • What is a balanced BST, what is the cost to keep it balanced when insertion?

  • Save the kth element:

    • Given a big file, how to read back the kth last line by only reading the file once.
    • Two pointer is equivalent to read it twice.
    • What if I want to save the time for enqueue and dequeue.

      • Just use a cyclic array, and it shall be fine.

  • Yahoo Messenger system:

    • How to implement a Yahoo Messenger system?
    • What shall be used to store values? What shall be stored?
    • How is client talk to the server? Is it directly talk to a data base?
    • How to know if a person is online or not? *

      • What if push and pull model take too much resource?
      • How to speed up checking if lookup database take too much time?
      • How to avoid update too frequent.
      • How about store it in the memory?

    • What if your friend is in Europe and you are in Asia?

      • Are all you guys data on the same server? *
      • If not same server, how to coordinate?
      • If not same server, how to get your friend list and talk to each other?
        . 鐣欏鐢宠璁哄潧-涓浜╀笁鍒嗗湴
  • Design a general BST without Java Generics *

    • What type should be stored in the BST node?
    • How to compare it?
    • What will happen when you inherit functions from a parent class? . 1point 3acres 璁哄潧




mingzhou1987 发表于 2016-4-18 08:25:49 | 显示全部楼层
回复 支持 反对

使用道具 举报

tongjiyiming 发表于 2016-4-22 07:07:49 | 显示全部楼层
回复 支持 反对

使用道具 举报

思翊要出国 发表于 2016-4-30 20:48:22 | 显示全部楼层
tongjiyiming 发表于 2016-4-22 07:07
先祝楼主好运!. more info on
我今天收到一个Yahoo的电面邀请,约了5/3电面。我自己的情况是还没有怎么刷题。请问,有什 ...

5.3! 天, yahoo 还在要人么?。。
回复 支持 反对

使用道具 举报

magicxiaobo 发表于 2016-4-30 22:33:40 | 显示全部楼层
回复 支持 反对

使用道具 举报

caiqi8877 发表于 2016-8-17 13:53:22 | 显示全部楼层
回复 支持 反对

使用道具 举报

janicewang 发表于 2016-11-18 12:50:52 | 显示全部楼层
给楼主点个赞! 好厉害... 短短的45分钟里,面试了一小本教科书的赶脚....
回复 支持 反对

使用道具 举报



一亩三分地推荐上一条 /5 下一条

手机版|小黑屋|一亩三分地论坛声明 ( 沪ICP备11015994号 )

custom counter

GMT+8, 2017-5-28 10:16

Powered by Discuz! X3

© 2001-2013 Comsenz Inc. Design By HUXTeam

快速回复 返回顶部 返回列表