Preview

Data structures

Powerful Essays
Open Document
Open Document
7448 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Data structures
BCSCCS 303 R03 DATA STRUCTURES
(Common for CSE, IT and ICT)
L T P CREDITS
3 1 0 4
UNIT - I (15 Periods)
Pseudo code & Recursion: Introduction – Pseudo code – ADT – ADT model, implementations; Recursion – Designing recursive algorithms – Examples – GCD, factorial, fibonnaci, Prefix to Postfix conversion, Tower of Hanoi; General linear lists – operations, implementation, algorithms

UNIT - II (15 Periods)
Linear Lists: Stacks – Basic Operations, Linked stack, Algorithms, Implementation, Applications – Infix to Postfix, Evaluation of Postfix - Queues – Operations, Linked list design, algorithms, Mazing Problem, Complex implementations – circularly linked lists, doubly linked lists – Sparse Matrices – linked representation, input, output, erase

UNIT - III (15 Periods)
Non-Linear Lists: Trees – basic concepts, binary trees, traversals, expression trees; General trees – insertion, deletion - Conversion of general to binary tree; Binary Search tree – basics, operations, ADT, applications – Threaded trees; AVL trees – basic concepts and implementation

UNIT - IV (15 Periods)
Heaps & Trie Structure: Heaps – basics, implementation, algorithms; Heap applications – Priority Queues; Multi-way Trees – B-tree implementation, algorithms, 2-3 tree, Trie structure; Searching – sequential and binary search, hashed searches, collision resolution; Graphs – Elementary operations – BFS – DFS - Minimum Cost Spanning Tree - Kruskal’s & Prims algorithms

Text Books:

1. Richard F. Gilberg & Behrouz A. Forouzan, “Data Structures: A Pseudocode Approach with C”, Thomson Learning, 2nd Edition, 2007.
2. Ellis Horowitz, Sartaj Sahni, & Susan Anderson Freed, “Fundamentals of Data Structures in C”, University Press, 2nd Edition, 2008 (Sections 3.5, 4.7, 6.1, 6.2.1, 6.2.2, 6.3.1, 6.3.2)

References:

1. J.P.Trembley & P.G. Sorenson,



References: 1. J.P.Trembley & P.G. Sorenson, "An Introduction to Data Structures with Applications", Tata McGraw Hill, 2nd Edition, 2002. 2. Seymour Lipschutz and G.A.Vijayalakshmi Pai, “Data Structures”, Tata McGraw Hill, 2005.

You May Also Find These Documents Helpful

  • Satisfactory Essays

    IT210 Week 3

    • 756 Words
    • 4 Pages

    Resources: Review the example in Appendix E and the additional examples on pgs 80-83 of Prelude to Programming…

    • 756 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    ECET 370 Week 5 Lab 5

    • 650 Words
    • 3 Pages

    Exercise 1: Review of the Lecture Content Create a project using the ArrayList class and the Main class provided in DocSharing. The ArrayList class contains implementations of the first three search methods explained in this week's lecture: sequential, sorted, and binary search. The Main class uses these three methods. These programs test the code discussed in the lecture. Compile the project, run it, and review the code that is given carefully.…

    • 650 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Pt1420 Unit 1 Assignment 2

    • 1305 Words
    • 6 Pages

    Das, D., Gregersen, E., Hosch, L., Lotha, G., Sampaolo, M., Sinha, S. (2014). C++. In Encyclopedia Britannica.…

    • 1305 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Kroenke, D. M., & Auer, D. J. (2010). Database Concepts (4th ed.). Retrieved from https://ecampus.phoenix.edu/content/eBookLibrary2.…

    • 553 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Searching and Sorting Streams and Files Graphics GUI Components and Events Mouse, Keyboard, Sounds, and Images Big-O Analysis of Algorithms The Java Collections Framework Lists and Iterators Stacks and Queues Recursion Revisited Binary Trees Lookup Tables and Hashing Heaps and Priority Queues Design Patterns…

    • 3908 Words
    • 16 Pages
    Powerful Essays
  • Good Essays

    Comp 220

    • 1463 Words
    • 6 Pages

    Pointers also have the requirement that the pointer type must be of the same data type as the variable, or the data that it points to or holds the address of. The power of pointers also hints at the potential complexity of their use, which is why this lab is focused almost entirely on several different aspects and uses of pointers. The lab also introduces pointer arrays and pointers to pointers.…

    • 1463 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    LYT2 Task2

    • 4061 Words
    • 12 Pages

    Stein, S. S., Gerding, E. H., Rogers, A. C., Larson, K. K., & Jennings, N. R. (2011). Algorithms…

    • 4061 Words
    • 12 Pages
    Satisfactory Essays
  • Powerful Essays

    References: Drake, E., & Venit, S. (2007). Extended Prelude to Programming Concepts & Design (3rd ed.). New York, New York: Pearson, Addison Wesley.…

    • 1318 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Deletion Basic Array Dynamic Array Singly-Linked List Doubly-Linked List Skip List O(1) O(1) O(n) O(n) O(n) O(n) - - O(n) O(1) O(n) O(n) O(log(n)) Hash Table Binary Search Tree Cartresian Tree B-Tree Red-Black Tree Splay Tree AVL Tree…

    • 990 Words
    • 18 Pages
    Good Essays
  • Good Essays

    References: Coronel, C., Morris, S., & Rob, P. (2012). Database systems. (10th ed.). Independence, KY: Cengage.…

    • 782 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    CS 220 – Programming w/ Data Structures: You have missed one assignment and one quiz. Your instructor has extended your assignment due date to this Sunday, April 10. Your instructor has also let you to take your Quiz # 2 during his office hours during this week. Let me know if you need additional support to study for this quiz. Your grade to date in this class is 30.2/37 81.62% B.…

    • 354 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Laporan Jualan WUS

    • 1291 Words
    • 6 Pages

    References: [1] Data Structure & Algorithms in Java, Micheal T. Goodrich | Roberto Tamasia, 5th edition.…

    • 1291 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    data structures

    • 1321 Words
    • 6 Pages

    So far, to find something in a tree, or in a list, we have searched. However, there is another technique called hashing. Assume we are looking for some element e in a set S, where S may be implemented as a vector. We apply some function to e, hash (e), and this delivers the position of e in S, and we can then go directly to that location to get e or information on e. For example, e might be the key to a record, such as someone's name, and we wish to extract details/info on that person. e might be a telephone number and we want to know address, or e might be address and we want telephone number.…

    • 1321 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Class P: Problems that are solvable by polynomial-time algorithms (O(nk ) where n is the size of the input to the problem and k is some constant) Examples:…

    • 1889 Words
    • 8 Pages
    Good Essays
  • Better Essays

    Minimum Spanning Tree

    • 2477 Words
    • 10 Pages

    Minimum Spanning Tree MST. Given connected graph G with positive edge weights, find a min weight set of edges that connects all of the vertices. Minimum Spanning Tree 24 4 23 6 9 18 • • • • • • • 5 introduction Weighted graph API cycles and cuts Kruskal’s algorithm Prim’s algorithm advanced algorithms clustering 11 16 8 10 14 7 21 G References: Algorithms in Java (Part 5), Chapter 20…

    • 2477 Words
    • 10 Pages
    Better Essays