Write a method countNodes() of class RedBlackTree (from http://users.cis.fiu.edu
ID: 3630713 • Letter: W
Question
Write a method countNodes() of class RedBlackTree(from http://users.cis.fiu.edu/~weiss/dsaajava2/code/RedBlackTree.java)
that runs in O(n) time and counts the number of red and black nodes in the tree.