- 博客(11)
- 资源 (7)
- 收藏
- 关注
原创 面试题10:Vasya - Clerk
The new “Avengers” movie has just been released! There are a lot of people at the cinema box office standing in a huge line. Each of them has a single 100, 50 or 25 dollars bill. A “Avengers” ticket co
2017-09-26 08:56:39 432
原创 面试题09:Calculate mean and concatenate string
You will be given an array which will include both integers and characters. Return an array of length 2 with a[0] representing the mean of the ten integers as a floating point number. There will alway
2017-09-23 19:14:51 248
原创 面试题08:Calculate BMI
Write function bmi that calculates body mass index (bmi = weight / height ^ 2). if bmi <= 18.5 return “Underweight” if bmi <= 25.0 return “Normal” if bmi <= 30.0 return “Overweight” if bmi > 30 ret
2017-09-23 19:09:30 426
原创 面试题07:Count the smiley faces!
Description : Given an array (arr) as an argument complete the function countSmileys that should return the total number of smiling faces.Rules for a smiling face: -Each smiley face must contain a val
2017-09-21 19:35:23 572
原创 面试题06:一串英文数字转换成阿拉伯数字
已知:zero,one,two,three,four,five,six,seven,eight,nine分别对应0,1,2,3,4,5,6,7,8,9,对每一段含有这几种字符串的字符串进行转换,如: 输入:nineeightsevensixfivefourthreetwoonezero 输出:9876543210 数字的先后顺序不考虑。 代码:public static String eng
2017-09-21 16:02:24 6501 1
原创 面试题05:Jaden Casing Strings
Jaden Smith, the son of Will Smith, is the star of films such as The Karate Kid (2010) and After Earth (2013). Jaden is also known for some of his philosophy that he delivers via Twitter. When writing
2017-09-18 16:12:58 771
原创 面试题04:Mind the Gap
Background: *If you visit London and travel on the Tube, you might hear the announcer say, “Mind the gap!” Usually this is to do with the gap between the train and the platform. Recently, another typ
2017-09-18 16:07:00 810
原创 面试题03:Sum of odd numbers
Given the triangle of consecutive odd numbers: 1 3 5 7 9 11 13 15 17 1921 23 25 27 29...*Calculate the row sums of this triangle from th
2017-09-11 23:34:07 782
原创 面试题02:Delete occurrences of an element if it occurs more than n times
题目描述: Alice and Bob were on a holiday. Both of them took many pictures of the places they’ve been, and now they want to show Charlie their entire collection. However, Charlie doesn’t like this sessi
2017-09-11 23:19:37 507
原创 面试题--01
之前在面试的时候碰到的小题目,不难,但是对于这道题的解法还是有很多意思的。求字符串中出现的第一个不重复的字符 如acdefcad 返回 e 。解法一:先将字符串变成字符数组,利用HashMap存储字符,key为字符,value为字符的个数。最后从头开始循环字符数组并与HashMap对比得到结果。 String str = "fjSfjldsjfdlsJFLjfdjfkldsJFFFFFFFFJ
2017-09-01 19:36:59 183
尚硅谷Linux学习笔记(不包含shell)超级详细版
2018-08-13
尚硅谷SVN高级
2018-04-13
尚硅谷最新MySQL基础178集下载
2017-10-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人