Majority element problem: – Here we need to find the element from the array of size with occurence>n/2.
1.The algorithm is simple to learn
2.Its complexity is O(n)
Read
Majority element problem: – Here we need to find the element from the array of size with occurence>n/2.
1.The algorithm is simple to learn
2.Its complexity is O(n)
Read
RAM (here Random Access Machine) model of compuation is an abstract model in which we try to analyze the working of our ALGORITHMS . Thought this model is different from real computers, it is helpful in many way.
M | T | W | T | F | S | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Recent Comments