SlideShare a Scribd company logo
2
Most read
6
Most read
10
Most read
PRESENTED BY
Dr.S.Lovelyn Rose
PLACEMENT ORIENTED DATA
STRUCTURES
World without Data Structure
• Difficult to retrieve needed item
World with Data Structure
• Easy to retrieve needed item
The same holds for an algorithm when the
data are not stored in an efficient format
appropriate to the application.
All algorithms primarily deal with data and the
way the data is organized affects the
performance of the algorithm.
Why are most of the interview
questions in Data Structures?
Data structures refer to the particular way in
which data is stored and organized and the
allowed operations on the data
The efficiency of an algorithm depends on the
data structure used.
What is Data Structures?
Basics
Remember you cannot jump to problems
without basics so make sure you study the
books first.
Books like
Yashwant Kanetkar - Coding
Lipschutz Seymour – Basics
Anany Levitin – Analysis of Algorithms
Cormen, Leiserson, Rivest – Inside out
Preparation
 Stack
 Queue
 Array
 Linked list
 Tree
Binary tree
Binary search tree
Trie
 Graph
 Hash table
 Sorting Techniques
Basics
Linked List / Trees
Insertion
Deletion
Traversal
Graph
DFS
BFS
Algorithms
Basic insertion, deletion algorithms
With real interview problems
Resources
http://www.geeksforgeeks.org/
http://www.careercup.com/
Practice, Practice and Practice
 Question
 Known
 Twist on known problem
 unknown
 Nature
 Easy
 Tough
 Easy
 Knowledge
 Intelligence
 Easy for everyone? – Optimization matters
 Tough
 don’t panic - Can struggle on a question
 talk loud
Walk through
Understand problem
Ask questions
Resolve ambiguity – Eg. reverse a list
Algorithm or code - based on company
linked list - singly or doubly linked
list – array or linked list
Tree - Binary or binary search tree
Verbal communication – clear and concise
All interviewed make mistakes – good ones –
rectify
Walk through (contd…)
Optimization
Time and space
Recursion?
Test cases
Boundary condition
Input error
Normal case
Factors to Consider
Highlight in resume
I am smart
I can code
Independent projects not part of curriculum
Shows your interest in studies
Resume
Learning Phase
In paper
In computer
Find bugs
Remember practice
Rectify
Language to code – C, C++, Java
If first pseudocode – make sure u also write
code
Coding
1. Proper indentation
2. Proper visibility (public / private)
3. Modular programming
4. Usage of object oriented concepts
5. Proper comments before each function
6. Proper and appropriate naming of functions and
variables
7. Proper passing of parameters and not using
global variables
Coding
Try with examples – get logic
Seen a similar problem – convert to it
Mathematical induction
Try for small problems and solve for the bigger
problem
Data structures?
– Choose appropriate to your application
Approaches
Source
• careercup
• Feedback from students

More Related Content

PPT
Concurrency
PPTX
CNF & Leftmost Derivation - Theory of Computation
PDF
DDBMS_ Chap 7 Optimization of Distributed Queries
PPTX
Cost estimation for Query Optimization
PDF
A* Search Algorithm
PPT
Sets and disjoint sets union123
PPTX
Hashing in datastructure
PPTX
Binary Search Tree for design and analysis
Concurrency
CNF & Leftmost Derivation - Theory of Computation
DDBMS_ Chap 7 Optimization of Distributed Queries
Cost estimation for Query Optimization
A* Search Algorithm
Sets and disjoint sets union123
Hashing in datastructure
Binary Search Tree for design and analysis

What's hot (20)

PDF
Binary search tree operations
PPTX
Deadlock dbms
PPTX
Backtracking
PDF
Address in the target code in Compiler Construction
PPT
Minimum spanning tree
PPTX
Knowledge representation in AI
PPT
16. Concurrency Control in DBMS
PPTX
Topological Sorting
PPTX
State space search and Problem Solving techniques
PPTX
Data Structures - Lecture 7 [Linked List]
PPT
Chapter 2 ds
PPTX
Knapsack problem algorithm, greedy algorithm
PPTX
Ambiguous & Unambiguous Grammar
PPTX
Strongly connected components
PPT
CPU Scheduling Algorithms
PPTX
Complexity in array
PPTX
Forward and Backward chaining in AI
PPTX
Deep learning: Overfitting , underfitting, and regularization
PPTX
1.10. pumping lemma for regular sets
PPTX
Open addressiing &rehashing,extendiblevhashing
Binary search tree operations
Deadlock dbms
Backtracking
Address in the target code in Compiler Construction
Minimum spanning tree
Knowledge representation in AI
16. Concurrency Control in DBMS
Topological Sorting
State space search and Problem Solving techniques
Data Structures - Lecture 7 [Linked List]
Chapter 2 ds
Knapsack problem algorithm, greedy algorithm
Ambiguous & Unambiguous Grammar
Strongly connected components
CPU Scheduling Algorithms
Complexity in array
Forward and Backward chaining in AI
Deep learning: Overfitting , underfitting, and regularization
1.10. pumping lemma for regular sets
Open addressiing &rehashing,extendiblevhashing
Ad

Similar to Placement oriented data structures (20)

PPTX
EE-232-LEC-01 Data_structures.pptx
DOCX
Data structure and algorithm.
PPTX
Cracking the coding interview columbia - march 23 2011
PPTX
1-Introduction to Data Structures beginner.pptx
PDF
Unit I Data structure and algorithms notes
PPTX
Data Structures and Algorithm - Module 1.pptx
PPTX
Data_structures_and_algorithm_Lec_1.pptx
PPTX
Data_structures_and_algorithm_Lec_1.pptx
PDF
Chapter 1 Introduction to Data Structures and Algorithms.pdf
PPTX
Cracking the coding interview u penn - sept 30 2010
PPTX
Data Structure Lecture 1 in java .pptx
DOCX
dsa 12217554 AdiMunot 4444444444(1).docx
PDF
DSA Report.pdf
PPTX
Algorithms and Data Structures
PPTX
PROGRAMMING COURSE DATA STRUCTURES
PPTX
lecture1-220221114413Algorithims and data structures.pptx
PPTX
lecture1-2202211144eeeee24444444413.pptx
PPTX
Lecture_01.1.pptx
PPT
1.1 introduction to Data Structures.ppt
PDF
Data structures and algorithms Module-1.pdf
EE-232-LEC-01 Data_structures.pptx
Data structure and algorithm.
Cracking the coding interview columbia - march 23 2011
1-Introduction to Data Structures beginner.pptx
Unit I Data structure and algorithms notes
Data Structures and Algorithm - Module 1.pptx
Data_structures_and_algorithm_Lec_1.pptx
Data_structures_and_algorithm_Lec_1.pptx
Chapter 1 Introduction to Data Structures and Algorithms.pdf
Cracking the coding interview u penn - sept 30 2010
Data Structure Lecture 1 in java .pptx
dsa 12217554 AdiMunot 4444444444(1).docx
DSA Report.pdf
Algorithms and Data Structures
PROGRAMMING COURSE DATA STRUCTURES
lecture1-220221114413Algorithims and data structures.pptx
lecture1-2202211144eeeee24444444413.pptx
Lecture_01.1.pptx
1.1 introduction to Data Structures.ppt
Data structures and algorithms Module-1.pdf
Ad

More from Lovelyn Rose (6)

PPTX
Deep learning simplified
PPTX
Mergesort without Animation
PPTX
Problem solving
PPTX
Linked list
PPTX
Insertion and Deletion in Binary Search Trees (using Arrays and Linked Lists)
PPTX
Linked list without animation
Deep learning simplified
Mergesort without Animation
Problem solving
Linked list
Insertion and Deletion in Binary Search Trees (using Arrays and Linked Lists)
Linked list without animation

Recently uploaded (20)

PPT
Gsisgdkddkvdgjsjdvdbdbdbdghjkhgcvvkkfcxxfg
PPTX
internship presentation of bsnl in colllege
PPTX
Nervous_System_Drugs_PPT.pptxXXXXXXXXXXXXXXXXX
PPTX
FINAL PPT.pptx cfyufuyfuyuy8ioyoiuvy ituyc utdfm v
PDF
L-0018048598visual cloud book for PCa-pdf.pdf
PPTX
Job-opportunities lecture about it skills
PDF
Blue-Modern-Elegant-Presentation (1).pdf
PDF
Manager Resume for R, CL & Applying Online.pdf
PDF
Why Today’s Brands Need ORM & SEO Specialists More Than Ever.pdf
PPTX
Prokaryotes v Eukaryotes PowerPoint.pptx
PPTX
E-Commerce____Intermediate_Presentation.pptx
PDF
313302 DBMS UNIT 1 PPT for diploma Computer Eng Unit 2
PDF
シュアーイノベーション採用ピッチ資料|Company Introduction & Recruiting Deck
PPTX
DPT-MAY24.pptx for review and ucploading
PPTX
cse couse aefrfrqewrbqwrgbqgvq2w3vqbvq23rbgw3rnw345
PPTX
PMP (Project Management Professional) course prepares individuals
PPT
APPROACH TO DEVELOPMENTALlllllllllllllllll
PDF
Josh Gao Strength to Strength Book Summary
PPTX
_+✅+JANUARY+2025+MONTHLY+CA.pptx current affairs
PPT
BCH3201 (Enzymes and biocatalysis)-JEB (1).ppt
Gsisgdkddkvdgjsjdvdbdbdbdghjkhgcvvkkfcxxfg
internship presentation of bsnl in colllege
Nervous_System_Drugs_PPT.pptxXXXXXXXXXXXXXXXXX
FINAL PPT.pptx cfyufuyfuyuy8ioyoiuvy ituyc utdfm v
L-0018048598visual cloud book for PCa-pdf.pdf
Job-opportunities lecture about it skills
Blue-Modern-Elegant-Presentation (1).pdf
Manager Resume for R, CL & Applying Online.pdf
Why Today’s Brands Need ORM & SEO Specialists More Than Ever.pdf
Prokaryotes v Eukaryotes PowerPoint.pptx
E-Commerce____Intermediate_Presentation.pptx
313302 DBMS UNIT 1 PPT for diploma Computer Eng Unit 2
シュアーイノベーション採用ピッチ資料|Company Introduction & Recruiting Deck
DPT-MAY24.pptx for review and ucploading
cse couse aefrfrqewrbqwrgbqgvq2w3vqbvq23rbgw3rnw345
PMP (Project Management Professional) course prepares individuals
APPROACH TO DEVELOPMENTALlllllllllllllllll
Josh Gao Strength to Strength Book Summary
_+✅+JANUARY+2025+MONTHLY+CA.pptx current affairs
BCH3201 (Enzymes and biocatalysis)-JEB (1).ppt

Placement oriented data structures

  • 1. PRESENTED BY Dr.S.Lovelyn Rose PLACEMENT ORIENTED DATA STRUCTURES
  • 2. World without Data Structure • Difficult to retrieve needed item
  • 3. World with Data Structure • Easy to retrieve needed item
  • 4. The same holds for an algorithm when the data are not stored in an efficient format appropriate to the application. All algorithms primarily deal with data and the way the data is organized affects the performance of the algorithm. Why are most of the interview questions in Data Structures?
  • 5. Data structures refer to the particular way in which data is stored and organized and the allowed operations on the data The efficiency of an algorithm depends on the data structure used. What is Data Structures?
  • 6. Basics Remember you cannot jump to problems without basics so make sure you study the books first. Books like Yashwant Kanetkar - Coding Lipschutz Seymour – Basics Anany Levitin – Analysis of Algorithms Cormen, Leiserson, Rivest – Inside out Preparation
  • 7.  Stack  Queue  Array  Linked list  Tree Binary tree Binary search tree Trie  Graph  Hash table  Sorting Techniques Basics
  • 8. Linked List / Trees Insertion Deletion Traversal Graph DFS BFS Algorithms
  • 9. Basic insertion, deletion algorithms With real interview problems Resources http://www.geeksforgeeks.org/ http://www.careercup.com/ Practice, Practice and Practice
  • 10.  Question  Known  Twist on known problem  unknown  Nature  Easy  Tough  Easy  Knowledge  Intelligence  Easy for everyone? – Optimization matters  Tough  don’t panic - Can struggle on a question  talk loud Walk through
  • 11. Understand problem Ask questions Resolve ambiguity – Eg. reverse a list Algorithm or code - based on company linked list - singly or doubly linked list – array or linked list Tree - Binary or binary search tree Verbal communication – clear and concise All interviewed make mistakes – good ones – rectify Walk through (contd…)
  • 12. Optimization Time and space Recursion? Test cases Boundary condition Input error Normal case Factors to Consider
  • 13. Highlight in resume I am smart I can code Independent projects not part of curriculum Shows your interest in studies Resume
  • 14. Learning Phase In paper In computer Find bugs Remember practice Rectify Language to code – C, C++, Java If first pseudocode – make sure u also write code Coding
  • 15. 1. Proper indentation 2. Proper visibility (public / private) 3. Modular programming 4. Usage of object oriented concepts 5. Proper comments before each function 6. Proper and appropriate naming of functions and variables 7. Proper passing of parameters and not using global variables Coding
  • 16. Try with examples – get logic Seen a similar problem – convert to it Mathematical induction Try for small problems and solve for the bigger problem Data structures? – Choose appropriate to your application Approaches