Redian新闻
>
train table & train set 需要粘起来么?
avatar
train table & train set 需要粘起来么?# Parenting - 为人父母
m*y
1
在这个版上受益多多,今天也贡献点
题目都不难,可惜自己太紧张,答的结结巴巴
1. introduce yourself
2. walk me through your projects
3. how to test your projects (choose 1 of them)
4. what is OO design
5. what is the difference of override and overload
6. what is the difference of array and linked list
7. coding: return the first unrepeated character from a string
and how to test it
8. any question?
avatar
s*0
2
小子一岁半,但是非常喜欢玩火车。我们给买了一套train table & train set,但每
次他玩到最后就喜欢去拆铁轨,我和LD经常要重新搭(他自己还不会搭)。。。。不知
道可不可以用胶水把他们粘起来?
avatar
h*8
3
赞, and bless

【在 m***y 的大作中提到】
: 在这个版上受益多多,今天也贡献点
: 题目都不难,可惜自己太紧张,答的结结巴巴
: 1. introduce yourself
: 2. walk me through your projects
: 3. how to test your projects (choose 1 of them)
: 4. what is OO design
: 5. what is the difference of override and overload
: 6. what is the difference of array and linked list
: 7. coding: return the first unrepeated character from a string
: and how to test it

avatar
m*s
4
no no no
one day he will be able to build himself
avatar
z*a
5
Bless
avatar
l*n
6
I did.我是学书店那样用钉子钉在桌面上,玩了一阵子。后来搬家就拆下来了。
★ Sent from iPhone App: iReader Mitbbs 7.28 - iPad Lite
avatar
c*u
7
bless
avatar
c*t
8
7. 问的是什么?
是不是给个string,比如 "abcdefgaacgd",要返回b,还是要返回b的index?
是不是要做两次scan,要用一个数组存字符出现的次数,第一次scan,update存次数的
数组,
第二次scan,返回第一个次数等于1的字符?
谢谢!

【在 m***y 的大作中提到】
: 在这个版上受益多多,今天也贡献点
: 题目都不难,可惜自己太紧张,答的结结巴巴
: 1. introduce yourself
: 2. walk me through your projects
: 3. how to test your projects (choose 1 of them)
: 4. what is OO design
: 5. what is the difference of override and overload
: 6. what is the difference of array and linked list
: 7. coding: return the first unrepeated character from a string
: and how to test it

avatar
h*n
9
是的,就是这个思路,数组的size=256即可

【在 c*********t 的大作中提到】
: 7. 问的是什么?
: 是不是给个string,比如 "abcdefgaacgd",要返回b,还是要返回b的index?
: 是不是要做两次scan,要用一个数组存字符出现的次数,第一次scan,update存次数的
: 数组,
: 第二次scan,返回第一个次数等于1的字符?
: 谢谢!

avatar
h*n
10
bless
avatar
r*y
11
7, should return the first repeated ?

【在 m***y 的大作中提到】
: 在这个版上受益多多,今天也贡献点
: 题目都不难,可惜自己太紧张,答的结结巴巴
: 1. introduce yourself
: 2. walk me through your projects
: 3. how to test your projects (choose 1 of them)
: 4. what is OO design
: 5. what is the difference of override and overload
: 6. what is the difference of array and linked list
: 7. coding: return the first unrepeated character from a string
: and how to test it

avatar
c*p
12
这样的话还得记录字符第一次出现的位置。
是不是可以这样搞:
第一遍的时候先初始化成0,
某个字符第一次出现的时候记录出现的位置(第一个字符记为1),
第二次出现的时候(即该字符对应的值大于0)记为-1。
然后第二遍再扫一遍就可以。

【在 c*********t 的大作中提到】
: 7. 问的是什么?
: 是不是给个string,比如 "abcdefgaacgd",要返回b,还是要返回b的index?
: 是不是要做两次scan,要用一个数组存字符出现的次数,第一次scan,update存次数的
: 数组,
: 第二次scan,返回第一个次数等于1的字符?
: 谢谢!

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。