Prime numbers are very important. Most of the modern day encryption decryption relies heavily on these prime numbers. Thus generating these prime number is a good task in itself. In this article we will see how we can generate list of prime number using sieve of Eratosthenes. What is sieve of Eratosthenes? To find all the prime

# Tag: python

## Length of Longest Increasing Subsequence (LIS) in python [Dynamic Programming]

The LIS or longest increasing subsequence means to find a subsequence in list of numbers in which the subsequence’s elements are in ascending order and in which the subsequence is as long as possible. This subsequence does not have to be continuous. Here we have to find the length of the longest increasing subsequence. We

## What are APIS and how to build API?

If you are working in software or IT industries, this is one of the word that you may hear alot. Many of you are well aware of what exactly are apis and how to build one. For those who are not aware, In this article i will try to tell you the basics of apis.

## Build desktop notifier using python and notify2.

You must have heard about desktop notifier, today we are going to build one and see how it works. We are going to do it using python and we will do it on ubuntu for now. So, lets start to build desktop notifier using python. Lets build desktop notifier using python For building this we

## How to maintain consistency while uploading to AWS S3

In how to maintain consistency while uploading to AWS S3, We are talking about amazon web services storage service, popular by the name S3. We can upload file to it and retrieve it when ever required. It is also used by many big companies to serve their static files like CSS and JS. How to maintain

## Algorithms: Binary Search Tree and its functionality in python

Back in the algorithms section with python we are going to see how we can code Binary Search Tree and its functionality in python. Binary search tree are binary tree where the left child is less than root and right child is greater than root. We will be performing insertion, searching, traversal, min and other

## Algorithms: Mirror a Binary tree using python

In this article we are going to see how we can mirror a binary tree using python. Lets see what are binary tree Algorithms: Mirror a Binary tree using python Binary tree are the tree where one node can have only two child and cannot have more than two. Traversal means visiting all the nodes

## Binary Tree and its traversal using python.

After a long time I took a look in algorithms and data structure and what I wrote first in Binary Tree and its different traversal in C++. I have never written them in python so I tried to write one. And yes writing them down in python is lot more easier. So lets me first introduce

## Naive bayesian text classifier using textblob and python

Text classifier are systems that classify your texts and divide them in different classes. In this article we are going to made one such text classifier using textblob and python. You want to read more about naive bayesian theorem, read it here. Naive bayesian text classifier using textblob and python For this we will be

## Python: Increasing performance of your code: For vs Map

In this performance of programming language article we are going to talk about some small tips which will help you in Increasing performance of your python code. Lookup for function is costly. Lets say we have to write a loop which will run till the length and calls upper on each string. alist = [‘a’,’b’,’c’] for item