Featured Resource One-line Algorithms questions & facts Random algorithm facts for quick interview revision when you only have a minute to spare.
Book DSA Cheatsheet A Cheatsheet for data structures and algorithms practice, coding interview and problem-solving intuition.
Featured Resource One AI Systems Question Practice AI and ML systems prompts across P/D disaggregation, inference, training, RAG, platform engineering and reliability.
Web Development Build a Timestamp Microservice in JavaScript (Nodejs) In this code-driven tutorial at OpenGenus, we will build a Timestamp Microservice in JavaScript using the Express.js framework. This microservice accepts a date as a parameter and returns its Unix timestamp and UTC time. We will cover each step in detail, from project setup to error handling.
Algorithms Cook-Levin's Theorem The Cook–Levin theorem, states that the Boolean satisfiability problem(SAT) is NP-complete.
UX Design Doherty Threshold in UX design Doherty Threshold is a UX design concept named after Walter J. Doherty, an IBM researcher.
Software Engineering Wirth's Law: Optimizing Software for Virtual Memory In the ever-evolving landscape of computing, Wirth's Law serves as a thought-provoking observation on the intricate relationship between hardware and software performance.
Machine Learning (ML) Sentiment Analysis For Mental Health Sites and Forums This OpenGenus article delves into the crucial role of sentiment analysis in understanding emotions on mental health platforms. Featuring a Python program using NLTK's VADER, it explains the importance of comprehending user emotions for early intervention and personalized user experiences.
Database Management System (DBMS) Codd’s Rules in DBMS In this article at OpenGenus.org, we learn about Codd's Rules in Database Management Systems (DBMS).
Algorithms Modular Multiplication in C++ Modular arithmetic is a branch of number theory that deals with operations on numbers that have a remainder when divided by a modulus. In C++, performing modular arithmetic involves using the % (modulo) operator and sometimes ensuring that the result remains within a specified range.
Java 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.
System Design 3 Types of Cache Misses: Compulsory, Capacity and Conflict Miss In this article at OpenGenus.org, we will discuss the 3 types of cache misses- namely, compulsory, conflict and capacity misses.
System Design Library Management System using Binary Search Tree (BST) [with source code] In this article at OpenGenus.org, we will guide you through the creation of a Library Management System (LMS) using the Binary Search Tree (BST) data structure.
Software Engineering Write through and write back Write-through and write-back are two working methods of buffer memory. Whenever the processor wants to write a word, it checks to see if the address where it wants to write the data exists in the cache.
C++ 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++.
Algorithms Fowler-Noll-Vo (FNV) Hash Algorithm The FNV (Fowler-Noll-Vo) hash algorithm is a non-cryptographic hash function designed for fast hashing of small to medium-sized data. It was created by Glenn Fowler, Landon Curt Noll, and Kiem-Phong Vo.
Python 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.
Data Structures 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.
Java Producer Consumer problem using wait and notify in Java The 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.
Computer Architecture Pollack's rule in Computer Architecture Pollack's rule states: performance improvement tends to increase at a rate that is roughly the square root of the increase in microarchitecture complexity.
Graph Algorithms 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.
Go Programming Language Receiver Parameter Idiom in Golang The receiver parameter idiom in Golang is a pattern in which method declaration has a special parameter that enables a type to associate methods that can be called on its instances.
Go Programming Language Linked List in Golang Linked List is a data structure in Computer Science that stores data in a non-contiguous fashion in computer memory. It comprises nodes or elements that are interconnected through logical links. These links are established from one node to another using memory addresses.
CSS Responsive Navigation Bar [without Bootstrap or external library] A responsive nav-bar is a UI/UX based element, which is essential to improve the appearance and ease of navigation in websites. It consists of a 1D bar (usually) with icons and hyperlinks to take you to different parts of the same website.
C++ Vector of array in C++ The vector of arrays in C++ is an excellent tool for efficiently managing fixed-size arrays within a vector. This approach is particularly advantageous for organizing grouped data where each array shares a uniform size.
Deep Learning Introduction to Multi-Agent Systems (MAS) Multi-Agent Systems (MAS) consist of autonomous agents that interact with each other and their environment to achieve individual or collective goals.
Physics Discovery of Speed of Light and some methods to measure it From the ancient times to the modern days, It was a very long journey how concepts about light evolved with time and new experiments and observations. Today we all know Light is a electro-magnetic wave as well as bunch of photon particles.
Machine Learning (ML) ML model to predict Waiter’s Tip This OpenGenus article explores the application of machine learning techniques in predicting waiter tips based on factors such as total bill, day and time. Written in Python, the code employs one-hot encoding and Linear Regression, offering an understanding of these concepts.