What do you think? Write to me at Firebat@aol.com, put www.firebat.com on the Subject line, and send me your comments about the web site. It's been fun putting it together, with the expert help from Network Solutions - especially from Ryan Wisnasky (site design) and Kurt Tiede (logo design). Many "Thanks" to both Ryan and Kurt!
Very best to all,
Steve "Firebat" Johnson
Name:
Anonymous2008-05-23 15:54
Please explain the @ (or give link).
Name:
Anonymous2008-05-23 16:12
It's the ``commercial at'' symbol. It's commonly used in email addresses.
Given a non-empty array, return true if there is a place to split the array so that the sum of the numbers on one side is equal to the sum of the numbers on the other side.
public boolean isScoresIncr(int[] scores) {
if (scores.length < 2)
return true;
int i=0;
do {
if (scores[i] > scores[++i])
return false;
} while (i < scores.length - 1);
return true;
}
Name:
Anonymous2008-05-24 21:12
>>33
It should return false when scores.length < 2, because there's no even split possible.
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy