Course Abstract: “Algorithms and Data Structures”

The course “Algorithms and Data Structures” is a fundamental theoretical university course devoted to the representation of information and the systematic design and analysis of computational procedures. It examines how a problem’s structure, an algorithmic strategy, and a data organization jointly determine correctness, efficiency, and practical applicability.

The course begins with abstract data types, formal specifications, invariants, recursion, and asymptotic analysis. Students learn to distinguish worst-case, average-case, and amortized bounds and to state explicitly the computational assumptions underlying a complexity claim.

Its conceptual sequence follows “problem specification — data representation — algorithm design — correctness argument — complexity analysis — implementation choices — empirical evaluation.” This framework supports comparison of alternatives rather than memorization of isolated procedures.

Linear structures include arrays, linked lists, stacks, queues, and dynamic arrays. Students analyze operations and memory use, showing how structural choices affect insertion, deletion, access, and traversal.

The course studies searching and sorting through elementary methods, divide-and-conquer algorithms, heaps, and lower-bound arguments. It considers order statistics and the conditions under which a particular algorithm is preferable.

Tree-based structures, hashing, and priority queues illustrate tradeoffs among ordered access, expected performance, balancing, and storage overhead. Students compare performance guarantees with practical behavior under different inputs.

Graph representations and algorithms cover traversal, connectivity, topological order, shortest paths, spanning trees, and network optimization. Theoretical analysis connects proofs of correctness to the properties of the chosen representation.

Design paradigms include divide and conquer, greedy choice, dynamic programming, and backtracking. Students examine why some strategies yield efficient optimal solutions while others require careful qualification or face computational hardness.

The course develops a foundation for advanced algorithmic study through rigorous reasoning, appropriate data structure selection, and awareness of algorithmic limitations. Students are prepared to evaluate solutions across programming languages and application domains.

Course Objective

The objective of the course is to develop systematic knowledge of fundamental data structures and algorithmic techniques; teach methods for proving correctness and analyzing time and space complexity; and establish a theoretical basis for selecting and designing efficient computational solutions.

Main Sections of the Course

Block 1. Foundations of Algorithmic Thinking

•  Problems

•  Inputs and outputs

•  Specifications

•  Abstraction

•  Computational models

•  Algorithmic choices

•  Correctness

Block 2. Mathematical Tools

•  Logic

•  Sets

•  Functions

•  Summations

•  Recurrences

•  Induction

•  Counting

Block 3. Complexity Analysis

•  Asymptotic notation

•  Worst case

•  Average case

•  Space complexity

•  Growth rates

•  Cost models

•  Tradeoffs

Block 4. Correctness and Invariants

•  Preconditions

•  Postconditions

•  Loop invariants

•  Termination

•  Recursion proofs

•  Counterexamples

•  Testing

Block 5. Abstract Data Types

•  Interfaces

•  Operations

•  Encapsulation

•  Representation

•  Invariants

•  Implementation choices

•  Performance contracts

Block 6. Linear Structures

•  Arrays

•  Dynamic arrays

•  Linked lists

•  Stacks

•  Queues

•  Deques

•  Traversal

Block 7. Recursion and Divide and Conquer

•  Recursive design

•  Recurrences

•  Merge sort

•  Binary search

•  Partitioning

•  Master theorem

•  Limitations

Block 8. Elementary Sorting

•  Insertion sort

•  Selection sort

•  Stability

•  Adaptivity

•  Comparison counting

•  Input sensitivity

•  Complexity

Block 9. Efficient Sorting and Selection

•  Merge sort

•  Quicksort

•  Heapsort

•  Counting sort

•  Lower bounds

•  Order statistics

•  Comparisons

Block 10. Hash Tables

•  Hash functions

•  Collision resolution

•  Load factor

•  Expected time

•  Resizing

•  Adversarial inputs

•  Applications

Block 11. Trees and Search Structures

•  Binary trees

•  Traversal

•  Binary search trees

•  Balanced trees

•  Rotations

•  B-trees

•  Ordered queries

Block 12. Heaps and Priority Queues

•  Heap property

•  Insertion

•  Extract-min

•  Heap construction

•  Priority scheduling

•  Variants

•  Analysis

Block 13. Amortized Analysis

•  Aggregate method

•  Accounting method

•  Potential method

•  Dynamic tables

•  Repeated operations

•  Bounds

•  Interpretation

Block 14. Graph Representation and Traversal

•  Adjacency lists

•  Adjacency matrices

•  Depth-first search

•  Breadth-first search

•  Connectivity

•  Cycles

•  Topological order

Block 15. Graph Optimization

•  Shortest paths

•  Minimum spanning trees

•  Relaxation

•  Greedy choice

•  Network flow

•  Algorithm selection

•  Proofs

Block 16. Greedy Algorithms

•  Exchange arguments

•  Optimal substructure

•  Scheduling

•  Huffman coding

•  Counterexamples

•  Correctness

•  Limits

Block 17. Dynamic Programming

•  Subproblems

•  Memoization

•  Tabulation

•  State definition

•  Recurrence

•  Reconstruction

•  Complexity

Block 18. Strings and Pattern Matching

•  String representation

•  Naive matching

•  Prefix information

•  Tries

•  Text indexing

•  Applications

•  Cost models

Block 19. Computational Intractability

•  Polynomial time

•  Reductions

•  NP-completeness

•  Exponential search

•  Approximation

•  Heuristics

•  Practical limits

Block 20. Evaluation and Synthesis

•  Data structure selection

•  Proof review

•  Benchmark design

•  Memory behavior

•  Input distributions

•  Implementation risks

•  Comparative analysis

Intended Learning Outcomes (Competencies)

Knowledge: Students will understand the design and analysis of core data structures, searching and sorting, tree and graph algorithms, and major paradigms for constructing efficient solutions.

Skills: Students will be able to formulate specifications, prove basic algorithmic properties, derive asymptotic bounds, compare alternatives, and select suitable data structures for a given problem.

Competencies: Students will assess algorithmic solutions on correctness, time, memory, and input assumptions, and communicate the limits of theoretical and empirical performance claims.

English Literature — APA Style

Aho, A. V., Hopcroft, J. E., & Ullman, J. D. (1983). Data structures and algorithms. Addison-Wesley.

Bentley, J. (1999). Programming pearls (2nd ed.). Addison-Wesley Professional.

Cormen, T. H., Leiserson, C. E., Rivest, R. L., & Stein, C. (2022). Introduction to algorithms (4th ed.). MIT Press.

Goodrich, M. T., Tamassia, R., & Goldwasser, M. H. (2014). Data structures and algorithms in Java (6th ed.). Wiley.

Kleinberg, J., & Tardos, É. (2006). Algorithm design. Pearson Addison-Wesley.

Knuth, D. E. (1997). The art of computer programming: Vol. 1. Fundamental algorithms (3rd ed.). Addison-Wesley.

Sedgewick, R., & Wayne, K. (2011). Algorithms (4th ed.). Addison-Wesley Professional.

Skiena, S. S. (2020). The algorithm design manual (3rd ed.). Springer.

Tarjan, R. E. (1983). Data structures and network algorithms. Society for Industrial and Applied Mathematics.

Weiss, M. A. (2014). Data structures and algorithm analysis in C++ (4th ed.). Pearson.

Keywords: algorithms, data structures, correctness, asymptotic complexity, recursion, sorting, searching, hash tables, trees, heaps, graphs, greedy algorithms, dynamic programming, computational intractability.

Link

 

Additional literature

1.     Forišek, M., & Steinová, M. (2013). Explaining algorithms using metaphors. Springer. (Springer Nature)

2.     Winczer, M., Galčík, F., & Forišek, M. (2011). Kapitoly z informatiky 3. Štátny pedagogický ústav. (upjs.sk)

 

 

Additional literature

3.     Forišek, M., & Steinová, M. (2013). Explaining algorithms using metaphors. Springer. (Springer Nature)

4.     Winczer, M., Galčík, F., & Forišek, M. (2011). Kapitoly z informatiky 3. Štátny pedagogický ústav. (upjs.sk)