Write a function, that, given a paragraph as input, outputs the paragraph with all the words reversed.
Development Engineer Interview Questions
37,106 development engineer interview questions shared by candidates
How do you swap two numbers without declaring temporary variable?
In a sequence of alphabets (like aaabbddaabbcc) write a program to find the number of the consecutive alphabets in and print the alphabet and number. example :if input is aaabbddaabbcc then output should be 3a, 2b, 2d, 2a, 2b, 2c
Was given various challenges to write scripts that test different programs and data.
given an array of n unsorted integers and each number is at most k positions away from its final sorted position, give an efficient sorting algorithm.
given a matrix, you can move right or down only and cost of each move is 1. Find an optimal way to reach to right-bottom from top-left of the matrix.
Given a random array with integers, find every pair that sum up to a certain number.
Given two lists, A and B, of sizes n and k, respectively, describe an algorithm to determine the intersection, C, of the two lists. What is the complexity of your algorithm? (The obvious solution is O(n*k)). Can you describe a solution that is faster? (An optimized solution can do it in O(n+k)).
What would u do if deadline is approaching and ur product is not finished?
Q3) Few questions on design patterns(Interpreter/ Observer/State) etc.
Viewing 181 - 190 interview questions