Post History
Jelly, 5 bytes ḶHĊUỤ Try it online! Uses xash's method over on CGCC How it works ḶHĊUỤ - Main link. Takes n on the left Ḷ - Range from 0 to n-1 H - Halve Ċ - Ceiling ...
Answer
#2: Post edited
- # [Jelly], 5 bytes
- ḶHĊUỤ
- [Try it online!][TIO-kpn9lpt3]
- [Jelly]: https://github.com/DennisMitchell/jelly
[TIO-kpn9lpt3]: https://tio.run/##y0rNyan8///hjm0eR7pCH@5e8t/QIOhw@6OmNe7/FQy5FIwUQKQxkFRQMOJSMFEAiRiDBU3BDBOYlBmYbYqkwBzMNUNVZgEWMcdQbAkWtMCixdAALG6JVSMA "Jelly – Try It Online"
- # [Jelly], 5 bytes
- ḶHĊUỤ
- [Try it online!][TIO-kpn9lpt3]
- [Jelly]: https://github.com/DennisMitchell/jelly
- [TIO-kpn9lpt3]: https://tio.run/##y0rNyan8///hjm0eR7pCH@5e8t/QIOhw@6OmNe7/FQy5FIwUQKQxkFRQMOJSMFEAiRiDBU3BDBOYlBmYbYqkwBzMNUNVZgEWMcdQbAkWtMCixdAALG6JVSMA "Jelly – Try It Online"
- Uses [xash's method](https://codegolf.stackexchange.com/a/229227/66833) over on CGCC
- ## How it works
- ḶHĊUỤ - Main link. Takes n on the left
- Ḷ - Range from 0 to n-1
- H - Halve
- Ċ - Ceiling
- U - Reverse
- Ụ - Grade; Sort the indices of n by its elements
#1: Initial revision
# [Jelly], 5 bytes ḶHĊUỤ [Try it online!][TIO-kpn9lpt3] [Jelly]: https://github.com/DennisMitchell/jelly [TIO-kpn9lpt3]: https://tio.run/##y0rNyan8///hjm0eR7pCH@5e8t/QIOhw@6OmNe7/FQy5FIwUQKQxkFRQMOJSMFEAiRiDBU3BDBOYlBmYbYqkwBzMNUNVZgEWMcdQbAkWtMCixdAALG6JVSMA "Jelly – Try It Online"