Vijay Sinha

Concurrency vs Parallelism – Difference between Concurrency and Parallelism

In this article, we dive deep into the core concepts of multithreading. We will have a look at the profound understandings of the terms Concurrency and Parallelism with their description. Then, we compare the major differences between the two terms. Concurrency and Parallelism are often misunderstood to be somewhat similar but it is not the …

Concurrency vs Parallelism – Difference between Concurrency and Parallelism Read More »

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 »