Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 4 of 4
Search took 0.02 seconds.
Search: Posts Made By: evaaa
Forum: JavaScript programming 12-01-2012, 11:53 PM
Replies: 26
Views: 839
Posted By evaaa
Thank you, exactly this. Much better way than...

Thank you, exactly this. Much better way than mine.
Forum: JavaScript programming 12-01-2012, 11:21 PM
Replies: 26
Views: 839
Posted By evaaa
Than you all, I tried a bit harder. That's...

Than you all,

I tried a bit harder. That's my code


function mainFunc() {
var result = 0;
var myArray=[2,4,3,3,3,5,3,5,3,3];
result = test(myArray);
alert("{ " + myArray + " } --> " +...
Forum: JavaScript programming 12-01-2012, 06:47 PM
Replies: 26
Views: 839
Posted By evaaa
Yes exactly. I mean more times than the half

Yes exactly. I mean more times than the half
Forum: JavaScript programming 12-01-2012, 06:40 PM
Replies: 26
Views: 839
Posted By evaaa
Dominant number in array

Hi all!

I am trying to find the dominant element of an array. My idea is to scan the original array and put every individual element in another array. If there is already the element I increase a...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT +1. The time now is 10:07 PM.