public static void main(String args[]){
        LongestSubstringWithoutRepetingCharacter lsw = new LongestSubstringWithoutRepetingCharacter();
        System.out.println(lsw.lengthOfLongestSubstring("ABCDECAMNCZB"));
    }
References
http://www.geeksforgeeks.org/length-of-the-longest-substring-without-repeating-characters/
https://leetcode.com/problems/longest-substring-without-repeating-characters/
src/com/interview/string/LongestSubstringWithoutRepetingCharacter.java