GithubHelp home page GithubHelp logo

sahiljanbandhu / fundamental-using-algorithm Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 282 KB

Fundamental using Algorithm in python

License: GNU General Public License v3.0

Python 100.00%
python python-algorithms fundamentals-using-algorithms quicksort-algorithm mergesort-algorithm binary-search-tree graph-plotter selection-algorithms tournament-algorithm

fundamental-using-algorithm's Introduction

Fundamental-using-Algorithm

Objectives:

  • To understand basic principles of algorithm design and why algorithm analysis is important
  • To understand how to implement algorithms in Python
  • To understand how to transform new problems into algorithmic problems with efficient solutions
  • To understand algorithm design techniques for solving different problems

Expected Learning Outcomes:

  • Understand the concepts of algorithms for designing good program.
  • Implement algorithms using Python.

Note: All Practicals question are below and output are in doc file inside each prac folder and solution as well

All Practicals Question:

Practical 1 : Write Python program to perform matrix multiplication.

Practical 2 : Write Python program to sort n names using Quick sort algorithm.

Practical 3 : Write Python program to sort n numbers using Merge sort algorithm.

Practical 4 : Write Python program for inserting an element into binary tree.

Practical 5 : Write Python program for deleting an element (assuming data is given) from binary tree.

Practical 6 : Write Python program for checking whether a given graph G has simple path from source s to destination d. Assume the graph G is represented using adjacent matrix.

Practical 7 : Write Python program for finding the smallest and largest elements in an array A of size n using Selection algorithm.

Practical 8 : Write Python program for finding the second largest element in an array A of size n using Tournament Method.

fundamental-using-algorithm's People

Contributors

sahiljanbandhu avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

ursu1964

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.