SlideShare une entreprise Scribd logo
1  sur  24
Télécharger pour lire hors ligne
C C++ DS JAVA DATA STRUCTURES
TRAINING INSTITUTE KPHB HYDERABAD
Algorithm ClassMobile: +91-9963930865
https://sites.google.com/site/algorithmclass
ALGORITHM CLASSS
ALGORITHM CLASSS
Data Structures for interviews
Course details
By
Algorithm Class
Website
https://sites.google.com/site/algorithmclass
If you are strong enough in Data Structures, you can
 evaluate the quality of a program
(Analysis of Algorithms: running time and memory space )
 write fast programs with less memory usage
 solve new problems efficiently by choosing appropriate data
structures and algorithms
 Most importantly through this course you would be solving more
number of interview questions on data structures after each topic.
Importance of Data Structures
ALGORITHM CLASSS
To find in you…
 How smart you are to pick the appropriate data structure for a given
problem
 How strong you are on programming basics (DS)
 How good you are to decompose problems
 How quick you are to find solutions with a better logic
 To test your programming skills
… etc.
Why interviewer concentrates more on DS
ALGORITHM CLASSS
 Introduction to
 Arrays
 Strings
 Structures and Unions
 Pointers
 Algorithm analysis
Algorithm Analysis
ALGORITHM CLASSS
CONCEPTS
Array and linked list implementation of a stack
 create stack()
 isempty()
 push()
 pop()
 infix to post fix conversion
evaluate postfix expression
PROBLEMS
1. Check for balanced parentheses in an expression
2, Match brackets
3. check palindrome or not
4. Reverse a string
5. Sort stack
...etc
Stacks
ALGORITHM CLASSS
 How to write recursive programs
 Call flow analysis using call stack
 Call flow analysis using recursion tree
Recursion
ALGORITHM CLASSS
Queues
 Array implementation
 Linked list implementation
 Circular queue
 Interview questions on queues
ALGORITHM CLASSS
CONCEPTS
a) Array and linked list implementation of a queue
create queue()
isempty()
insert()
remove()
b) circular queue
c) double ended queue
PROBLEMS
1. Queue using 2 stacks
2. Sort queue
3. Reverse Queue
...etc
Queues
ALGORITHM CLASSS
 Single Linked list
 Circular linked list
 Double linked list
35 + interview problems on LLs
like ….
Find common node which is common to both the lists. You are allowed to traverse both the
lists only once.
delete a node p given in a linked list efficiently .....etc
Linked lists
ALGORITHM CLASSS
CONCEPTS
a) linked list
insertFront()
insertAfter()
insertEnd()
DelFirst()
DelEnd()
DeleAfter()
b) Circular linked list
insert()
remove()
stack as CLL
queue as CLL
c) Doubly linked list
setLeft()
setRight()
remove()
removeLeft()
RemoveRight()
Linked lists
KESHAV ALGORITHM CLASSS
Tournament tree
 How to find max element in the given elements
 How to find max element and second max element element in the
given elements
 Tournament tree data structure
Tournament tree
ALGORITHM CLASSS
 Trees ADT
 Binary Tree
 Binary search tree
 Preorder, Inorder and Postorder traversals
 Construct tree from Inorder and Postorder traversal
 Construct tree from Inorder and Preorder traversal
 Interview questions on trees
Trees
ALGORITHM CLASSS
a) Tree terminology
b) General tree
c) expression tree
d) Binary Tree
e) Binary Search Trees
createtree()
setleft()
setRight()
createTree()
disposeTree()
FindKey()
findMin()
findMax()
f) Preorder, inorder and post order traversals
PreTraversal()
postTraversal()
inorderTrav()
Trees
ALGORITHM CLASSS
g) find inorder successor, predecessor
h) Construct original tree from given pre order and in order traversals.
Construct original tree from given post order and in order traversals.
i) Tree delete operation
j) AVL tree
30 + problems on trees
questions like
Find number of full nodes in a tree.
Function to return 1 if there exists a path from the root to a leaf whose values sum is
S otherwise ...etc
Trees
ALGORITHM CLASSS
 Bubble sort
 Insertion sort
 Quick sort
 Merge sort
 Heap sort
 Priority queue
Interview questions on sorting
1. given a binary digits like 001101 arrange the numbers such that zeroes should follow
1s ike 0001111.
2. Find Triplets of a+b+c=k in an array
etc
Sorting
ALGORITHM CLASSS
 Binary search
 Hash table
 AVL trees
Interview questions on searching
Sorted array with duplicates write a function that returns the lowest index of an element x in
that array
... etc
Searching
ALGORITHM CLASSS
node Structure
getNode()
insert()
search()
5 problems on tries
TRIES
ALGORITHM CLASSS
Suffix trees
node Structure
getNode()
insert()
search()
suffix array
build suffix array
search()
4 problems
Suffix trees
ALGORITHM CLASSS
Adjacency matrix
Adjacency list
BFS
DFS
Kruskal's minimum spanning tree
Disjaskra's shortest path
Graphs
ALGORITHM CLASSS
Detect Cycle in a graph
Topological sorting
Check Graph is bipartite or not
check the given graph is tree or not
Find the number of islands
.. etc
Graphs problems
ALGORITHM CLASSS
Introduction to dynamic programming
memorization (top down)
tabulation (Bottom up)
optimal sub structure
8 problems on dynamic programming
Dynamic Programming
ALGORITHM CLASSS
Red-Black trees
ntroduction
insert()
delete()
Splay Trees
Intruduction
search()
insert()
Ternary Search Tree
Introduction
insert()
search()
Advanced Data Structures
ALGORITHM CLASSS
CONTACT
Algorithm Class
Nizampet, Hyderabad.
Mobile: +91-9963930865
Visit for more details about other courses:
https://sites.google.com/site/algorithmclass
ALGORITHM CLASSS

Contenu connexe

Plus de http://algorithmtraining.com/advanced-python-training-hyderabad/

Plus de http://algorithmtraining.com/advanced-python-training-hyderabad/ (20)

Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 

Dernier

Stock Market Brief Deck FOR 4/17 video.pdf
Stock Market Brief Deck FOR 4/17 video.pdfStock Market Brief Deck FOR 4/17 video.pdf
Stock Market Brief Deck FOR 4/17 video.pdfMichael Silva
 
Monthly Market Risk Update: April 2024 [SlideShare]
Monthly Market Risk Update: April 2024 [SlideShare]Monthly Market Risk Update: April 2024 [SlideShare]
Monthly Market Risk Update: April 2024 [SlideShare]Commonwealth
 
PMFBY , Pradhan Mantri Fasal bima yojna
PMFBY , Pradhan Mantri  Fasal bima yojnaPMFBY , Pradhan Mantri  Fasal bima yojna
PMFBY , Pradhan Mantri Fasal bima yojnaDharmendra Kumar
 
Governor Olli Rehn: Dialling back monetary restraint
Governor Olli Rehn: Dialling back monetary restraintGovernor Olli Rehn: Dialling back monetary restraint
Governor Olli Rehn: Dialling back monetary restraintSuomen Pankki
 
Economic Risk Factor Update: April 2024 [SlideShare]
Economic Risk Factor Update: April 2024 [SlideShare]Economic Risk Factor Update: April 2024 [SlideShare]
Economic Risk Factor Update: April 2024 [SlideShare]Commonwealth
 
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170Call Girls Near Delhi Pride Hotel, New Delhi|9873777170
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170Sonam Pathan
 
The Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh KumarThe Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh KumarHarsh Kumar
 
How Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of ReportingHow Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of ReportingAggregage
 
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一(办理学位证)加拿大萨省大学毕业证成绩单原版一比一
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一S SDS
 
Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111Sapana Sha
 
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办fqiuho152
 
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...Henry Tapper
 
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...First NO1 World Amil baba in Faisalabad
 
chapter_2.ppt The labour market definitions and trends
chapter_2.ppt The labour market definitions and trendschapter_2.ppt The labour market definitions and trends
chapter_2.ppt The labour market definitions and trendslemlemtesfaye192
 
government_intervention_in_business_ownership[1].pdf
government_intervention_in_business_ownership[1].pdfgovernment_intervention_in_business_ownership[1].pdf
government_intervention_in_business_ownership[1].pdfshaunmashale756
 
SBP-Market-Operations and market managment
SBP-Market-Operations and market managmentSBP-Market-Operations and market managment
SBP-Market-Operations and market managmentfactical
 
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证jdkhjh
 
212MTAMount Durham University Bachelor's Diploma in Technology
212MTAMount Durham University Bachelor's Diploma in Technology212MTAMount Durham University Bachelor's Diploma in Technology
212MTAMount Durham University Bachelor's Diploma in Technologyz xss
 
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...Amil Baba Dawood bangali
 

Dernier (20)

Stock Market Brief Deck FOR 4/17 video.pdf
Stock Market Brief Deck FOR 4/17 video.pdfStock Market Brief Deck FOR 4/17 video.pdf
Stock Market Brief Deck FOR 4/17 video.pdf
 
Monthly Market Risk Update: April 2024 [SlideShare]
Monthly Market Risk Update: April 2024 [SlideShare]Monthly Market Risk Update: April 2024 [SlideShare]
Monthly Market Risk Update: April 2024 [SlideShare]
 
PMFBY , Pradhan Mantri Fasal bima yojna
PMFBY , Pradhan Mantri  Fasal bima yojnaPMFBY , Pradhan Mantri  Fasal bima yojna
PMFBY , Pradhan Mantri Fasal bima yojna
 
Governor Olli Rehn: Dialling back monetary restraint
Governor Olli Rehn: Dialling back monetary restraintGovernor Olli Rehn: Dialling back monetary restraint
Governor Olli Rehn: Dialling back monetary restraint
 
Economic Risk Factor Update: April 2024 [SlideShare]
Economic Risk Factor Update: April 2024 [SlideShare]Economic Risk Factor Update: April 2024 [SlideShare]
Economic Risk Factor Update: April 2024 [SlideShare]
 
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170Call Girls Near Delhi Pride Hotel, New Delhi|9873777170
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170
 
The Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh KumarThe Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh Kumar
 
How Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of ReportingHow Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of Reporting
 
Monthly Economic Monitoring of Ukraine No 231, April 2024
Monthly Economic Monitoring of Ukraine No 231, April 2024Monthly Economic Monitoring of Ukraine No 231, April 2024
Monthly Economic Monitoring of Ukraine No 231, April 2024
 
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一(办理学位证)加拿大萨省大学毕业证成绩单原版一比一
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一
 
Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111
 
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
 
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
 
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
 
chapter_2.ppt The labour market definitions and trends
chapter_2.ppt The labour market definitions and trendschapter_2.ppt The labour market definitions and trends
chapter_2.ppt The labour market definitions and trends
 
government_intervention_in_business_ownership[1].pdf
government_intervention_in_business_ownership[1].pdfgovernment_intervention_in_business_ownership[1].pdf
government_intervention_in_business_ownership[1].pdf
 
SBP-Market-Operations and market managment
SBP-Market-Operations and market managmentSBP-Market-Operations and market managment
SBP-Market-Operations and market managment
 
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
 
212MTAMount Durham University Bachelor's Diploma in Technology
212MTAMount Durham University Bachelor's Diploma in Technology212MTAMount Durham University Bachelor's Diploma in Technology
212MTAMount Durham University Bachelor's Diploma in Technology
 
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...
 

Algorithm Class at KPHB C, C++ Training Institute KPHB, Kukatpally, Hyderabad.

  • 1. C C++ DS JAVA DATA STRUCTURES TRAINING INSTITUTE KPHB HYDERABAD Algorithm ClassMobile: +91-9963930865 https://sites.google.com/site/algorithmclass ALGORITHM CLASSS
  • 2. ALGORITHM CLASSS Data Structures for interviews Course details By Algorithm Class Website https://sites.google.com/site/algorithmclass
  • 3. If you are strong enough in Data Structures, you can  evaluate the quality of a program (Analysis of Algorithms: running time and memory space )  write fast programs with less memory usage  solve new problems efficiently by choosing appropriate data structures and algorithms  Most importantly through this course you would be solving more number of interview questions on data structures after each topic. Importance of Data Structures ALGORITHM CLASSS
  • 4. To find in you…  How smart you are to pick the appropriate data structure for a given problem  How strong you are on programming basics (DS)  How good you are to decompose problems  How quick you are to find solutions with a better logic  To test your programming skills … etc. Why interviewer concentrates more on DS ALGORITHM CLASSS
  • 5.  Introduction to  Arrays  Strings  Structures and Unions  Pointers  Algorithm analysis Algorithm Analysis ALGORITHM CLASSS
  • 6. CONCEPTS Array and linked list implementation of a stack  create stack()  isempty()  push()  pop()  infix to post fix conversion evaluate postfix expression PROBLEMS 1. Check for balanced parentheses in an expression 2, Match brackets 3. check palindrome or not 4. Reverse a string 5. Sort stack ...etc Stacks ALGORITHM CLASSS
  • 7.  How to write recursive programs  Call flow analysis using call stack  Call flow analysis using recursion tree Recursion ALGORITHM CLASSS
  • 8. Queues  Array implementation  Linked list implementation  Circular queue  Interview questions on queues ALGORITHM CLASSS
  • 9. CONCEPTS a) Array and linked list implementation of a queue create queue() isempty() insert() remove() b) circular queue c) double ended queue PROBLEMS 1. Queue using 2 stacks 2. Sort queue 3. Reverse Queue ...etc Queues ALGORITHM CLASSS
  • 10.  Single Linked list  Circular linked list  Double linked list 35 + interview problems on LLs like …. Find common node which is common to both the lists. You are allowed to traverse both the lists only once. delete a node p given in a linked list efficiently .....etc Linked lists ALGORITHM CLASSS
  • 11. CONCEPTS a) linked list insertFront() insertAfter() insertEnd() DelFirst() DelEnd() DeleAfter() b) Circular linked list insert() remove() stack as CLL queue as CLL c) Doubly linked list setLeft() setRight() remove() removeLeft() RemoveRight() Linked lists KESHAV ALGORITHM CLASSS
  • 12. Tournament tree  How to find max element in the given elements  How to find max element and second max element element in the given elements  Tournament tree data structure Tournament tree ALGORITHM CLASSS
  • 13.  Trees ADT  Binary Tree  Binary search tree  Preorder, Inorder and Postorder traversals  Construct tree from Inorder and Postorder traversal  Construct tree from Inorder and Preorder traversal  Interview questions on trees Trees ALGORITHM CLASSS
  • 14. a) Tree terminology b) General tree c) expression tree d) Binary Tree e) Binary Search Trees createtree() setleft() setRight() createTree() disposeTree() FindKey() findMin() findMax() f) Preorder, inorder and post order traversals PreTraversal() postTraversal() inorderTrav() Trees ALGORITHM CLASSS
  • 15. g) find inorder successor, predecessor h) Construct original tree from given pre order and in order traversals. Construct original tree from given post order and in order traversals. i) Tree delete operation j) AVL tree 30 + problems on trees questions like Find number of full nodes in a tree. Function to return 1 if there exists a path from the root to a leaf whose values sum is S otherwise ...etc Trees ALGORITHM CLASSS
  • 16.  Bubble sort  Insertion sort  Quick sort  Merge sort  Heap sort  Priority queue Interview questions on sorting 1. given a binary digits like 001101 arrange the numbers such that zeroes should follow 1s ike 0001111. 2. Find Triplets of a+b+c=k in an array etc Sorting ALGORITHM CLASSS
  • 17.  Binary search  Hash table  AVL trees Interview questions on searching Sorted array with duplicates write a function that returns the lowest index of an element x in that array ... etc Searching ALGORITHM CLASSS
  • 18. node Structure getNode() insert() search() 5 problems on tries TRIES ALGORITHM CLASSS
  • 19. Suffix trees node Structure getNode() insert() search() suffix array build suffix array search() 4 problems Suffix trees ALGORITHM CLASSS
  • 20. Adjacency matrix Adjacency list BFS DFS Kruskal's minimum spanning tree Disjaskra's shortest path Graphs ALGORITHM CLASSS
  • 21. Detect Cycle in a graph Topological sorting Check Graph is bipartite or not check the given graph is tree or not Find the number of islands .. etc Graphs problems ALGORITHM CLASSS
  • 22. Introduction to dynamic programming memorization (top down) tabulation (Bottom up) optimal sub structure 8 problems on dynamic programming Dynamic Programming ALGORITHM CLASSS
  • 23. Red-Black trees ntroduction insert() delete() Splay Trees Intruduction search() insert() Ternary Search Tree Introduction insert() search() Advanced Data Structures ALGORITHM CLASSS
  • 24. CONTACT Algorithm Class Nizampet, Hyderabad. Mobile: +91-9963930865 Visit for more details about other courses: https://sites.google.com/site/algorithmclass ALGORITHM CLASSS