mirror of
https://github.com/AdrianKuta/Tree-Data-Structure.git
synced 2025-07-01 15:27:58 +02:00
Updated CI (#2)
* Updated CI * Updated CI * Updated CI * Updated CI * Removed wrong method.
This commit is contained in:
@ -40,10 +40,6 @@ class TreeNode<T>(val value: T) {
|
||||
return childrenMaxDepth + 1
|
||||
}
|
||||
|
||||
fun allItems(): List<T> {
|
||||
return children.map { value }
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
val stringBuilder = StringBuilder()
|
||||
print(stringBuilder, "", "")
|
||||
|
Reference in New Issue
Block a user