Browse Source

docs(secondhalf): clarify behavior for edge cases of odd arrays

pull/1513/head
Michele Sessa 11 months ago committed by Michele
parent
commit
774267e6f4
  1. 2
      subjects/secondhalf/README.md

2
subjects/secondhalf/README.md

@ -4,7 +4,7 @@
Write a function `SecondHalf()` that receives a slice of `int` and returns another slice of `int` with the second half of the values.
- If the length is odd, round it up.
> If the length is odd, include the middle value in the result.
### Expected function

Loading…
Cancel
Save