SEVEN Algorithms that every software developer should know about 💯

Thread 🧵👇

1. Shortest Path

Distance of one particular point to another, one particular point to all other points, and each point to other points.
2. Hashing

Hashing helps in retrieving the items in a complex database easily by simple indexing rather than through original value which takes a lot of time.
3. Sorting

- Quick Sort
- Bubble Sort
- Selection Sort
- many more
4. Searching

- Binary Search
- Linear Search
- etc.
5. Knapsack Problem

The items are either completely or no items are filled in a knapsack.
6. Search Tree

With the help of tree algorithms, one can find an item in a reasonably balanced time.
7. Travelling Salesman

Optimization is the key to success. This helps in solving a problem through the quickest, most efficient, and cheapest possible solution.
That's a wrap!

If you enjoyed this thread:

1. Follow me @Sauain for more of these
2. RT the tweet below to share this thread with your audience https://t.co/onn3Etd5RK

More from All

You May Also Like

“We don’t negotiate salaries” is a negotiation tactic.

Always. No, your company is not an exception.

A tactic I don’t appreciate at all because of how unfairly it penalizes low-leverage, junior employees, and those loyal enough not to question it, but that’s negotiation for you after all. Weaponized information asymmetry.

Listen to Aditya


And by the way, you should never be worried that an offer would be withdrawn if you politely negotiate.

I have seen this happen *extremely* rarely, mostly to women, and anyway is a giant red flag. It suggests you probably didn’t want to work there.

You wish there was no negotiating so it would all be more fair? I feel you, but it’s not happening.

Instead, negotiate hard, use your privilege, and then go and share numbers with your underrepresented and underpaid colleagues. […]