Programmatore Interview Questions

22,560 programmatore interview questions shared by candidates

How to print "hello world" by using following if else block: if(write any condition you want) printf("World"); else printf("Hello"); I answered them that we can use goto statement, but he expected other answer that i didn't know at that time.
avatar

Programmer

Interviewed at Bitwise

3.6
Jun 3, 2014

How to print "hello world" by using following if else block: if(write any condition you want) printf("World"); else printf("Hello"); I answered them that we can use goto statement, but he expected other answer that i didn't know at that time.

You have an array randomly filled with red, blue and green items. How do you order this list so the red items are at the beginning, followed by the blue ones, followed by the green ones? The algorithm should be in-place (no extra storage, or only constant extra storage) and the algorithm should only walk threw the array once (every position can only be read once).
avatar

Programmer

Interviewed at IG Group

2.9
Feb 27, 2010

You have an array randomly filled with red, blue and green items. How do you order this list so the red items are at the beginning, followed by the blue ones, followed by the green ones? The algorithm should be in-place (no extra storage, or only constant extra storage) and the algorithm should only walk threw the array once (every position can only be read once).

Viewing 11 - 20 interview questions

Glassdoor has 22,560 interview questions and reports from Programmatore interviews. Prepare for your interview. Get hired. Love your job.