Given an int array, find the sequence of elements that has the largest sum
Desarrollador Ruby Junior Interview Questions
717,013 desarrollador ruby junior interview questions shared by candidates
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).
inorder traverse of a tree without.recursive
You have a pile of coins. One of them is counterfeit, and its weight is different from the other coins. All of the other coins weigh the same. You are given a balance. How would you find the counterfeit coin? Now code it up.
write a logic to print * pattern square matrix with diagonal elements if n=5 print * * * * * * * * * * * * * * * * * * * * * i wrote the code with 5 loops but they asked me to write in 2 loops....!
reverse the words of a string
write scpy function
On the order of execution of Java code blocks when a class extends another class
one web form for coding
Write a function to print the first letter of every word in a string.
Viewing 1431 - 1440 interview questions