+ 40
What are some of the toughest programming interview questions you have faced?
41 Answers
+ 25
Find out greater of two number without using any comparsion.
+ 19
Not an interview but one time I showed my professor my code. He asked "What is this mess". I had no answer 😂. HTML with no indents can destroy anyone
+ 15
Daniel Cooper right 👍
+ 13
Interview programs be like we need to solve several cases,that means they give input and also they provide what type of output will come.we need to write program to satisfy the Input and output
+ 12
☕__JavaScripter__💐 Ohh😅
+ 12
Sharofiddin that's OK. It works. It gives the larger number. I was expecting a Boolean result like in Jean-François Harvier 's code which is another way to do it.
+ 12
For me, the toughest question in an interview was, "What are your weaknesses?" I told them my weakness is staying in the sun too long because my skin catches on fire and I'll eventually die. I got the job. 😂
+ 11
+ 10
Basel Al_hajeri.MBH Can you provide examples? This answer is very vague.
+ 10
Hey programmer! Write something on the board.
I was about to write <html>
Only to realize the question!
I wrote "something"
It's not all about programming but also chasing perfection.
+ 10
Farry so what the answer is??
+ 9
Sharofiddin what if a=3 and b=2? How does your formula help?
+ 8
All! I think
+ 8
What about that? Would it be a correct answer?
https://code.sololearn.com/c4ayjLCMhSaI/?ref=app
+ 8
tell me about yourself??
+ 8
Sonic just (a+b +abs(a-b))/2 solves this
+ 8
Farry thanks for the info
+ 8
I showed off my object oriented programming skills to my professor and he said
"Yes, but what does it do? The code is good but the output is confusing to those who didn't read the code"
I obviously didn't think this through!
This is the code I showed him 😂
https://code.sololearn.com/cQRuhy8z0Km8/?ref=app
+ 7
Sharofiddin so what was the answer?
+ 7
Rishabh Agrawal what about if a=0