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
Desenvolvedor Interview Questions
102,613 desenvolvedor interview questions shared by candidates
Given m cross n matrix, in how many ways can you reach from one end to the other
Find any 3 consecutive similar numbers in an array
How to initialize a string
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!$"
What is difference between Echo and Print??
Reverse the string
Where do you see yourself in 5 years?
Two strings were given with numerical characters. I was asked for the count of duplicates and the duplicate characters which are present in both the strings. For eg : 1522 and 5314 has two duplicate characters 5 and 1.
Write a Program in C or Java to check if a number is a Colindrome or not. Colidrome is a word that has 3 alphabets followed by the reverse of the 3 alphabets and so on: Ex: cappac mollomaappaa
Viewing 301 - 310 interview questions