去哪儿网2014校园招聘技术笔试题(成都站,开发岗)——2014.09.23

编程题,开发岗三道都必做,前端岗和测试岗前两道必做

 

1. implement a function of String randomAlphabetic(int count)

Creats a random string whose length is the number of characters specified;

Characters will be chosen from the set of alpabetic characters.

 

2. 已知字母序列【d, g, e, c, f, b, o, a】,请实现一个函数针对输入的一组字符串 input[] = {"bed", "dog", "dear", "eye"},按照字母顺序排序并打印。

本例的输出顺序为:dear, dog, eye, bed。

 

3. 有一万个北京单身男女向你提交了基本资料,包括:姓名、性别、年龄、星座,写一段程序尝试找出他们最匹配的一对。

 

 

posted @ 2013-09-24 10:02  沉默的猿  阅读(1231)  评论(0编辑  收藏  举报
AmazingCounters.com
给我写信