3 ms·
2. Maybe the original question was to do it in place and reuse all the nodes?
by spullara 5y ago
2. Maybe the original question was to do it in place and reuse all the nodes?
- icambron 5y agoAh, you're right. Their Java solution just defines one Node class and mutates it. Which does mean that the LL nodes' pointers are called "large" and "small"...