Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

DATA STRUCTURES AND ALGORITHMS

Rating
-
Sold
-
Pages
4
Uploaded on
24-12-2023
Written in
2023/2024

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.

Show more Read less
Institution
Course

Content preview

AN OVERVIEW OF ARRAYS AND MEMORY (DATA
STRUCTURES & ALGORITHMS 2)
CS DOJO
Introduction to arrays

In this video, we will cover the basics of arrays and give an
overview of how memory works. The video will split into 3 parts:
Basics of arrays
Memory vs storage
Storing integers and integer arrays in memory

An array is a collection of items of a single type, such as integers
or strings. It is not common for an array to have multiple types.
Here is an example of an array of integers:

Int sample Array [ 5] = {2, 4, 6, 8, 100};

You can visualize this array as a box with five partitions, each
containing an integer. The index of the array starts at 0 not 1.

Memory vs Storage

Memory, or RAM, and storage, such as a flash drive or hard disk,
are the two mechanisms for storing data on a computer. The
biggest difference between them is that data on storage is
permanent, while data on memory is not. When you turn off your
computer, the data on memory disappears. Reading and writing
data to storage is slower than to memory. This is why memory is
used as a temporary workspace for data that is being actively

Written for

Course

Document information

Uploaded on
December 24, 2023
Number of pages
4
Written in
2023/2024
Type
Class notes
Professor(s)
Cs dojo
Contains
All classes

Subjects

$16.69
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
priyankas

Get to know the seller

Seller avatar
priyankas SRI RAMAKRISHNA COLLEGE OF ATS AND SCIENCE
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
6
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions