Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed May 15, 2024
1 parent 568c53d commit 9deed6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/practice/knapsack/.meta/example.8th
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
: maximum-values \ n -- a
: zeros \ n -- a
n:1+ a:new 0 a:push swap a:smear
;

Expand All @@ -12,6 +12,6 @@
;

: maximum-value \ n a -- n
over maximum-values swap
over zeros swap
' update-maximum-for-item a:each! drop swap a:_@
;

0 comments on commit 9deed6b

Please sign in to comment.