```
    String res = "";
    Solution.reverse("hellowolrd", res);
    System.out.println(res);
    public static void reverse(String str, String result) {
            if(str.length()==0) return; 
            result += str.charAt(str.length()-1); 
            reverse(str.substring(0,str.length()-1),result); 
        }
Why the res variable is empty when I print it out after calling reverse()
 
    