• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

kangye

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

View Post

面试总结1

微创:
这是一家上市公司,办公地点在微软大厦,作为一名.NET开发工程师,微软大厦无意不是一个神圣的地方。
微创公司主要考察的是算法,尤其是操作字符串的算法。笔试是全英文,虽然没有懂全部的意思,但是我搞清楚了大概意思。
下面是我的面试题:
1. Rules:
a. all number contain 3 should be replaced by fizz.such as 13
b. all number contain 5 should be replaced by buzz.such as 15
c. all number that be divited by 3 witout remoainder should be replaced by fizz.such as 66
d. all number that be divited by 5 witout remoainder should be replaced by buzz.such as 55
e. in particular.numbers that satisty more than i rule should oppend all
apply .such as 15->fizzbuzzbuzz.the order doesn't matter.
Hints
How does the game go?
Computer prints a number.You type a response.If it's wrong.
What about things that are important but not mentioned?
Think for yourself about the reasonable solution.

这是第一道面试题,自己只能记住这么多了。我来说一下大概意思:两个人玩游戏,一个人说出一个小于999的数字,第二个人加1,当说出的数字子满足上面的规则时候,不要输出数字,要用字母代替
例如:15,我们说成fizzbuzzbuzz,单词顺序可以进行更换。

 

2.Write a program to count the words in English text file in C,C++,C# or java
The input is a line by line English Text file.Below is an example;
Hi,this is first line.
This is second line.
Output should be like below.Output the words and the occurrence of the words line by line
Hi 1
this 2
is 2
first 1
second 1
line 2
free to use the standard library of the language you choose.
这是第二道题,这道题用键值对,dictionary

posted on 2016-06-30 21:00  kangye  阅读(134)  评论(0)    收藏  举报

刷新页面返回顶部
 
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3