given a large array of int return the length of the longest increasing(non-necessarily-adjacent) sub-sequence
Software Engineer Developer Interview Questions
420,624 software engineer developer interview questions shared by candidates
Given an array of integers arranged in a way that they are first in a strictly increasing sequence and then after a certain point they are arranged in a strictly decreasing sequence. Find the max value in that array For ex: [3,6,8,13,20,35,33,30,21,17,14,2,1,-2] : 35 is the max in this array
Find the max number in an array between start and end. The function would like: findMaxbetween(start, end, array): return maxNumber
Write code to find the nth fibonacci number.
Coding the fibonacci algorithm.
Given a 5x5 board containing random characters, find all words that can be formed from consecutive adjacent (diagonals count) characters.
different between array and heap
Find the least common ancestor of 3+ nodes, in a binary tree wher the nodes only point to their parents. No child pointers.
Given an array and a sum, determine if any of the items add up to sum. Do a linear space solution and constant time solution.
in an array of characters find the character that is repeated the most
Viewing 1701 - 1710 interview questions