Write a function to find a substring in a string. Test your code, write the test cases.
Software Enginner Interview Questions
420,052 software enginner interview questions shared by candidates
I was given two lists of integers and number. The question is to write a function which returns true if the are two numbers in the array such that their sum in the number given.
How would you pick the middle element of a list
Given an array of 1001 elements, consists all numbers from 1-1000. Only one number is repeated. Write a function that returns the repeated number.
will cache affect memory I/O register?
Animate a given element using JS across any given time frame
An operation "swap" means removing an element from the array and appending it at the back of the same array. Find the minimum number of "swaps" needed to sort that array. Eg :- 3124 Output: 2 (3124->1243->1234) How to do it less than O(n^2) ?
The second ninja (coding) test was about event processing system using pulling model, which literally no one in the industry is using.
To set 'N' bits in a number efficiently , N is a variable.
How many degrees are between the hour and minute hand on a clock at 9:45?
Viewing 1161 - 1170 interview questions