Browse Source

fix(sortedlistmerge) remove node struct

pull/2420/head
miguel 4 months ago committed by MSilva95
parent
commit
b3fd7a9e29
  1. 5
      subjects/sortedlistmerge/main.go

5
subjects/sortedlistmerge/main.go

@ -5,11 +5,6 @@ import (
"piscine" "piscine"
) )
type NodeI struct {
Data int
Next *NodeI
}
func PrintList(l *piscine.NodeI) { func PrintList(l *piscine.NodeI) {
it := l it := l
for it != nil { for it != nil {

Loading…
Cancel
Save