|
..
by on Jun 07, 2015 02:18 PM | Hide replies
the soln. given doesn't satisfy every case, since: 2(6 - 7) ≠ 2
#fail!
Forward
| Report abuse
|
|
|
|
|
|
|
Re: ..
by on Jun 10, 2015 10:24 PM
to clarify i only have problem with the 'explanation' given. the soln. is fine if you consider absolute differences
if x < y x - y ≠ y - x |x - y| = y - x
Forward | Report abuse
|
|
|
|
|
|
|
|
|
|
|
|