Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

Intuition behind this problem: DMS Mathematica

$
0
0

Referring to this problem , the answer seems to be n*n/2 - 1 (for n > 1) .

Can someone explain the intuition behind this solution, or is it just guessed by observing some small inputs and outputs?


Viewing all articles
Browse latest Browse all 39796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>