面试总结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
浙公网安备 33010602011771号