Q7) Given an array I had to find the minimum difference between two elements. But the difference must be calculated between the current element and the elements on the right hand side of the element.
Engineer Developer Interview Questions
467,468 engineer developer interview questions shared by candidates
Given a string, check for balanced parenthesis
Mostly C program based questions will be helpful for this interview process
hackerrank easy, basic java and web dev knowledge, sql
Given a dictionary of words and another word, return all the words in the dictionary that are anagrams of the given word
Given a two dimensional array of positive integers, write an algorithm that will find any initial indices that have a value of 0 and replace their entire row and column with zeroes.
If you have a sorted array that is initialized with size 100, the values stored would be for example 1, 2, 3,.... ect. Describe an algorithm that would check if there is a duplicate number and if so return it.
Came up with a program to take a string and printed the characters that appear more than once in the exact order as they are in the original string.
Given a tree where every right node is a leaf, meaning that it can only extend on the left side, invert it such that the leftmost node is now the root, and all of the previous left nodes are now on the right side. The former right nodes will be on the left side.
Given an array with duplicate elements give an algorithm to get the count of distinct elements in the array
Viewing 1181 - 1190 interview questions