07 Sep

Rules for Pattern in Java

A regular expression, specified as a string, must first be compiled into an instance of this class. The resulting pattern can then be used to create a Matcher object that can match arbitrary character sequences against the regular expression. All of the state involved in performing a match resides in the matcher, so many matchers can share the same pattern.

Examples of using regular expressions. 

More
07 Sep

Oracle cold backup

If your Database in "NOARCHIVELOG" mode, you can do cold backup only.

More
06 Sep

Merged integer sorted arrays

One of classic problem using binary search approach.

More
06 Sep

Merged sorted array

One of classic problem using binary search approach.

More
06 Sep

Collection of useful JUnit methods for day by day testing

This collection of JUnit methods helps developers to check data and to create robust Java applications (and Unit tests).

More
06 Sep

Get average speed of fastest five cars 

Classic problem which may show your understanding different ways to solve the problem, using of data types,  knowledge of Java application design, and knowledge of Java 8

More
02 Sep

System.arraycopy() vs. Arrays.copyOf() in Java

The difference is that Arrays.copyOf does not only copy elements, it also creates a new array. System.arrayCopy copies into an existing array.

More
02 Sep

Rotate Array in Java

Classic problem which may show your understanding different ways to solve the problem, knowledge of O notation for memory and for productivity

More
02 Sep

Java coding test: String/Array/Collections

An algorithm problem's input is often a string, array or collections. You may write the code on the white board. If you know better way to write code in Java 8 it give you additional advantages. 

More
02 Sep

Collection of Java regex patterns

This collections of patterns for regular expressions help developers to check data and to create robust Java applications.

More