# Tag - java algorithm interview questions

## C++ Programming – Length of the largest subarray with contiguous elements

An array of distinct integers, find length of the longest sub array which contains numbers that can be arranged in a continuous sequence.

## Java Programming – Length of the largest subarray with contiguous elements

An array of distinct integers, find length of the longest subarray which contains numbers that can be arranged in a continuous sequence.

## Java Programming – Length of the largest subarray with contiguous elements

we have discussed a solution that assumes that elements in given array are distinct. Here we discuss a solution that works even if the input array.

## Java Programming – Randomized Algorithms (1/2) Approximate Median

It is quite easy to visualize this statement since the median which we report will be (k/2)th element and if we take k/2 elements from the left quarter.

## C Programming – Randomized Algorithms (1/2) Approximate Median

It is quite easy to visualize this statement since the median which we report will be (k/2)th element and if we take k/2 elements from the left quarter.

## C Programming – Count ways to reach the n stair

C Programming - Count ways to reach the n stair - Mathematical Algorithms - There are n stairs, a person standing at the bottom wants to reach the top.