Function which break string into two halves Sorts the two halves separately Compares the two halves return true if any index has non - zero value
static Boolean function ( char [ ] str ) { int l = str . Length ;