The time complexity of your algorithm is very closely linked to listing compositions of an integer, of which there are O(2^N). The compositions alone is not ...
確定! 回上一頁