What is your favorite algorithm? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 88

What is your favorite algorithm?

You can choose between these: 1) Merge Sort, Quick Sort and Heap Sort 2) Fourier Transform and Fast Fourier Transform 3) Dijkstra’s algorithm 4) RSA algorithm 5) Secure Hash Algorithm 6) Integer factorization 7) Link Analysis 8) Proportional Integral Derivative Algorithm 9) Data compression algorithms 10) Random Number Generation Or you can propose your own preferred algorithm Source: https://medium.com/@_marcos_otero/the-real-10-algorithms-that-dominate-our-world-e95fa9f16c04

12th Oct 2017, 8:17 PM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
125 Answers
+ 29
Alfa-beta algorithm 🆎️🤗
13th Oct 2017, 10:17 PM
NimWing Yuan
NimWing Yuan - avatar
+ 22
Gauss Algorithm can be understood by undergraduates and is often applicable in different variatios. btw a nice anecdote behind.
12th Oct 2017, 8:23 PM
Oma Falk
Oma Falk - avatar
+ 20
binary search!
14th Oct 2017, 5:19 AM
Ghena Ramascan
Ghena Ramascan - avatar
+ 18
@Oma Falk nice choice! (disclamer: Gaussian elimination (also known as row reduction) is an algorithm for solving systems of linear equations.)
12th Oct 2017, 8:36 PM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
+ 15
RSA is in our lifes
13th Oct 2017, 1:14 AM
taisedekar
taisedekar - avatar
+ 15
One of my favourites is A* algorithm, In computer science, A* (pronounced "A star") is a computer algorithm that is widely used in path finding and graph traversal, the process of plotting an efficiently traversable path between points, called nodes. The secret to its success is that it combines the pieces of information that Dijkstra’s algorithm uses (favouring vertices that are close to the starting point)and information that Greedy Best-First-Search uses (favouring vertices that are close to the goal). A* is commonly used for the common path finding problem in applications such as games, but was originally designed as a general graph traversal algorithm.
13th Oct 2017, 8:05 AM
Aymen Jarouih
Aymen Jarouih - avatar
+ 15
As I don't understand the algorithms, so, am I not a developer? :/
15th Oct 2017, 4:26 PM
Bohdan
Bohdan - avatar
+ 14
I'll go with the fast fourier transformation because I like listening to music and watching videos. (If I had to choose my own, I'm pretty fond of Hindley-Milner.)
12th Oct 2017, 9:34 PM
Schindlabua
Schindlabua - avatar
+ 14
10!
13th Oct 2017, 10:40 AM
AL.The.Flame!
AL.The.Flame! - avatar
+ 12
I like simple & beautiful algorithms, for me Euclid s gcd algorithm will always remain beautiful gcd(m,n)=gcd(n,m%n) recursive till n==0 and he wrote this in 300B.C & good luck finding gcd with other methods 😋, try it it's cool, now u can find LCM too using it LCM(m,n)* GCD(m,n) = m * n
13th Oct 2017, 3:39 PM
Morpheus
Morpheus - avatar
+ 12
 A greedy algorithm is an algorithmic paradigm that follows the problem solving heuristic of making the locally optimal choice at each stage with the hope of finding a global optimum. Source: Wikipedia
13th Oct 2017, 9:50 PM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
+ 12
Alpha–beta pruning is a search algorithm that seeks to decrease the number of nodes that are evaluated by the minimax algorithm in its search tree. It is an adversarial search algorithm used commonly for machine playing of two-player games (Tic-tac-toe, Chess, Go, etc.).  Source: Wikipedia
13th Oct 2017, 10:21 PM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
+ 12
1
16th Oct 2017, 12:53 PM
Suraj Rokde
Suraj Rokde - avatar
+ 12
Yes.... Brother...
16th Oct 2017, 12:58 PM
Suraj Rokde
Suraj Rokde - avatar
14th Oct 2017, 5:44 AM
Poet🎭
Poet🎭 - avatar
+ 10
Good advice @CodeMaster
13th Oct 2017, 12:06 PM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
+ 10
thanks
13th Oct 2017, 2:07 PM
Isomer
Isomer - avatar
+ 10
Greedy Algorithm
13th Oct 2017, 7:25 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 9
@Aymen Jarouih Thanks for your input. That algorithm really deserves to be taken into account.
13th Oct 2017, 10:59 AM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
+ 9
@Norbivar Thank you for expanding your information.
13th Oct 2017, 11:01 AM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar