quick sort Quick sort using stack In this article, we will study about Quick sort algorithm along with it's implementation using stack in C++. Before getting started with Quick sort using Stack we should know about stack data structure.
Damped Harmonic Oscillations Forces acting on an oscillation particle during damped harmonic oscillations.
Graph Algorithms Maximum sum leaf to root path In this article, I will be discussing about Maximum sum leaf to root path in Binary tree along with time and space complexity.
Machine Learning (ML) ReLU6 in ML ReLU6 uses this same theory but instead limits the positive direction to a maximum size of 6. This is extremely useful when dealing with fixed-point inference.
Culture Life of a freshman year in college First year! I am sure no one forgets it. A freshman is full of enthusiasm as well as confused, especially, friends, seniors, late night fun become large part of their lives.
C++ Bus Error in C++ In this article, we will be discussing about "Bus Error In C++" and SIGBUS signal in detail.
Java Three - Dimensional 3D ArrayList in Java In this article, we have explored the concept of 3D ArrayList in Java and demonstrated how to perform different operations such as insert, delete, search and much more with Java code snippets.
Machine Learning (ML) Radial Basis Function Neural Network Radial Basis Function Neural Network (RBFNN) is one of the shallow yet very effective neural networks. It is widely used in Power Restoration Systems.
C++ [Fixed] fatal error: bits/c++config.h: No such file or directory In this article, we have explored the reason behind the C++ compilation error "fatal error: bits/c++config.h: No such file or directory" and presented the fix for resolving the error.
Algorithms Super Pow Problem [LeetCode: 372] Your task is to calculate a^b mod 1337 where a is a positive integer and b is an extremely large positive integer given in the form of an array.
Linux Linux Package Management Package management entails installing, upgrading, configuring, and removing software. Besides the tasks above, package management tools also facilitate software dependency resolution.
Python Python script to retweet recent tweets with a particular hashtag Our Python script should scrape recent tweets with a particular hashtag. Then, it should retweet the most recent tweet. It should continue to do this every minute (as a cron job), retweeting the most recent tweet with a particular hashtag each time.
System Design Cache Stampede Cache stampede problem is a situation that occurs when a cache item expires or is deleted leading to multiple requests seeing a cache miss(cache miss happens when the required data is not available in the cache memory) and regenerating that same item at the same time.
Algorithms Different approaches to calculate Euler's Number (e) In this article, we have explored different approaches to calculate Euler's Number (e) along with sample implementations to calculate Euler's number to different precision.
C++ Advanced C++ topics In this article, we will discuss different advanced C++ topics with a brief description along with C++ code examples.
c# Exception Handling in C# Exception Handling in C# uses the keywords try, catch (optional), and finally (optional). These will be covered more in-depth with code examples below.
JavaScript React Components React has a component based architecture. This lets the developer to break down the application into small encapsulated components, which can then be composed to make complex UIs.
C++ aligned_alloc() aligned_alloc() like malloc() and calloc() is used for dynamic allocation of memory how it differs from the rest is how it enables the user to dynamically allocate the memory as well as allows us to specify the alignment for the newly allocated memory.
System Design Open-Closed principle In this article, we will to talk about the Open-Closed principle (OCP) and show examples with code.
Algorithms Stack vs Linked List In this article, we will be discussing about "Stack vs Linked List" in detail.
Machine Learning (ML) Boltzmann Machines Neural Networks are by far the most used connectionist model and one of them is the Boltzmann Machine that we will cover in this article.
openmp [Fixed] undefined reference to omp_get_max_threads / omp_get_thread_num In this article, we have presented the fix for the OpenMP error undefined reference to omp_get_max_threads / omp_get_thread_num / omp_get_num_threads. The issue is with the compilation command.
C++ #pragma omp master [explained with example] In this article, we have explained the concept of #pragma omp master, when it is used and compared omp master with omp single.
C++ #pragma omp single [explained with example] In this article, we have explained the concept of #pragma omp single, when it is used and compared omp single with omp critical and omp master.
C++ #pragma omp parallel [explained with example] In this article, we have explored the concept of the OpenMP directive #pragma omp parallel along with C++ code examples.