Algorithm

Apriori Algorithm

Today we are going to learn about Apriori Algorithm. Before we start with that we need to know a little bit about Data Mining. What is Data Mining ? Data Mining is a non-trivial process of identifying valid, novel, potentially useful and ultimately understandable patterns in data. Apriori Algorithm is concerned with Data Mining and …

Apriori Algorithm Read More »

Data Encryption Standard (DES) Algorithm

Data Encryption Standard is a symmetric-key algorithm for the encrypting the data. It comes under block cipher algorithm which follows Feistel structure. Here is the block diagram of Data Encryption Standard. Fig1: DES Algorithm Block Diagram [Image Source: Cryptography and Network Security Principles and Practices 4th Ed by William Stallings] Explanation for above diagram: Each …

Data Encryption Standard (DES) Algorithm Read More »

Binary Search in C

Here you will get program for binary search in C. Binary search algorithm can be applied on a sorted array to search an element. Search begins with comparing middle element of array to target element. If both are equal then position of element is returned. If target element is less than middle element of array …

Binary Search in C Read More »

Asymptotic Notations

Here you will learn about Asymptotic Analysis and Asymptotic Notations in detail. It is common that we write Algorithm before writing code to any problem. There may exist more than one solution for a particular problem. But we need the solution which is better in time and space complexities. To compare and analyse algorithms complexities …

Asymptotic Notations Read More »