Aditya Chatterjee's Blog, page 11
December 25, 2023
Wirth's Law: Optimizing Software for Virtual Memory
Sentiment Analysis For Mental Health Sites and Forums

This OpenGenus article explores the role of sentiment analysis in understanding the emotional dynamics of mental health platforms, where individuals share their thoughts and seek support. A Python program has been given, showcasing the contextual awareness and advantages of NLTK's VADER in analyzing sentiments from mental health websites. It emphasizes the importance of understanding user emotions to enable early intervention and customize user experiences. It also highlights the future...
Codd’s Rules in DBMS
In this article at OpenGenus.org, we learn about Codd's Rules in Database Management Systems (DBMS).
TABLE OF CONTENTS:IntroductionKey Takeaways12 Codd's Rules in DBMS and their usecases.ConclusionIntroduction:In the ever-evolving landscape of database management systems (DBMS), the principles laid out by E.F. Codd in his groundbreaking 1970 paper, "A Relational Model of Data for Large Shared Data Banks," continue to serve as the bedrock for relational databases. Codd's Rules, a set of g...
December 22, 2023
Cyber Security in Java Applications
In this OpenGenus article, we will look at the core concepts of Cyber Security, secure coding practices that must be implemented to ensure that our applications are secure. The illustrations are going to be done in Java.
Table of contents:
What is Cyber SecurityTypes of Cyber SecurityKey Components of Cyber SecuritySecure Coding PracticesAuthentication and AuthorizationSecure Communication Using HTTPSCryptographySummaryWhat is Cyber SecurityAn act of protecting computer systems applic...
December 21, 2023
Different Ways to Delete Elements in Unordered Map in C++ STL
In this OpenGenus article, we will look at the various ways of deleting elements in an unordered map in C++.
Table Of Contents-
Introduction to C++ STLBackground on unordered mapsVarious ways to delete an element in unordered map in C++Solving a few examplesConclusionC++ Standard Template Library (STL) provides a powerful and versatile data structure known as unordered_map, which is an implementation of a hash table. It allows fast access to elements using keys. While inserting and access...
December 12, 2023
Exploring MySQL Connector for Python: A Beginner's Guide
Are you stepping into the world of Python and databases? If so, you're likely to encounter various libraries that facilitate the interaction between your Python scripts and databases. One such powerful tool is mysql-connector-python. In this guide at OpenGenus, we'll introduce you to the basics of this library, exploring its features and demonstrating its usage through a sample Python script.
Table of contents:
What is mysql-connector-python?InstallationExplanationA Simple Query ExampleConc...December 11, 2023
Anagram Trees
The objective of this OpenGenus article is to explore the concept of utilizing anagram trees, a specialized tree structure, to efficiently organize and retrieve anagrams of words.
Table of Contents:What are anagram trees?Using anagram trees to retrieve anagramsImplementation through codeAnagram Trees OperationsReal life applicationsKey takeawaysQuestionsReferencesWhat are anagram trees?Before defining what an anagram tree is, I think it's important to understand what the words 'anagr...
Producer Consumer problem using wait and notify in Java
Table of contents:
Introdution for Producer-ConsumerBasic outlineHow to implement in Java?SummaryIntrodution for Producer-ConsumerThe Producer-Consumer problem is a classic example of a multi-process synchronization problem. The problem describes two processes, the producer and the consumer, who share a common, fixed-size buffer used as a queue. The producer generates data, puts it into the buffer, and starts again. At the same time, the consumer consumes the data (removes it from the buf...
December 10, 2023
Pollack's rule in Computer Architecture

Microarchitecture is like the internal design and structure of the CPU. It's about how the CPU is put together on the inside to carry out its tasks efficiently.
i.e., getting data, processing instructions, and producing output.
Longest Increasing Path in a Matrix [4 approaches explained]
This problem involves navigating a 2D matrix to find the longest path such that each element in the path is strictly greater than the previous one.
Table of ContentsProblem StatementKey TakeawaysApproach 1: BFSApproach 2: Depth-First Search (DFS)Approach 3: Dynamic ProgrammingApproach 4: ToposortReal-World ExamplesProblem StatementGiven a two-dimensional matrix of integers, our task is to find the length of the longest increasing path. In this context, a path is a sequence of adjacent...