Click here to Skip to main content
15,896,154 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: Coding Challenge - Morris Sequence Pin
AVNTizzy1-Dec-17 7:56
AVNTizzy1-Dec-17 7:56 
GeneralHINTS Pin
Dave Kreskowiak1-Dec-17 7:59
mveDave Kreskowiak1-Dec-17 7:59 
GeneralRe: HINTS Pin
AVNTizzy1-Dec-17 8:19
AVNTizzy1-Dec-17 8:19 
GeneralRe: HINTS Pin
PIEBALDconsult1-Dec-17 9:38
mvePIEBALDconsult1-Dec-17 9:38 
GeneralRe: HINTS Pin
Dave Kreskowiak1-Dec-17 11:00
mveDave Kreskowiak1-Dec-17 11:00 
GeneralRe: Coding Challenge - Morris Sequence Pin
PIEBALDconsult1-Dec-17 12:42
mvePIEBALDconsult1-Dec-17 12:42 
GeneralRe: Coding Challenge - Morris Sequence Pin
Dave Kreskowiak1-Dec-17 13:42
mveDave Kreskowiak1-Dec-17 13:42 
GeneralRe: Coding Challenge - Morris Sequence Pin
PIEBALDconsult1-Dec-17 18:41
mvePIEBALDconsult1-Dec-17 18:41 
Dave Kreskowiak wrote:
What happened to the 13?


There are 2 132s , hence 2132.

Dave Kreskowiak wrote:
How do you tell the difference between single values and a run length value?


Doesn't matter, but internally (if I write it) it would be in the data structure. It just wouldn't be apparent in the output unless you want it.
(1,1)
(2,1)
...
(2,1),(2,132),(2,1)
...

The question is about only the number of digits.
GeneralRe: Coding Challenge - Morris Sequence Pin
Dave Kreskowiak2-Dec-17 5:04
mveDave Kreskowiak2-Dec-17 5:04 
GeneralRe: Coding Challenge - Morris Sequence Pin
Member 135526891-Dec-17 13:22
Member 135526891-Dec-17 13:22 
GeneralRe: Coding Challenge - Morris Sequence Pin
Dave Kreskowiak1-Dec-17 13:48
mveDave Kreskowiak1-Dec-17 13:48 
GeneralRe: Coding Challenge - Morris Sequence Pin
Member 135526893-Dec-17 10:47
Member 135526893-Dec-17 10:47 
GeneralRe: Coding Challenge - Morris Sequence Pin
Dave Kreskowiak3-Dec-17 10:57
mveDave Kreskowiak3-Dec-17 10:57 
GeneralRe: Coding Challenge - Morris Sequence Pin
Member 1355268916-Dec-17 1:35
Member 1355268916-Dec-17 1:35 
GeneralRe: Coding Challenge - Morris Sequence Pin
Dave Kreskowiak16-Dec-17 4:46
mveDave Kreskowiak16-Dec-17 4:46 
GeneralRe: Coding Challenge - Morris Sequence Pin
PIEBALDconsult1-Dec-17 18:54
mvePIEBALDconsult1-Dec-17 18:54 
GeneralRe: Coding Challenge - Morris Sequence Pin
Kenneth Haugland1-Dec-17 20:48
mvaKenneth Haugland1-Dec-17 20:48 
GeneralRe: Coding Challenge - Morris Sequence Pin
Dave Kreskowiak2-Dec-17 5:16
mveDave Kreskowiak2-Dec-17 5:16 
GeneralRe: Coding Challenge - Morris Sequence Pin
Kenneth Haugland2-Dec-17 7:19
mvaKenneth Haugland2-Dec-17 7:19 
GeneralRe: Coding Challenge - Morris Sequence Pin
Dave Kreskowiak2-Dec-17 7:53
mveDave Kreskowiak2-Dec-17 7:53 
GeneralRe: Coding Challenge - Morris Sequence Pin
Kenneth Haugland2-Dec-17 17:29
mvaKenneth Haugland2-Dec-17 17:29 
GeneralRe: Coding Challenge - Morris Sequence Pin
Dan Sutton2-Dec-17 6:58
Dan Sutton2-Dec-17 6:58 
GeneralRe: Coding Challenge - Morris Sequence Pin
Dave Kreskowiak2-Dec-17 7:57
mveDave Kreskowiak2-Dec-17 7:57 
GeneralRe: Coding Challenge - Morris Sequence Pin
Member 131943022-Dec-17 11:06
Member 131943022-Dec-17 11:06 
GeneralRe: Coding Challenge - Morris Sequence Pin
Dave Kreskowiak4-Dec-17 4:17
mveDave Kreskowiak4-Dec-17 4:17 

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.