Click here to Skip to main content
15,901,122 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
Sascha Lefèvre1-Dec-17 0:37
professionalSascha Lefèvre1-Dec-17 0:37 
GeneralRe: Coding Challenge - Morris Sequence Pin
Kenneth Haugland1-Dec-17 0:50
mvaKenneth Haugland1-Dec-17 0:50 
GeneralRe: Coding Challenge - Morris Sequence Pin
Kenneth Haugland1-Dec-17 0:54
mvaKenneth Haugland1-Dec-17 0:54 
GeneralRe: Coding Challenge - Morris Sequence Pin
Dave Kreskowiak1-Dec-17 2:30
mveDave Kreskowiak1-Dec-17 2:30 
GeneralRe: Coding Challenge - Morris Sequence Pin
Kenneth Haugland1-Dec-17 2:46
mvaKenneth Haugland1-Dec-17 2:46 
GeneralRe: Coding Challenge - Morris Sequence Pin
Kenneth Haugland1-Dec-17 3:08
mvaKenneth Haugland1-Dec-17 3:08 
GeneralRe: Coding Challenge - Morris Sequence Pin
Dave Kreskowiak1-Dec-17 4:23
mveDave Kreskowiak1-Dec-17 4:23 
GeneralRe: Coding Challenge - Morris Sequence Pin
GuyThiebaut30-Nov-17 20:55
professionalGuyThiebaut30-Nov-17 20:55 
I have a day off, so I thought I would make use of this challenge to try TDD(test-driven development).

It's actually a rather good example for TDD and I am finding that writing the tests first is making this challenge a lot faster and even more enjoyable to develop a solution to.

Thanks for the challenge Thumbs Up | :thumbsup:

[edit]I started off using stacks to do the calculations and soon ran out of memory.
I am now using a less processor intensive method(a secret...) and the application got to line 77 and the length of the line is 1,149,440,192 digits long - flippin' heck!

No stack overflow either, as the way I have written the application means that all that will happen is that my disk space will run out - I am not sure if I want to find that out...
“That which can be asserted without evidence, can be dismissed without evidence.”

― Christopher Hitchens


modified 1-Dec-17 10:10am.

GeneralRe: Coding Challenge - Morris Sequence Pin
PIEBALDconsult1-Dec-17 2:41
mvePIEBALDconsult1-Dec-17 2:41 
GeneralRe: Coding Challenge - Morris Sequence Pin
Richard Deeming1-Dec-17 3:04
mveRichard Deeming1-Dec-17 3:04 
GeneralRe: Coding Challenge - Morris Sequence Pin
GuyThiebaut1-Dec-17 3:09
professionalGuyThiebaut1-Dec-17 3:09 
GeneralRe: Coding Challenge - Morris Sequence Pin
Richard Deeming1-Dec-17 3:21
mveRichard Deeming1-Dec-17 3:21 
GeneralRe: Coding Challenge - Morris Sequence Pin
GuyThiebaut1-Dec-17 3:29
professionalGuyThiebaut1-Dec-17 3:29 
GeneralRe: Coding Challenge - Morris Sequence Pin
Kenneth Haugland1-Dec-17 3:44
mvaKenneth Haugland1-Dec-17 3:44 
GeneralRe: Coding Challenge - Morris Sequence Pin
GuyThiebaut1-Dec-17 3:57
professionalGuyThiebaut1-Dec-17 3:57 
GeneralRe: Coding Challenge - Morris Sequence Pin
Kenneth Haugland1-Dec-17 4:02
mvaKenneth Haugland1-Dec-17 4:02 
GeneralRe: Coding Challenge - Morris Sequence Pin
Dave Kreskowiak1-Dec-17 4:14
mveDave Kreskowiak1-Dec-17 4:14 
GeneralRe: Coding Challenge - Morris Sequence Pin
GuyThiebaut1-Dec-17 4:26
professionalGuyThiebaut1-Dec-17 4:26 
GeneralRe: Coding Challenge - Morris Sequence Pin
Dave Kreskowiak1-Dec-17 4:27
mveDave Kreskowiak1-Dec-17 4:27 
GeneralRe: Coding Challenge - Morris Sequence Pin
GuyThiebaut1-Dec-17 8:03
professionalGuyThiebaut1-Dec-17 8:03 
GeneralRe: Coding Challenge - Morris Sequence Pin
Kenneth Haugland1-Dec-17 5:22
mvaKenneth Haugland1-Dec-17 5:22 
GeneralRe: Coding Challenge - Morris Sequence Pin
Dave Kreskowiak1-Dec-17 6:43
mveDave Kreskowiak1-Dec-17 6:43 
GeneralRe: Coding Challenge - Morris Sequence Pin
Richard Deeming1-Dec-17 5:01
mveRichard Deeming1-Dec-17 5:01 
GeneralRe: Coding Challenge - Morris Sequence Pin
Kenneth Haugland1-Dec-17 5:20
mvaKenneth Haugland1-Dec-17 5:20 
GeneralRe: Coding Challenge - Morris Sequence Pin
Kenneth Haugland1-Dec-17 3:25
mvaKenneth Haugland1-Dec-17 3:25 

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

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   500 votes