










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











Dr. Faisal Shafait
What is this course? Intermediate-level course. Concerns programming and problem solving techniques. To develop efficient programs and applications.
In this course, we will explore: Algorithms for efficiently solving problems. Data structures for efficiently storing, accessing, and modifying data.
In this course, we will explore: Algorithms for efficiently solving problems. Data structures for efficiently storing, accessing, and modifying data.
Every data structure will have trade-offs. There is no ultimate data structure. The choice depends on our requirements.
Important for all branches of computer science and electrical engineering. For example, To determine the shortest route between multiple points Define an efficient electricity supply (load-shedding) procedure Establish cellular (mobile phone) communication network
All around us. Computer Science. Search, packet routing, distributed file sharing, video games, virtual reality, recommendations, news feeds, advertisements, ... Electrical Engineering. Circuit layout, communication systems, network planning, power generation, power distribution, voting machines, ...
... Biology. Human genome project, protein folding, ... Physics. N-body simulation, particle collision simulation, ...
Old roots, new opportunities. Study of algorithms dates at least to Euclid around 300 BC. Formalized by Church and Turing in 1930s. Plays a key role in modern innovation.
They are challenging—a good brain activity.
“For me, great algorithms are the poetry of computation. Just like verse, they can be terse, allusive, dense, and even mysterious. But once unlocked, they cast a brilliant new light on some aspect of computing." — Francis Sullivan
Provide novel “lens" on processes outside computer science. Quantum mechanics, economic markets, evolution, ... Computational models are replacing math models in scientific inquiry. They may unlock the secrets of life and of the universe.
Their impact is broad and far-reaching. Old roots, new opportunities. To solve problems that could not otherwise be addressed. They may unlock the secrets of life and of the universe. For intellectual stimulation. To become a proficient programmer. For fun and profit.
All course-related material on the course web site, http://lms.nust.edu.pk This includes: The course outline Lecture material Various tutorials Projects Labs Assignments Grading policy
Prerequisites Programming: loops, arrays, functions, objects, recursion. C++: we use as expository language. Mathematics: high-school algebra. Useful reading material. Quick: Introduction to Algorithms, 3/e (2009) by Cormen et al. Data Structures and Algorithms in C++, 3/e (2005) by Adam Drozdek. The Algorithm Design Manual, 2/e (2008) by Steven S Skiena. Programming environment: Visual Studio, gcc/g++ with Cygwin.