Complete the following problems on LeetCode.com. Your solutions must be recursive.
Once you have practiced on some of the exercises above, complete the
unfinished truncate
method in Solution.java
and submit through
Autolab. Your solution must be recursive.