Click here to Skip to main content
15,035,480 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: 25 years of programming reduced to a question. Pin
Jeremy Falcon23-Sep-20 10:56
professionalJeremy Falcon23-Sep-20 10:56 
GeneralRe: 25 years of programming reduced to a question. Pin
Marc Clifton23-Sep-20 4:41
mvaMarc Clifton23-Sep-20 4:41 
GeneralRe: 25 years of programming reduced to a question. Pin
Jeremy Falcon23-Sep-20 4:45
professionalJeremy Falcon23-Sep-20 4:45 
GeneralRe: 25 years of programming reduced to a question. Pin
TX643023-Sep-20 4:53
MemberTX643023-Sep-20 4:53 
GeneralRe: 25 years of programming reduced to a question. Pin
musefan23-Sep-20 5:49
Membermusefan23-Sep-20 5:49 
GeneralRe: 25 years of programming reduced to a question. Pin
TX643023-Sep-20 5:11
MemberTX643023-Sep-20 5:11 
GeneralRe: 25 years of programming reduced to a question. Pin
Fueled By Decaff23-Sep-20 5:20
MemberFueled By Decaff23-Sep-20 5:20 
GeneralRe: 25 years of programming reduced to a question. Pin
Jeremy Falcon23-Sep-20 6:16
professionalJeremy Falcon23-Sep-20 6:16 
Fueled By Caffeine wrote:
A lot of people are not good at on the spot tests like this, so this type of interview gets a lot of false negatives.

Yeah that's exactly right. It takes time to analyze a problem you haven't run across before. When the interview is cut short... time is not on your side. It's so much easier to spend time working on it when nobody is watching. It's almost to be a developer you have to study algorithms you'll never use and study what you'll actually be doing. Twice the effort for half the gain.
Fueled By Caffeine wrote:
One slight point though - your single loop solution will typically be slightly less efficient then the two loop solution, although it does seem clearer what your solution is doing.

Oh I agree. The further up the loop you go in the second solution the quicker it becomes, but still... hard to work against the clock like that for something new. Such is life I guess. Bubble type sorts are slow, but at least they are tried and true... which is why I went that route for the second solution. Given enough time... I'd like to think I could've done better. Guess, I'll have to brush up on stuff I'll never use once I get the job.
Fueled By Caffeine wrote:
Addendum: So when does OG start at Acelook?

Dunno... hopefully he'll get me in the door too. Laugh | :laugh:
Jeremy Falcon

GeneralRe: 25 years of programming reduced to a question. Pin
David O'Neil23-Sep-20 10:32
professionalDavid O'Neil23-Sep-20 10:32 
GeneralRe: 25 years of programming reduced to a question. Pin
Jeremy Falcon23-Sep-20 10:48
professionalJeremy Falcon23-Sep-20 10:48 
GeneralRe: 25 years of programming reduced to a question. Pin
honey the codewitch23-Sep-20 6:39
mvahoney the codewitch23-Sep-20 6:39 
GeneralRe: 25 years of programming reduced to a question. Pin
Jeremy Falcon23-Sep-20 10:54
professionalJeremy Falcon23-Sep-20 10:54 
GeneralRe: 25 years of programming reduced to a question. Pin
harold aptroot23-Sep-20 9:23
Memberharold aptroot23-Sep-20 9:23 
GeneralRe: 25 years of programming reduced to a question. Pin
Super Lloyd23-Sep-20 18:08
MemberSuper Lloyd23-Sep-20 18:08 
GeneralRe: 25 years of programming reduced to a question. Pin
Jeremy Falcon24-Sep-20 1:24
professionalJeremy Falcon24-Sep-20 1:24 
GeneralRe: 25 years of programming reduced to a question. Pin
V.23-Sep-20 20:17
professionalV.23-Sep-20 20:17 
GeneralRe: 25 years of programming reduced to a question. Pin
Jeremy Falcon24-Sep-20 1:25
professionalJeremy Falcon24-Sep-20 1:25 
GeneralRe: 25 years of programming reduced to a question. Pin
Member 1417446023-Sep-20 22:28
professionalMember 1417446023-Sep-20 22:28 
GeneralRe: 25 years of programming reduced to a question. Pin
Sander Rossel23-Sep-20 23:22
professionalSander Rossel23-Sep-20 23:22 
GeneralRe: 25 years of programming reduced to a question. Pin
megaadam23-Sep-20 23:56
professionalmegaadam23-Sep-20 23:56 
GeneralRe: 25 years of programming reduced to a question. Pin
Sander Rossel24-Sep-20 2:23
professionalSander Rossel24-Sep-20 2:23 
GeneralRe: 25 years of programming reduced to a question. Pin
Jeremy Falcon24-Sep-20 1:27
professionalJeremy Falcon24-Sep-20 1:27 
QuestionRe: 25 years of programming reduced to a question. Pin
megaadam23-Sep-20 23:52
professionalmegaadam23-Sep-20 23:52 
AnswerRe: 25 years of programming reduced to a question. Pin
Jeremy Falcon24-Sep-20 1:39
professionalJeremy Falcon24-Sep-20 1:39 
GeneralRe: 25 years of programming reduced to a question. Pin
DumpsterJuice24-Sep-20 0:34
MemberDumpsterJuice24-Sep-20 0:34 

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.