mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-23 17:54:27 +08:00
Fix the PrintUtil.js showTrunks
This commit is contained in:
@ -79,10 +79,10 @@ function showTrunks(p) {
|
||||
}
|
||||
|
||||
showTrunks(p.prev);
|
||||
console.log(p.str);
|
||||
process.stdout.write(p.str);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
module.exports = {
|
||||
printTree,
|
||||
printLinkedList,
|
||||
}
|
||||
|
Reference in New Issue
Block a user