Skip to content

Instantly share code, notes, and snippets.

View juliettegodyere's full-sized avatar
🙅‍♀️
Cracking the bricks

Juliet Nkwor juliettegodyere

🙅‍♀️
Cracking the bricks
View GitHub Profile
@juliettegodyere
juliettegodyere / gist:1a1112f5551cfc2555d94b5f477f9e5c
Last active January 24, 2024 13:53
Understanding the Relationship Between Algorithms and Data Structures
As I navigate my journey of job hunting and skill enhancement after a recent job loss, I find myself on a quest to reinforce my proficiency in algorithms and data structures. Despite dedicating a month to this pursuit, I still encountered challenges with certain algorithmic questions, prompting deeper reflections. What exactly is an algorithm? What constitutes a data structure? How do these fundamental concepts interrelate, and how can one effectively learn and apply them separately?
## Algorithm:
An algorithm stands as a systematic set of instructions or rules meticulously crafted to execute a specific task or solve a particular problem. It encapsulates a step-by-step approach to problem-solving, often involving the manipulation of data. Vital in computer science and programming, algorithms act as guiding principles, directing computers to perform tasks with efficiency and accuracy. The evaluation of an algorithm's efficiency typically revolves around time complexity (its runtime) and space complexity (memo