Showing posts with label Array. Show all posts
Showing posts with label Array. Show all posts

Rotate array by N elements

Given an array, cyclically rotate the array clockwise by N elements. The conditions are  Should NOT use temporary array to store values N should be > 0 and <= given array size Sample: We...

Array with Even and Odd numbers

This is one of the interesting interview question which asked about integer array. Before going into direct question please refer to other tutorial about Java Array which we discussed earlier.  There is an integer...

Array in Java

Array is a simple Data Structure as same as which we have read in C, C++. If we need to describe then, "Array is a container which holds fixed no. of values of 1...