Jadi on Nostr: Another video to help you get better at Algorithms. This one is called "Majority ...
Another video to help you get better at Algorithms. This one is called "Majority Element". It is an easy level array question but with two twists:
1. I have written it in Rust to make it more fun (and you can try in Python or whatever)
2. There is a very cool and fast solution for this problem which is very difficult to find if you have not seen it. On the 2nd step, I show that one; called "voting algorithm".
https://youtu.be/Z0GgVxrp5I4
#programming #rust #algorithm
1. I have written it in Rust to make it more fun (and you can try in Python or whatever)
2. There is a very cool and fast solution for this problem which is very difficult to find if you have not seen it. On the 2nd step, I show that one; called "voting algorithm".
https://youtu.be/Z0GgVxrp5I4
#programming #rust #algorithm