# Coding Interview Question: Consecutive Array

Coding Interview Question: Given an unsorted array, find the length of the longest sequence of consecutive numbers in the array. Click for the solution.

Coding Interview Question: Given an unsorted array, find the length of the longest sequence of consecutive numbers in the array. Click for the solution.

Coding Interview Question: Given a matrix, update it so that if any cell is true, all the cells in that row and column are true. Click for the solution.

Coding Interview Question: Implement a binary tree with a method getRandomNode() that returns a random node. Click for the solution.

Coding Interview Question: Given an array containing all the numbers from 1 to n except two, find the two missing numbers. Click for the solution.

Coding Interview Question: Given a directed graph, find the shortest path between two nodes if one exists. Click for the solution.

Coding Interview Question: Given a 2D array of 1s and 0s, find the largest square subarray of all 1s. Click for the solution.

Coding Interview Question: Given a linked list where each node has two pointers, one to the next node and one to a random node in the list, clone the list.

Coding Interview Question: Given a list of bytes a, each representing one byte of a larger integer, and an integer b, find a % b. Click for the solution.

Coding Interview Question: Given k sorted arrays, merge them into a single sorted array. Click for the solution.

Coding Interview Question: Given an unsorted linked list, write a function to remove all the duplicates. Click for the solution.