On Tue, 2 Jun 2020, Ajay kumar Gaddam wrote:
Hi,
I want to learn the basics like Data Structures and Algorithms. Please
share the Books or any resources to learn.
One way to look at it is,
data structure => structure of data =>
memory layout
algorithm => given a terminating
condition, steps taken to operate on
that memory layout
i find it tough to think or reason about
DS or ALG without having a picture of
memory or the memory model.
one possible way to learn is to imagine
that you are only aware of 'array' ie.
contiguous locations and can reach any
location using 'index' or subscript
operator [].
now try to implement stack, queue, tree.
use pencil and paper, it will be very
instructive and fun.
what you can't logically reason, you
have not learned !
Saifi.