Giter VIP home page Giter VIP logo

dsa-python's Introduction

Python for Data Structures, Algorithms, and Interviews!

This repository consists of notes made while going through the course Python for Data Structures, Algorithms, and Interviews! in Udemy. All modules are separated as Jupiter Notebooks.

This course mainly has questions based on different data structures and very less questions based on pre-known algorithms. Kindly refer to my repo for list of named algorithms and their implementations.

All the best and keep coding!! :)

Algorithms characteristics:

Algorithms have associated complexity:

  • space -> memory occupied
  • time -> time taken to complete task irrespective of input size
  • They have set of input and produces output

#Algorithms classification

  • series-> sequential fashion
  • parallel -> break data set and work on each simultaneously
  • exact -> provides exact value as output
  • approximate -> output may or may not be exact e.g. face recognition
  • deterministic -> steps know
  • non-deterministic -> based on guesses

Types of Algorithms

  • searching -> search specific data in a larger data
  • sorting -> sort a dataset
  • computational -> take one data set and return another data set
  • collection -> navigating through elements in a dataset

Algorithms performance

Big-O notation: classifies performance as input size grows. O represents order of operation

Notation Description
O(1) Constant
O(log n) Logarithmic
O(n)
Linear time
O(nlogn) Log-linear
O(n^2) Quadratic

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.