Click here to Skip to main content
15,920,217 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
Kenneth Haugland1-Dec-17 4:28
mvaKenneth Haugland1-Dec-17 4:28 
GeneralRe: Coding Challenge - Morris Sequence Pin
Dave Kreskowiak1-Dec-17 4:48
mveDave Kreskowiak1-Dec-17 4:48 
GeneralRe: Coding Challenge - Morris Sequence Pin
AVNTizzy1-Dec-17 8:48
AVNTizzy1-Dec-17 8:48 
GeneralRe: Coding Challenge - Morris Sequence Pin
Kirk 103898211-Dec-17 3:14
Kirk 103898211-Dec-17 3:14 
GeneralRe: Coding Challenge - Morris Sequence Pin
AVNTizzy1-Dec-17 7:32
AVNTizzy1-Dec-17 7:32 
GeneralRe: Coding Challenge - Morris Sequence Pin
Dave Kreskowiak1-Dec-17 7:48
mveDave Kreskowiak1-Dec-17 7:48 
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 
1) Strings and string methods are not going to do it. They're too slow and take up too much memory.

2) The only digits you see in any of these numbers are 1, 2, and 3. It seems like a waste to use an entire byte to store each digit.

3) If you graph the math on the progression of the length of these numbers, you'll see that on a LOGARITHMIC SCALE, the graph is about a 40 degree line. What would that look like on a normal X/Y scale?

4) You cannot do this "in memory", without going to the extremes of cleverness, and even then, you'd still need a gargantuan amount of RAM.
System.ItDidntWorkException: Something didn't work as expected.

C# - How to debug code[^].
Seriously, go read these articles.

Dave Kreskowiak

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 
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 

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.