Jump to content

How many zeroes will he need?


Recommended Posts

Posted

A certain street has 1000 buildings. A sign-maker  is contracted to number the houses from 1 to 1000.

How many zeroes will he need?
Posted

[quote author=Nalla_Balu link=topic=101411.msg1078176#msg1078176 date=1285190642]
30  sCo_hmmthink sCo_hmmthink
[/quote]
[quote author=mba link=topic=101411.msg1078183#msg1078183 date=1285190722]
102 sCo_hmmthink
[/quote]

ne telivi santha kela. sariga alochinchu..

Posted

[quote author=Something Special link=topic=101411.msg1078188#msg1078188 date=1285190779]
ne telivi santha kela. sariga alochinchu..
[/quote]201  sCo_hmmthink

Posted

[quote author=Something Special link=topic=101411.msg1078152#msg1078152 date=1285190320]

A certain street has 1000 buildings. A sign-maker  is contracted to number the houses from 1 to 1000.

How many zeroes will he need?
[/quote]

212

Posted

first chinna clarity ni question lo building house okatena  sSc_hiding2 sSc_hiding2

Posted

The sign-maker will need 192 zeroes.

Divide 1000 building numbers into groups of 100 each as follow:
(1..100), (101..200), (201..300), ……. (901..1000)

For the first group, sign-maker will need 11 zeroes.
For group numbers 2 to 9, he will require 20 zeroes each.
And for group number 10, he will require 21 zeroes.

The total numbers of zeroes required are
= 11 + 8*20 + 21
= 11 + 160 + 21
= 192

Source:- [url=http://programminginterviewquestions.com/interview-questions/ow-many-zeroes-will-be-needed/2871/]http://programminginterviewquestions.com/interview-questions/ow-many-zeroes-will-be-needed/2871/[/url]  sSc_hiding2 sSc_hiding2 sSc_hiding2

Posted

[quote author=anticastepolicy link=topic=101411.msg1078208#msg1078208 date=1285191003]
The sign-maker will need 192 zeroes.

Divide 1000 building numbers into groups of 100 each as follow:
(1..100), (101..200), (201..300), ……. (901..1000)

For the first group, sign-maker will need 11 zeroes.
For group numbers 2 to 9, he will require 20 zeroes each.
And for group number 10, he will require 21 zeroes.

The total numbers of zeroes required are
= 11 + 8*20 + 21
= 11 + 160 + 21
= 192

Source:- [url=http://programminginterviewquestions.com/interview-questions/ow-many-zeroes-will-be-needed/2871/]http://programminginterviewquestions.com/interview-questions/ow-many-zeroes-will-be-needed/2871/[/url]  sSc_hiding2 sSc_hiding2 sSc_hiding2
[/quote] @3$% @3$% *=:

Posted

Permutations and combinations ani edho vuntadhi kadaa.......dhaanitho raadaa................... sCo_hmmthink sCo_hmmthink sCo_hmmthink sCo_hmmthink sCo_hmmthink sCo_hmmthink sCo_hmmthink

Posted

[quote author=anticastepolicy link=topic=101411.msg1078208#msg1078208 date=1285191003]
The sign-maker will need 192 zeroes.

Divide 1000 building numbers into groups of 100 each as follow:
(1..100), (101..200), (201..300), ……. (901..1000)

For the first group, sign-maker will need 11 zeroes.
For group numbers 2 to 9, he will require 20 zeroes each.
And for group number 10, he will require 21 zeroes.

The total numbers of zeroes required are
= 11 + 8*20 + 21
= 11 + 160 + 21
= 192

Source:- [url=http://programminginterviewquestions.com/interview-questions/ow-many-zeroes-will-be-needed/2871/]http://programminginterviewquestions.com/interview-questions/ow-many-zeroes-will-be-needed/2871/[/url]  sSc_hiding2 sSc_hiding2 sSc_hiding2
[/quote] sHa_clap4 sHa_clap4 sHa_clap4

Posted

[quote author=bhrami link=topic=101411.msg1078217#msg1078217 date=1285191135]
192
[/quote]

Neenu paina eppudu BOLD chesi mari cheppina kadha?  *7*^ *7*^

Buildingu, house oketana ani malli edhava doubt okati! [img]http://i45.tinypic.com/dh7gv5.jpg[/img]

Posted

[quote author=anticastepolicy link=topic=101411.msg1078208#msg1078208 date=1285191003]
The sign-maker will need 192 zeroes.

Divide 1000 building numbers into groups of 100 each as follow:
(1..100), (101..200), (201..300), ……. (901..1000)

For the first group, sign-maker will need 11 zeroes.
For group numbers 2 to 9, he will require 20 zeroes each.
And for group number 10, he will require 21 zeroes.

The total numbers of zeroes required are
= 11 + 8*20 + 21
= 11 + 160 + 21
= 192

Source:- [url=http://programminginterviewquestions.com/interview-questions/ow-many-zeroes-will-be-needed/2871/]http://programminginterviewquestions.com/interview-questions/ow-many-zeroes-will-be-needed/2871/[/url]  
[/quote]
sHa_clap4 sHa_clap4 sHa_clap4 sHa_clap4


but google sesav kabati neku no credits

×
×
  • Create New...