Why Data Structures Are Important For Every Programmer?

Krish Naik · Intermediate ·📐 ML Fundamentals ·6y ago

Key Takeaways

Explains why data structures are important for programmers, including their role in storing and manipulating data

Full Transcript

hello my name is Krishna and welcome to my youtube channel in this video we'll discuss why data structure is very very important for each and every programmer I'm not talking with respect to data science I'm not talking with respect to web-based a developer or some kind other kind of developer right and just take talking in a generic way but I'll give you some example of data scientist also how data structures can be important because many of your subscribers are basically asking this particular question so I found planning to move towards data sent should we have good knowledge about data structures or not so before going ahead guys let me just make clear some doubts regarding this now when I talk about two topics over here one is data structure and the other one is algorithm right now many of the people whenever I talk about data structure they'll be thinking algorithm also as a part of it but just try to understand this here data structure some of the examples of data structures are arrays you know lists and you have peoples you have sets you have dictionaries you have queues you have stacks so these are the examples of data structure and why this data structure are basically used they are used for storing some data some variable some value you know and when we are using these data structures in a set of instruction such that the it helps us to execute some task very efficiently at that time we'll call that as an algorithm right so this is the basic difference between data structure and algorithm some of the algorithms that I would like to specify in a generic way I think everybody knows about it our selection shot right sorting algorithms you have merge sort your selection sort right you have binary search sort so a lot of algorithms are already present and within this algorithm you are in short using different kind of data structures right it is very important to understand now the question arises that whether you should be good at algorithm or first you have to be good at data structures right guys remember some of the algorithms like selection sort more sought right now it is coming with respect to different different programming language they are coming as an inbuilt functions so first of all before learning any technology you have to be sure about the data structures because if you know about the data structures you will get the logic to write the code efficiently okay and if you have how that particular data structure works again and if I just take an example with respect to data scientist now where does this data structure comes when you are actually working with respect to data scientist you know that we have something called a data analysis and data pre-processing stage over there you'll be using data structures like our data frames you will be using data structures like arrays lists tuples sets right for performing some particular function now when you have those ideas about that particular data structure you will be able to use them write a very good code right and I'm not just talking about any algorithm over there okay suppose I am writing some custom logic code and when I'm writing that I know how the data is basically coming I can basically use data structures and try to efficiently write that particular code so that I get the output very quickly nowadays also even companies like Amazon Google write your first round of interview will be with respect to data structures and algorithms they tell you how to write a very good sorting algorithm what is the worst case of the time right how fast can get executed what is the best case so they'll try to ask all this particular question then in the second and third round they'll go into your domain knowledge always remember that many students has been asking me so is data structures required I will say definitely yes because if you have the knowledge of data structure right you will be able to learn any programming language very quickly and you'll be able to apply your own logic let me just give an example of myself when I just passed out of my college after my placement was done you know when I was about to write a real-world scenario code right for implementing the logic it used to take a lot of time because I was not sure about the data structures properly then I learned that you know I gained that momentum to write efficient code take an example of why Amazon and Google will be focusing on data structures just take an example of Google search guys if you are typing some core some query in the search engine how much time it takes for your response to come from there somewhere around milliseconds right in the same case if you just take an example of Amazon in where you do a lot of online shopping if you're searching for some product how much milliseconds it'll take just bring down your query and show you all the results milliseconds how it is basically happening there is data structures that is involved apart from that they have internally written their own algorithms right now in case of data science in case of machine learning case of deep learning we know that in machine learning we have various algorithms right and inside that algorithms also they are using different different data structures you're using different different code write efficient code to basically implement that algorithm so data structures is important now if I say that in data pre-processing only after you load the data from a CSV file or from some external database you need to do lot of things over there right that is what I say feature engineering you have to handle the missing values right that time you have to basically play with the data frame like if I take an example of pandas you have bezel converting that data set into a data frame right and data frame is one of the data structures that is come through that library coyness pandas and sometimes you need to convert that into an array to apply some different kind of operations sometimes you may also have to convert that into lists so it is very very important that you understand that guys data structure is important because it will help to build you it will give you the knowledge of how to write logic how to basically implement an efficient code and that is the main aim of every programmer guys remember right because in companies also you will be having a senior person will be reviewing your code and he will be giving you comments okay why you have used multiple for looks over here can't you just write an efficient code with respect to this right so that that but that custom code that you're basically writing is basically a logic and you should try to write that code in such a way that it should take less amount of time to get executed and that is where your best-case scenario and a worst case scenario with respect to time constraint will come if you remember Omega big o-notation right if any of them have heard about that in engineering right at that time I just used to learn this but when I got any chance to implement in the real-world scenario understood all the concept so guys remember data structure is important okay I know in data science in machine learning you have the machine learning algorithm built but still you will require these data structures efficiently in the data pre-processing stage let it be feature engineering of feature selection right this is very very important to understand so I hope you like this particular videos guys please do subscribe the channel if you have not already subscribed and thank you for supporting I've just reached 40k and please keep supporting I this I'll come with up with very interesting content I'll definitely be you know always ready to help you out with respect to your queries providing more and more knowledge so thank you won $1 I'll see you all in the next video have a great day ahead thank you

Original Description

Please join as a member in my channel to get additional benefits like materials in Data Science, live streaming for Members and many more https://www.youtube.com/channel/UCNU_lfiiWBdtULKOw6X0Dig/join Hello All, In this video we will see Why Data Structures are important for Every Programmer? Support me in Patreon: https://www.patreon.com/join/2340909? You can buy my book on Finance with Machine Learning and Deep Learning from the below url amazon url: https://www.amazon.in/Hands-Python-Finance-implementing-strategies/dp/1789346371/ref=as_sl_pc_qf_sp_asin_til?tag=krishnaik06-21&linkCode=w00&linkId=ac229c9a45954acc19c1b2fa2ca96e23&creativeASIN=1789346371 Buy the Best book of Machine Learning, Deep Learning with python sklearn and tensorflow from below amazon url: https://www.amazon.in/Hands-Machine-Learning-Scikit-Learn-Tensor/dp/9352135210/ref=as_sl_pc_qf_sp_asin_til?tag=krishnaik06-21&linkCode=w00&linkId=a706a13cecffd115aef76f33a760e197&creativeASIN=9352135210 Connect with me here: Twitter: https://twitter.com/Krishnaik06 Facebook: https://www.facebook.com/krishnaik06 instagram: https://www.instagram.com/krishnaik06 Subscribe my unboxing Channel https://www.youtube.com/channel/UCjWY5hREA6FFYrthD0rZNIw Below are the various playlist created on ML,Data Science and Deep Learning. Please subscribe and support the channel. Happy Learning! Deep Learning Playlist: https://www.youtube.com/watch?v=DKSZHN7jftI&list=PLZoTAELRMXVPGU70ZGsckrMdr0FteeRUi Data Science Projects playlist: https://www.youtube.com/watch?v=5Txi0nHIe0o&list=PLZoTAELRMXVNUcr7osiU7CCm8hcaqSzGw NLP playlist: https://www.youtube.com/watch?v=6ZVf1jnEKGI&list=PLZoTAELRMXVMdJ5sqbCK2LiM0HhQVWNzm Statistics Playlist: https://www.youtube.com/watch?v=GGZfVeZs_v4&list=PLZoTAELRMXVMhVyr3Ri9IQ-t5QPBtxzJO Feature Engineering playlist: https://www.youtube.com/watch?v=NgoLMsaZ4HU&list=PLZoTAELRMXVPwYGE2PXD3x0bfKnR0cJjN Computer Vision playlist: https://www.youtube.com/watch?v=mT34_yu5pbg&list=PLZoTAELRM
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Krish Naik · Krish Naik · 0 of 60

← Previous Next →
1 Natural Language Processing|Stemming
Natural Language Processing|Stemming
Krish Naik
2 Natural Language Processing|BagofWords
Natural Language Processing|BagofWords
Krish Naik
3 Gaussian distribution or Normal Distribution in statisctics
Gaussian distribution or Normal Distribution in statisctics
Krish Naik
4 Natural Language Processing|TF-IDF for Machine Learning| Text Prerocessing
Natural Language Processing|TF-IDF for Machine Learning| Text Prerocessing
Krish Naik
5 Log Normal Distribution in Statistics
Log Normal Distribution in Statistics
Krish Naik
6 Covariance in Statistics
Covariance in Statistics
Krish Naik
7 Confusion matrix, Precision, Recall| Data Science Interview questions
Confusion matrix, Precision, Recall| Data Science Interview questions
Krish Naik
8 Tutorial 44-Balanced vs Imbalanced Dataset and how to handle Imbalanced Dataset
Tutorial 44-Balanced vs Imbalanced Dataset and how to handle Imbalanced Dataset
Krish Naik
9 Implementing a Spam classifier in python| Natural Language Processing
Implementing a Spam classifier in python| Natural Language Processing
Krish Naik
10 Tutorial 11-Exploratory Data Analysis(EDA) of Titanic dataset
Tutorial 11-Exploratory Data Analysis(EDA) of Titanic dataset
Krish Naik
11 Face Recognition using open CV and VGG 16 Transfer Learning
Face Recognition using open CV and VGG 16 Transfer Learning
Krish Naik
12 Pedestrian Detection using OpenCV from Videos
Pedestrian Detection using OpenCV from Videos
Krish Naik
13 Face and Eye Detection from Videos using HAAR Cascade Classifier
Face and Eye Detection from Videos using HAAR Cascade Classifier
Krish Naik
14 Reading, Writing and Displaying images with Opencv| OpenCV Tutorial
Reading, Writing and Displaying images with Opencv| OpenCV Tutorial
Krish Naik
15 OpenCV Installation | OpenCV tutorial
OpenCV Installation | OpenCV tutorial
Krish Naik
16 Face and Eye Detection from Images using HAAR Cascade Classifier
Face and Eye Detection from Images using HAAR Cascade Classifier
Krish Naik
17 Car Detection using HAAR Cascade and Opencv from Videos.
Car Detection using HAAR Cascade and Opencv from Videos.
Krish Naik
18 Using OpenFace for Face recognition in Keras
Using OpenFace for Face recognition in Keras
Krish Naik
19 OpenPose Tutorial with Tensorflow
OpenPose Tutorial with Tensorflow
Krish Naik
20 Multiple Linear Regression using python and sklearn
Multiple Linear Regression using python and sklearn
Krish Naik
21 Dimensional Reduction| Principal Component Analysis
Dimensional Reduction| Principal Component Analysis
Krish Naik
22 Movie Recommender System using Python
Movie Recommender System using Python
Krish Naik
23 TPR,FPR,FNR,TNR, Confusion Matrix
TPR,FPR,FNR,TNR, Confusion Matrix
Krish Naik
24 Precision, Recall and F1-Score
Precision, Recall and F1-Score
Krish Naik
25 Artificial Neural Network for Customer's Exit Prediction from Bank
Artificial Neural Network for Customer's Exit Prediction from Bank
Krish Naik
26 GridSearchCV- Select the best hyperparameter for any Classification Model
GridSearchCV- Select the best hyperparameter for any Classification Model
Krish Naik
27 RandomizedSearchCV- Select the best hyperparameter for any Classification Model
RandomizedSearchCV- Select the best hyperparameter for any Classification Model
Krish Naik
28 K Nearest Neighbor classification with Intuition and practical solution
K Nearest Neighbor classification with Intuition and practical solution
Krish Naik
29 K Means Clustering Intuition
K Means Clustering Intuition
Krish Naik
30 Create custom Alexa Skill- Lambda function- Part2
Create custom Alexa Skill- Lambda function- Part2
Krish Naik
31 Hierarchical Clustering intuition
Hierarchical Clustering intuition
Krish Naik
32 Implement Transfer Learning with a generic Code Template
Implement Transfer Learning with a generic Code Template
Krish Naik
33 Gender Classifier and Age Estimator using Resnet Convolution Neural Network
Gender Classifier and Age Estimator using Resnet Convolution Neural Network
Krish Naik
34 Unlock Your Application With Your Face using OpenCV
Unlock Your Application With Your Face using OpenCV
Krish Naik
35 Draw rectangle from webcam and sketch process it on a live feed
Draw rectangle from webcam and sketch process it on a live feed
Krish Naik
36 Complete Life Cycle of a Data Science Project
Complete Life Cycle of a Data Science Project
Krish Naik
37 How we can apply Machine Learning in Finance
How we can apply Machine Learning in Finance
Krish Naik
38 Deep Learning in Medical Science
Deep Learning in Medical Science
Krish Naik
39 How to switch your career to Data Science.
How to switch your career to Data Science.
Krish Naik
40 Linear Regression Mathematical Intuition
Linear Regression Mathematical Intuition
Krish Naik
41 Handle Categorical features using Python
Handle Categorical features using Python
Krish Naik
42 Machine Learning Algorithm- Which one to choose for your Problem?
Machine Learning Algorithm- Which one to choose for your Problem?
Krish Naik
43 DBSCAN Clustering Easily Explained with Implementation
DBSCAN Clustering Easily Explained with Implementation
Krish Naik
44 Curse of Dimensionality Easily explained| Machine Learning
Curse of Dimensionality Easily explained| Machine Learning
Krish Naik
45 Feature Selection Techniques Easily Explained | Machine Learning
Feature Selection Techniques Easily Explained | Machine Learning
Krish Naik
46 Tutorial 29-R square and Adjusted R square Clearly Explained| Machine Learning
Tutorial 29-R square and Adjusted R square Clearly Explained| Machine Learning
Krish Naik
47 Cross Validation using sklearn and python | Machine Learning
Cross Validation using sklearn and python | Machine Learning
Krish Naik
48 Handling Missing Data Easily Explained| Machine Learning
Handling Missing Data Easily Explained| Machine Learning
Krish Naik
49 Deploy Machine Learning Model using Flask
Deploy Machine Learning Model using Flask
Krish Naik
50 Deployment of Deep Learning Model using Flask
Deployment of Deep Learning Model using Flask
Krish Naik
51 How to Visualize Multiple Linear Regression in python
How to Visualize Multiple Linear Regression in python
Krish Naik
52 K Nearest Neighbour Easily Explained with Implementation
K Nearest Neighbour Easily Explained with Implementation
Krish Naik
53 Predicting Heart Disease using Machine Learning
Predicting Heart Disease using Machine Learning
Krish Naik
54 Predicting Lungs Disease using Deep Learning
Predicting Lungs Disease using Deep Learning
Krish Naik
55 Stock Sentiment Analysis using News Headlines
Stock Sentiment Analysis using News Headlines
Krish Naik
56 Random Forest(Bootstrap Aggregation) Easily Explained
Random Forest(Bootstrap Aggregation) Easily Explained
Krish Naik
57 Voting Classifier(Hard Voting and Soft Voting Classifier)
Voting Classifier(Hard Voting and Soft Voting Classifier)
Krish Naik
58 Credit Card Fraud Detection using Machine Learning from Kaggle
Credit Card Fraud Detection using Machine Learning from Kaggle
Krish Naik
59 Hyperparameter Optimization for Xgboost
Hyperparameter Optimization for Xgboost
Krish Naik
60 Tutorial 45-Handling imbalanced Dataset  using python- Part 1
Tutorial 45-Handling imbalanced Dataset using python- Part 1
Krish Naik

Related AI Lessons

Beyond the Elephant: On Manifolds, Projections, and the Hidden Assumptions of Neural Geometry
Learn how neural geometry relies on manifolds, projections, and hidden assumptions to understand complex data, and why it matters for AI development
Medium · AI
Beyond the Elephant: On Manifolds, Projections, and the Hidden Assumptions of Neural Geometry
Learn how neural geometry relies on manifolds, projections, and hidden assumptions to understand complex data, and why it matters for advancing AI research
Medium · Data Science
Beyond the Elephant: On Manifolds, Projections, and the Hidden Assumptions of Neural Geometry
Explore the geometric assumptions underlying neural networks and their implications on manifold learning and projections
Medium · Deep Learning
Beyond the Elephant: On Manifolds, Projections, and the Hidden Assumptions of Neural Geometry
Learn about the hidden assumptions of neural geometry and how manifolds and projections impact neural network performance
Medium · LLM
Up next
Machine Learning Project for Final Year Students | ML Project Idea @FameWorldEducationalHub
FAME WORLD EDUCATIONAL HUB
Watch →