99problems: recover the original solution for slice