(Tree x)
| 14 | |
| 15 | public class Loops { |
| 16 | public static Tree returnLMostLoop(Tree x) { |
| 17 | while (x.l != null) x = x.l; |
| 18 | return x; |
| 19 | } |
| 20 | |
| 21 | public static Tree returnRMostLoop(Tree x) { |
| 22 | while (x.r != null) x = x.r; |
no outgoing calls
no test coverage detected