由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
SanFrancisco版 - java 面试题求解
相关主题
问个turbo tax报税的问题遭遇美国警察,无语----
大家把Citi信用卡都关了吗?要换加州驾照了
职业选择:从化学博士到大厨~~ (转载)问个 iphone JB 的问题
how to insert youtube here?[合集] 值不值得投资这个人?
请问Bay area 哪里有卖fireplace上面的mantel和insertion?一道 中学数学题求助
How many people find out that google homepage pacman is in fact a real playable game?购物季节爱心行动,请您通过eBay为OCEF捐款吃大包子 (转载)
快去看今天google主页Ebay announces 30% commission policy
公民interview都做些什么?父母快要回国了
相关话题的讨论汇总
话题: write话题: problem话题: string话题: method话题: given
进入SanFrancisco版参与讨论
1 (共1页)
f*****o
发帖数: 1151
1
请问一下JAVA考题最佳算法是啥?
Problem 1:
Write a method which given two integers, returns the integer that is closest
to 1000.
Problem 2:
Write a method which given a string, returns a string where every character
in the original is doubled. For example, given the string "xyz";, return the
string "xxyyzz";
Problem 3:
Write a method which takes an array of integers. The method should return
true if there is a way to split the array in two so that the sum of the
numbers on one side of the split equals the sum of the numbers on the other
side.
Problem 4
Write a method which given a string, returns a string with an asterisk
inserted between every character in the original. Use recursion in your
solution.
1 (共1页)
进入SanFrancisco版参与讨论
相关主题
父母快要回国了请问Bay area 哪里有卖fireplace上面的mantel和insertion?
有人DIY过 Re-entry permit 吗? (转载)How many people find out that google homepage pacman is in fact a real playable game?
请教如何给软件加个license (转载)快去看今天google主页
Plumber??公民interview都做些什么?
问个turbo tax报税的问题遭遇美国警察,无语----
大家把Citi信用卡都关了吗?要换加州驾照了
职业选择:从化学博士到大厨~~ (转载)问个 iphone JB 的问题
how to insert youtube here?[合集] 值不值得投资这个人?
相关话题的讨论汇总
话题: write话题: problem话题: string话题: method话题: given