private String[] getLeftPossibleWords(String origin){
        List<String> result=new ArrayList<>();
//        result.add(origin);
        for(int i=1;i<origin.length();++i){
            if(isPalindrome(origin.substring(0,origin.length()-i))){
                result.add(origin.substring(origin.length()-i));
            }
        }
        List<String> reverse=new ArrayList<>();
        for(String s : result){
            StringBuilder sb=new StringBuilder();
            for(int i=s.length()-1;i>=0;i--) sb.append(s.charAt(i));
            reverse.add(sb.toString());
        }
        return reverse.toArray(new String[reverse.size()]);
    }