asked on
ASKER
Java is a platform-independent, object-oriented programming language and run-time environment, designed to have as few implementation dependencies as possible such that developers can write one set of code across all platforms using libraries. Most devices will not run Java natively, and require a run-time component to be installed in order to execute a Java program.
TRUSTED BY
i=2 j = 1
____ ____
\ \
| | i - 1
/___ /___
m i
somehow I got the value to be
O(m*m/2)
Just run some tests and You'll notice that the value is right, but I'm not sure how to count it.