Click here to Skip to main content
15,390,899 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
PIEBALDconsult24-Jan-17 12:24
professionalPIEBALDconsult24-Jan-17 12:24 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Mike Hankey24-Jan-17 12:30
professionalMike Hankey24-Jan-17 12:30 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
TonyManso24-Jan-17 9:49
professionalTonyManso24-Jan-17 9:49 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Richard Deeming24-Jan-17 9:55
mveRichard Deeming24-Jan-17 9:55 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
TheGreatAndPowerfulOz24-Jan-17 10:55
MemberTheGreatAndPowerfulOz24-Jan-17 10:55 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
imzhangqin24-Jan-17 12:19
Memberimzhangqin24-Jan-17 12:19 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
PIEBALDconsult24-Jan-17 12:26
professionalPIEBALDconsult24-Jan-17 12:26 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Member 1286378724-Jan-17 23:00
MemberMember 1286378724-Jan-17 23:00 
Consider these by the length of the number we have 4 groups.

1-9
10-99
100-999
1000-1000

In the first three groups we only need to consider the first digit, the remaining digits will have an identical number of every digit 0-9, as they cover the complete range.

In the final group there is only one number, so it is trivial.

Group 1 adds 1 of 1-9.
Group 2 adds 10 of 1-9.
Group 3 adds 100 of 1-9.
Group 4 adds 1 of 1 and 3 of 0.

This makes 1 the most common (by 1) and 0 the least common.
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter24-Jan-17 23:18
professionalKornfeld Eliyahu Peter24-Jan-17 23:18 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Member 1286378724-Jan-17 23:16
MemberMember 1286378724-Jan-17 23:16 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter24-Jan-17 23:19
professionalKornfeld Eliyahu Peter24-Jan-17 23:19 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Member 1286378725-Jan-17 4:49
MemberMember 1286378725-Jan-17 4:49 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Chris C-B25-Jan-17 0:27
MemberChris C-B25-Jan-17 0:27 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Kornfeld Eliyahu Peter25-Jan-17 0:36
professionalKornfeld Eliyahu Peter25-Jan-17 0:36 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Chris C-B25-Jan-17 1:44
MemberChris C-B25-Jan-17 1:44 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
Member 798912225-Jan-17 0:31
MemberMember 798912225-Jan-17 0:31 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
gervacleto25-Jan-17 1:40
professionalgervacleto25-Jan-17 1:40 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 24th of January, 2017 Pin
RussTheMan25-Jan-17 3:51
MemberRussTheMan25-Jan-17 3:51 
GeneralStackOverflow down? Pin
Afzaal Ahmad Zeeshan24-Jan-17 6:51
mveAfzaal Ahmad Zeeshan24-Jan-17 6:51 
GeneralRe: StackOverflow down? Pin
Dave Kreskowiak24-Jan-17 6:54
mveDave Kreskowiak24-Jan-17 6:54 
GeneralRe: StackOverflow down? Pin
Afzaal Ahmad Zeeshan24-Jan-17 7:05
mveAfzaal Ahmad Zeeshan24-Jan-17 7:05 
GeneralRe: StackOverflow down? Pin
Dave Kreskowiak24-Jan-17 7:10
mveDave Kreskowiak24-Jan-17 7:10 
GeneralRe: StackOverflow down? Pin
Pualee24-Jan-17 7:23
MemberPualee24-Jan-17 7:23 
GeneralRe: StackOverflow down? Pin
Pualee24-Jan-17 7:25
MemberPualee24-Jan-17 7:25 
GeneralRe: StackOverflow down? Pin
Jeremy Falcon24-Jan-17 6:55
professionalJeremy Falcon24-Jan-17 6:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Do you feel you fully understand the vision and purpose of the software project you're working on?
Sure you can be told the "what", but do you have the "why"?
  Results   160 votes