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
Summary

Summary DSA SHORT NOTES

Rating
-
Sold
-
Pages
24
Uploaded on
28-02-2023
Written in
2022/2023

there are the short and precised notes ,it is very easy to read and understand .you can use these notes for the preparation of interviews

Institution
Course

Content preview

DSA SHORT NOTES
(CODING NINJAS)

DESIGNED BY DEEPAK
KUMAR
B TECH CSE IIT KHARAGPUR
CO FOUNDER OF CODING
NINJAS
FOR MORE
INFO :7725909404

,C++ Basics – CODING NINJAS A2Z DSA
Course - L1
take U forward

This is a full-fledged interview preparation website that I run on
my end so if you 're someone who has three months to like six
months of time left for interviews I will definitely ask you how
to check this Strivers SD sheet. This is one of the most followed
resources in the country as of now what does this resource
gives you it gives you 119 well curated problems such that all
your DS algo Concepts will be covered. You should definitely
check out coding ninjas because web development okay data
Stitch algorithm foreign County there 's a link in the description

, make sure you check them out I 'll be using vs code in order to
code I'll be writing my C plus plus code over here and whatever
the code generates as an output will be produced over here. In
the next video we will be covering Java 1. C plus plus we can
use the hash include so hash include i o stream imagine if you
want to use something like a math dot h I 'll be talking about
radical functions afterwards. C out is a function which exists
under the STD and double colon so in order to use C out you
have to write STD.

Program always uses STD for all the functions for most of the
functions you have to write STD double colon double Corner. If
you compile it prints everything now it looks a easier task is n't
it so this is how you can easily write okay now let 's quickly
have an input imagine you want to take an input. It's going to
take you a lot of time this is where C plus plus C is a I 've got
something better for you I say can I write bits STD C plus Plus C
plusplus C. It includes all the libraries everything whatever
libraries are there in C plus. plus plus. everything is included
under this bits slash stdc pluscplus plus dot h. We will be
specifically using two data types float and double again they
have ranges depending on the Range that you use you 'll be
using float or double the ranges are visible on the screen. If
you want to store bigger numbers than this this is where
something like long long will come in so if you are saying long
long it will give you a wider range.

If we use something like get line inside the get line you have to
write CN what is get line again do not need to dig deep it's an
internal function. The moment you click enter the next line will
not be picked up so it just picks up till the line break so string
and get line is used to take any of the string. Character can
store all of the 256 characters in English dictionary. If we have
something like a 10 and that 10 can be stored in all the three
or all the five why ca n't we use simply long long or maybe
double? Everything takes up a certain space in your computer
so depending on that we decide what to use now integer has a
range now those numbers you can't uh remember so what I
usually do is I keep a rounding of number like I know integer
will be from minus 10 to the power 9 to 10 to power 9. If you
are greater than equal to 18 then I can say you are an adult
you're an adult yes or if you are lesser than 18 E1 not an adult.
If you omit the else statement what will happen is the 15 will

Written for

Course

Document information

Uploaded on
February 28, 2023
Number of pages
24
Written in
2022/2023
Type
SUMMARY

Subjects

$5.99
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
deepakkumar4

Get to know the seller

Seller avatar
deepakkumar4
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
1
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