Fix typos (fixes #2941) (#2948)

This commit is contained in:
Changjiyuan
2022-02-20 16:11:41 +08:00
committed by GitHub
parent 2cb4c2fff4
commit 68e2ba29d4

View File

@ -29,7 +29,7 @@ AVLTree tree=new AVLTree();
public class AVLTree {
public class AVLSimple {
private class Node{
int data;
int height;
@ -82,7 +82,7 @@ public class AVLTree {
System.out.println(this.root.height);
}
private void display (Node node) {
Strings str="";
String str="";
if(node.left!=null)
str+=node.left.data+"=>";
else