Best of Data Science — September 2020
- 1
- 2
Hashnode·6y
Juggling Algorithm for Array Rotation.
Rotation means simply shifting elements of an array by a specified number of positions. Rotations can be of 2 types: left and right. Other methods include block-swap algorithm, reversal algorithm, juggling algorithm, etc. We know, one code can be written in many ways. But, choosing an optimal code is the ultimate goal.
- 3
DEV·6y
How to learn (not memorize) any algorithm or data structure. Analysis of 20 problem-solving techniques you must know
Programming is about solving problems and here I will dive deep into 20 problem-solving techniques. I will explain each of them, show how to apply them to coding problems, and leave you some exercises so that you can practice on your own. The last section includes a step-by-step guide to learn (not memorize) any algorithm or data structure.