Skip to content

Commit e265aa4

Browse files
committed
small refactoring
1 parent f1d902c commit e265aa4

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

structural/binary-tree-compositions/compositions.go

-11
This file was deleted.

structural/binary-tree-compositions/main.go

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ import (
44
"fmt"
55
)
66

7+
type Tree struct {
8+
LeafValue int
9+
Right *Tree
10+
Left *Tree
11+
}
12+
713
func main() {
814
root := Tree{
915
LeafValue: 0,

0 commit comments

Comments
 (0)