The document contains Java methods for manipulating linked lists and binary trees, including weaving two linked lists, finding the middle element, deleting nodes, and reversing a number. It also includes methods for counting leaves, removing leaves, tightening trees, and limiting path sums. Additionally, there are recursive methods for generating arrangements of names and traversing paths in a grid.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
3 views2 pages
CSE123 Quiz 2reference Sheet
The document contains Java methods for manipulating linked lists and binary trees, including weaving two linked lists, finding the middle element, deleting nodes, and reversing a number. It also includes methods for counting leaves, removing leaves, tightening trees, and limiting path sums. Additionally, there are recursive methods for generating arrangements of names and traversing paths in a grid.