You are given two arrays, design a method to produce the intersection of those arrays. Analyze its runtime.
Software Development Engineer Interview Questions
32,842 software development engineer interview questions shared by candidates
If you get an array of integers, find the only integer that is repeated for an odd number of times.
Simple screening questions about my background
Given a sorted array of integers in increasing order (can contain duplicates), return the last index of a specified target integer, or return -1 otherwise. Thus 1, 2, 2, 3, 4 and the target is 2, the function should return 2.
Challenge
Convert string to float without using any functions
Write a function in C++ that takes two dates as input and determines if the two dates fall on the same day of the week. The tricky part was thinking of things like leap years and such.
Program in ide: Input - wwwaabbc Output - w3a2b2c1
The differences between recursive and iterative implementations?
One array has size n and n elements . second array has size n+m and m elements. both the arrays are sorted. we need to get n+m elements in second array in sorted order. Linear time algorithm was expected
Viewing 721 - 730 interview questions