Aditya Chatterjee's Blog, page 14
October 26, 2023
Finding Exponent of a Number [5 approaches]
TABLE OF CONTENTS
What is an Exponent?Understanding Problem StamementSolution Approaches and Implimentations1. Naive Approach
2. Recursive Approach
3. Divide and Conquer approach
4. Optimized Divide and Conquer
5. Binary Operator ApproachApplicationsConclusionKey Takeaways (Finding Exponent of a Number)Exponents simplify repeated multiplication and can represent both growth and decay.Solution to a smaller exponent can be used to find solution to a larger exponent.This can be seen as...
October 24, 2023
Lazy initialization in C++
October 23, 2023
Ceiling in a Sorted Array
Difference between java, javaw, javaws and javac
In this article at OpenGenus, we will learn about difference between java, javaw, javaws and javac in Java Programming Language.
Table of ContentsIntroductionBasic Differences betweeen java, javaw, javaws and javac.Java Compiler (javac)Java Virtual Machine (JVM)Java Application (java)Java Windowed Application (javaw)Java Web Start (javaws)Conclusion Key Takeaways Java, Javaw, Javaws, and Javac each serve distinct purposes. Javac transforms Java source code int...October 22, 2023
Amdahl’s law
Demystifying Kernel Density Estimation (KDE) in Python
In this article at OpenGenus, we will start by a general and a mathematical understanding of Kernel Density Estimation and then after exploring some applications of KDE, we, stepwise, implement it in Python. Finally, we talk about the space and time complexity of the python implemenation.
Key Takeaways (Kernel Density Estimation in Python)KDE is a non-parametric statistical technique for estimating the probability density function of a dataset, making no prior assumptions about the data's di...
Next Greater Frequency Element
In the world of data manipulation and algorithms, numerous intriguing challenges arise. One such challenge is finding the "Next Greater Frequency Element" in an array. This problem involves combining the concepts of frequency counting and stack-based processing to efficiently determine the next element with a higher frequency for each element in the array.
Table of contents:Problem StatementKey takeawaysApproach 1Approach 2Comparing both ApproachesReal World ExamplesProblem Statement:G...
ML model to predict Fuel Efficiency [project]
October 19, 2023
Pareto Principle in Computer Science and Software Development

The Pareto Principle, commonly known as the 80/20 rule, is a foundational concept originating in economics but transcending into various domains, including computer science and software development. Named after Italian economist Vilfredo Pareto, this principle asserts that approximately 80% of effects stem from 20% of causes. In this article at OpenGenus, we'll explore how the Pareto Principle is applied in these fields, delve into the concept of the Pareto Distribution, and discuss its profound...
October 18, 2023
Paging in OS: Enhancing Memory Management
Imagine a situation where you're using your computer to work on a complex project, with multiple applications running simultaneously. As you switch between applications, you notice a significant slowdown in performance. The once snappy response times have now transformed into frustrating delays, hindering your productivity. You find yourself waiting for what feels like an eternity for an application to load or respond to your commands. Little do you know, the root cause of this sluggishness lies...


