Browse Source

Merge pull request #241 from 01-edu/fix-sortedlistmerge

deletion of inconsistent data
pull/243/head
augusto-mantilla 5 years ago committed by GitHub
parent
commit
8ed54f6a6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      subjects/sortedlistmerge.en.md

7
subjects/sortedlistmerge.en.md

@ -27,9 +27,6 @@ import (
piscine ".."
)
type node = piscine.NodeI
type nodes = piscine.NodeI
func PrintList(l *piscine.NodeI) {
it := l
for it != nil {
@ -54,8 +51,8 @@ func listPushBack(l *piscine.NodeI, data int) *piscine.NodeI {
}
func main() {
var link *node
var link2 *nodes
var link *NodeI
var link2 *NodeI
link = listPushBack(link, 5)
link = listPushBack(link, 3)

Loading…
Cancel
Save