Skip to content

Commit

Permalink
hide solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Seasawher committed Mar 20, 2024
1 parent b99afac commit 01de3b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Src/Problem19.lean
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
variable {α : Type}

def rotate (l : List α) (n : Nat) : List α :=
-- sorry
let n := n % l.length
l.drop n ++ l.take n
-- sorry

-- The following code is a test case and you should not change it.

Expand Down

0 comments on commit 01de3b5

Please sign in to comment.