We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Breaking the Records
- Discussions
Breaking the Records
Breaking the Records
Sort by
recency
|
206 Discussions
|
Please Login in order to post a comment
vector breakingRecords(vector scores){ int maxRecord=scores[0]; int minRecord=scores[0]; int maxCount=0, minCount=0; for(int i=1; imaxRecord) { maxRecord=scores[i]; maxCount++;
}
// Write your code here var record_max = scores[0]; var record_min = scores[0]; var min = 0; var max = 0 for(var i=1; irecord_max){ max++; record_max = scores[i]; } else if(scores[i]