0

Lexical sum
For a given number n, output an strictly decreasing array whose sum is n and its lexical order is the smallest from any possible outputs
Smallest lexical order means that for n=9, [5,3,1] is not allowed as you can reduce the 5 to a 4, so the final output is [4,3,2]
Testcases
4 -> [3,1...