Algorithm

Kadane’s Algorithm (Maximum Sum Subarray Problem) in Java

In this article, we will understand the idea of Kadane’s Algorithm. We discuss this with the help of an example and also discuss a famous interview problem related to it. Then, we will look at the implementation and analyze the complexities of our approach. Kadane’s Algorithm This algorithm is useful in solving the famous ‘Maximum …

Kadane’s Algorithm (Maximum Sum Subarray Problem) in Java Read More »

Difference between Lossy and Lossless Compression

Lossy and lossless compression are two kinds of data compression techniques. Here in this article, you will get to learn about what is lossy and lossless compression, their differences, and uses. So, let’s start with the basics. What is Data Compression? Data compression is the process of diminishing the storage size of any data or …

Difference between Lossy and Lossless Compression Read More »

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 »