Post History
Japt -h, 12 bytes à kÈäÎdÄÃmÊñ Try it à kÈäÎdÄÃmÊñ :Implicit input of array à :Combinations k :Remove elements that return true È :When pass...
Answer
#2: Post edited
- # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 12 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- à kÈäÎdÄÃmÊñ
[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&code=4CBryOTOZMTDbcrx&input=WzcsMSw5LDMsOCw1LDQsNiwyXQ)
- # [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 12 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- à kÈäÎdÄÃmÊñ
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&code=4CBryOTOZMTDbcrx&input=WzcsMSw5LDMsOCw1LDQsNiwyXQ)
- à kÈäÎdÄÃmÊñ :Implicit input of array
- à :Combinations
- k :Remove elements that return true
- È :When passed through the following function
- ä : Consecutive pairs
- Î : Reduced by the sign of their difference
- d : Are any truthy (not zero)
- Ä : When 1 is added to them
- Ã :End filter
- m :Map
- Ê : Length
- ñ :Sort
- :Implicit output of last element
#1: Initial revision
# [Japt](https://github.com/ETHproductions/japt) [`-h`](https://codegolf.meta.stackexchange.com/a/14339/), 12 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1) à kÈäÎdÄÃmÊñ [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LWg&code=4CBryOTOZMTDbcrx&input=WzcsMSw5LDMsOCw1LDQsNiwyXQ)