Fix the PrintUtil.js showTrunks
This commit is contained in:
parent
a171414c7b
commit
2a375ebcbb
@ -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,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user