Skip to main content

Data Structures And Algo

·344 words·2 mins· loading · loading · ·
Utkarsh Deoli
Author
Utkarsh Deoli
Just a developer for fun

What is DSA?
#

DSA is defined as a combination of two separate yet interrelated topics – Data Structure and Algorithms. DSA is one of the most important skills that every computer science student must have. It is often seen that people with good knowledge of these technologies are better programmers than others and thus, crack the interviews of almost every tech giant.

![[DSAIMG.png]]

What is Data Structure?
#

A data structure is defined as a particular way of storing and organizing data in our devices to use the data efficiently and effectively. The main idea behind using data structures is to minimize the time and space complexities. An efficient data structure takes minimum memory space and requires minimum time to execute the data.

What is Algorithm?
#

Algorithm is defined as a process or set of well-defined instructions that are typically used to solve a particular group of problems or perform a specific type of calculation. To explain in simpler terms, it is a set of operations performed in a step-by-step manner to execute a task.

How to start learning DSA?
#

The first and foremost thing is dividing the total procedure into little pieces which need to be done sequentially. The complete process to learn DSA from scratch can be broken into 4 parts:

1. [[02 Time and Space complexities]]
#

Data Structures

  1. Stacks
  2. Queue
  3. Linked List
  4. Tree
  5. Graph

3. [[04 Algorithms]]
#

Problems
#

Questions Leetcode [[05 DSA Problem Sheet]] -> Collage Problem Sheet

  1. [[2962. Count Sub-arrays Where Max Element Appears at Least K Times]]
  2. [[2958. Length of Longest Subarray With at Most K Frequency]]