Maximize non-adjacent sum on an N-ary tree | ZipHQ