Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: \/\/ayne
I’ve had several cases where the interviewer had such stupid, irrelevant questions I withdrew the application.

I've done that on a technical interview. They asked me to, in Javascript, reverse an array of 100 numbers.

I did something super simple, like this (this is pseudocode):

SourceArray() = Int(100)
TargetArray() = Int(100)
For I = 1 to 100
{
TargetArray(101-i) = SourceArray(i)
}

So they all sat there in stunned silence.

I asked, "Good?"

They responded, "Nobody has ever come up with that solution before."

I asked, "How did most people do it?"

They responded, "Sorting. Bubblesort, Quicksort, all sorts of stuff like that."

I said, "None of you thought of this?"

They answered, "Nope."

I was polite enough to complete the interview, but upon leaving, I called the recruiter and withdrew. I will not work with morons.

10 posted on 02/09/2022 1:56:53 PM PST by Lazamataz (The forces of fascism and oppression are on the move in North America. We cannot let tyranny stand!)
[ Post Reply | Private Reply | To 4 | View Replies ]


To: Mr. K; usconservative

Ping to the above ^^^


11 posted on 02/09/2022 1:57:44 PM PST by Lazamataz (The forces of fascism and oppression are on the move in North America. We cannot let tyranny stand!)
[ Post Reply | Private Reply | To 10 | View Replies ]

To: Lazamataz

I hear you. I’ve had some weird interview questions, but I didn’t react that way, because I needed a job, was unemployed at the time.


18 posted on 02/09/2022 2:10:34 PM PST by Dilbert San Diego
[ Post Reply | Private Reply | To 10 | View Replies ]

To: Lazamataz

If you had taken the job, pretty soon, you would be running that company. Nothing wrong with that.


21 posted on 02/09/2022 2:14:06 PM PST by Tolerance Sucks Rocks (Florida: America's new free zone.)
[ Post Reply | Private Reply | To 10 | View Replies ]

To: Lazamataz

My bosses, who were generally very good and knew the legacy systems very well (so I usually deferred) once came up with a solution to a looming problem.

They pretty much spent 2 days coming up with a solution covering at least 2 whiteboards in a conference room.

They asked me to review their work. After 30-45 minutes I suggested 10-15 lines of code that would do the same thing. Easily.

Nope... Made me implement their solution. Probably took me the better part of two days and I could have had it all done in very little time.

That was 40 years ago.


22 posted on 02/09/2022 2:14:39 PM PST by SaveFerris (The Lord, The Christ and The Messiah: Jesus Christ of Nazareth - http://www.BiblicalJesusChrist.Com/)
[ Post Reply | Private Reply | To 10 | View Replies ]

To: Lazamataz

That is classic.

I recall reading that solution somewhere...


27 posted on 02/09/2022 2:23:25 PM PST by marktwain (Amazing people can read a persons entire personality and character from one photograph.)
[ Post Reply | Private Reply | To 10 | View Replies ]

To: Lazamataz
You deserve some sort of medal.

Anyone who would use a sort to reverse an array ... [sigh].

28 posted on 02/09/2022 2:26:16 PM PST by Campion (NO Wag-the-Dog WARS for Big Guy Brandon's 10%)
[ Post Reply | Private Reply | To 10 | View Replies ]

To: Lazamataz; SaveFerris; marktwain

Tell them to array their damn numbers in the correct order in the first place and walk out.

Then come in on Monday morning like you have the job.


31 posted on 02/09/2022 2:34:47 PM PST by Larry Lucido (Donate! Don't just post clickbait!)
[ Post Reply | Private Reply | To 10 | View Replies ]

To: Lazamataz
I was asked in a college graduation interview to write a program to do matrix multiplication. I asked them what language they wanted, COBOL, PL/1, FORTRAN, BASIC...

They said FORTRAN, it's what they know. I wrote it out on a legal pad. I got an offer from them, but I didn't accept it.

-PJ

36 posted on 02/09/2022 2:43:53 PM PST by Political Junkie Too ( * LAAP = Left-wing Activist Agitprop Press (formerly known as the MSM))
[ Post Reply | Private Reply | To 10 | View Replies ]

To: Lazamataz

They asked me to, in Javascript, reverse an array of 100 numbers.
.....
They responded, “Sorting. Bubblesort, Quicksort, all sorts of stuff like that.”


Heck, sorting would only work (if you’ve described the problem correctly) if the array was originally sorted. If it was randomly-arranged items a sort wouldn’t reverse it.


38 posted on 02/09/2022 2:45:21 PM PST by DuncanWaring (The Lord uses the good ones; the bad ones use the Lord.)
[ Post Reply | Private Reply | To 10 | View Replies ]

To: Lazamataz

> reverse an array of 100 numbers.

You gave them an O(n) solution. Not a comp sci major on the whole other side of the table. You’d spend the majority of your time there trying to explain to them why their solutions were so non performant.


50 posted on 02/09/2022 3:14:21 PM PST by glorgau
[ Post Reply | Private Reply | To 10 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson