Citi Interview Question: how many combinations that ha... | Glassdoor

Interview Question

Quantitative Analyst Interview(Student Candidate) New York, NY

how many combinations that have at least one five from zero

  to 1000
Answer

Interview Answer

8 Answers

2

it's 271

Interview Candidate on Oct 4, 2010
5

xyz
x=5, y(0..9) z(0..9) => 10x10 = 100
y=5 x(0..4,6..9) z(0..9) => 9x10 = 90
z=5 x(0..4,6..9) y(0..4,6..9) => 9x9 =81

100+90+81 = 271

Kebzor on May 1, 2011
0

10! - 9!

Joshua on Oct 19, 2011
8

typo...10^3-9^3

Joshua on Oct 19, 2011
0

Isn't it 111 since he said combination and not permutation?
Don't 252 and 225 and 522 count as one?

Nafis on Nov 27, 2012
0

271.

Mr.Stock on Jan 29, 2014
0

295.
1 digit: 1
2 digits: 10+9=19
3 digits: 100+90+81=271
total: 295

Anonymous on Dec 22, 2018
0

271

Anonymous on Apr 12, 2019

Add Answers or Comments

To comment on this, Sign In or Sign Up.