구글 문제 귀찮아서 이제 대충 뜻만...
In a country in which people only want boys……every family continues to have children until they
남자만 원하는 나라가 있다. 그래서 소년이 나올 때까지 낳는다.
have a boy. If they have a girl, they have another child. If they have a boy, they stop. What is
딸이면 계속 낳는다.
the proportion of boys to girls in the country?
아들과 딸 비율은 어떰?
Job: Product Manager
프로덕트 매니저는 빡세.
Answer: This one caused quite the debate, but we figured it out following these steps:
이건 논쟁을 초래하는 거지만 다음과 같이 정리한돠.
Imagine you have 10 couples who have 10 babies. 5 will be girls. 5 will be boys. (Total babies made: 10, with 5 boys and 5 girls)
10명의 아기가 있는 10 커플이 있는데 5:5다.
The 5 couples who had girls will have 5 babies. Half (2.5) will be girls. Half (2.5) will be boys.
5커플은 5아기가 있다. 2.5명이 여자, 2.5명이 남자다.
Add 2.5 boys to the 5 already born and 2.5 girls to the 5 already born. (Total babies made: 15,
2.5명의 남자를 기존의 5명에, 그리고 여자도 똑같이 더하면 총 아기는 15명이 된다. 7.5명 남자 7.5명 여자
with 7.5 boys and 7.5 girls.)
The 2.5 couples that had girls will have 2.5 babies. Half (1.25) will be boys and half (1.25) will
2.5 커플은 2.5명의 아기가 있다. 1.25는 남자 1.25는 여자
be girls. Add 1.25 boys to the 7.5 boys already born and 1.25 girls to the 7.5 already born.
1.25명의 남자를 기존의 7.5명에 더하고 1.25명의 여자를 기존의 7.5명에 더하면
(Total babies: 17.5 with 8.75 boys and 8.75 girls).
17.5명중에 8.75가 남자 8.75가 여자다.
And so on, maintianing a 50/50 population.
그래서 1대 1이다.
먼 개솔이여 ㅡㅡ;
일전에 내가 푼 답이 맞는 것 같다.
Read more: http://www.businessinsider.com/answers-to-15-google-interview-questions-that-will-make-you-feel-stupid-2009-11?op=1#ixzz20JVtGPL2
2012년 7월 11일 수요일
피드 구독하기:
댓글 (Atom)
UPBIT is a South Korean company, and people died of suicide cause of coin investment.
UPBIT is a South Korean company, and people died of suicide cause of coin. The company helps the people who control the market price manipu...
-
XE(제로보드) 내 게시판의 첨부용량 변경 ㅁ 개요 ↑ XE 구축시 초기 첨부파일 용량은 2M로 제한되어 있음에 데이터 자료실을 만들기 위해 용량을 명령어를 이용하여 추가 혹은 감소 시키도록 하고자 한다. ㅁ 구현 ↑ 처음 ...
-
일단 ssh 프로그램으로 apm 셋팅을 하려고 했으나 apt-get이 계속 파일 위치를 잡지 못했다. (404 not found....) 그래서 구글링 결과 apt의 리스트 변수 목록을 제거하고 새로 업데이트 하는 명령어를 찾음 :)...
-
□ native modifier 는 자바가 아닌 다른 언어로 작성된 코드를 자바에서 사용하기 위한 것 □ transient modifier 는 객체가 직렬 화되는 과정에서 해당 필드가 저장되지 않아야 한다는 것을 알리기 위해 사용 ...
댓글 없음:
댓글 쓰기
국정원의 댓글 공작을 지탄합니다.