구글 문제 귀찮아서 이제 대충 뜻만...
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로 제한되어 있음에 데이터 자료실을 만들기 위해 용량을 명령어를 이용하여 추가 혹은 감소 시키도록 하고자 한다. ㅁ 구현 ↑ 처음 ...
-
이제 클라우드 서버에 커뮤니티 구축을 위한 첫번째 과제로 VMware / Ubuntu / apt-get 을 키워드로 구글링하여 로컬호스트에 apm세팅하려고 한다. Vmware의 경우 하나의 컴퓨터에 가상 PC를 설치하여 여러 운영...
-
어제 들었던 원격접속과 관련해 mstsc 명령어에 대하여 쉽고 빠르게 원격접속을 할 수 있어 매우 유용한데, 대다수의 대학생들이 모를 것 같아 간단하게 정리하려 한다. ㅁ 내 컴퓨터 속성 -> 원격제어 설정 ㅁ 다음과...
댓글 없음:
댓글 쓰기
국정원의 댓글 공작을 지탄합니다.