Software Developer Interview Questions

467,266 software developer interview questions shared by candidates

A duck that is being chased by a fox saves itself by sitting at the center of circular pond of radius r. The duck can fly from land but cannot fly from the water. Furthermore, the fox cannot swim. The fox is four times faster than the duck. Assuming that the duck and fox are perfectly smart, is it possible for the duck to ever reach the edge of the pond and fly away to its escape from the ground
avatar

Software Developer

Interviewed at Yandex

4.1
Jan 7, 2013

A duck that is being chased by a fox saves itself by sitting at the center of circular pond of radius r. The duck can fly from land but cannot fly from the water. Furthermore, the fox cannot swim. The fox is four times faster than the duck. Assuming that the duck and fox are perfectly smart, is it possible for the duck to ever reach the edge of the pond and fly away to its escape from the ground

1 Jug with 24 litres water is to be split into 3 Jugs, one being the 24 litres, other one being 12 litres and last one 5 litres in such a way that 24 litres Jug contains 12 Litre. You can only use the water in the 24 litre jug, nothing more nothing less.
avatar

Software Engineer

Interviewed at Vistaar Technologies

3.6
Oct 7, 2014

1 Jug with 24 litres water is to be split into 3 Jugs, one being the 24 litres, other one being 12 litres and last one 5 litres in such a way that 24 litres Jug contains 12 Litre. You can only use the water in the 24 litre jug, nothing more nothing less.

Given a string, that contains special character together with alphabets (‘a’ to ‘z’ and ‘A’ to ‘Z’), reverse the string in a way that special characters are not affected. Examples: Input: str = "a,b$c" Output: str = "c,b$a" Note that $ and , are not moved anywhere. Only subsequence "abc" is reversed Input: str = "Ab,c,de!$" Output: str = "ed,c,bA!$"
avatar

Software Developer

Interviewed at Zoho

4.2
Mar 8, 2018

Given a string, that contains special character together with alphabets (‘a’ to ‘z’ and ‘A’ to ‘Z’), reverse the string in a way that special characters are not affected. Examples: Input: str = "a,b$c" Output: str = "c,b$a" Note that $ and , are not moved anywhere. Only subsequence "abc" is reversed Input: str = "Ab,c,de!$" Output: str = "ed,c,bA!$"

Viewing 1761 - 1770 interview questions

Glassdoor has 467,266 interview questions and reports from Software developer interviews. Prepare for your interview. Get hired. Love your job.