Algorithms Quick Sort on Linked List In this article, we have explained how to implement Quick Sort on Linked List and if it is as efficient as Quick Sort on Array.
Algorithms Bubble Sort on Linked List In this article, we have presented the approach to implement Bubble Sort on Singly Linked List and Doubly Linked List along with implementations in C and C++.
Algorithms Jump Consistent Hash: A Fast, Minimal Memory, Consistent Hash Algorithm In this article, we discuss the jump consistent hashing algorithm which offers improvements compared to previous approaches to consistent hashing for distributed data storage applications.
Algorithms Distributed Hash Table In this article, we discuss hash tables and their implementations on a larger scale while maintaining its computational complexity that is Distributed Hash Table.
Algorithms Parallel Merge Sort In this post, we discuss various approaches used to adapt a sequential merge sort algorithm onto a parallel computing platform. We have presented 4 different approaches of Parallel Merge Sort.
Java Static Initialization Block in Java We all must the idea of the Constructor in Java. But the difference is, the Static Initialization Block is a set of instructions that are run only once when the class is loaded into memory.
Java Anonymous Class in Java We know that Java language mainly follows the OOPs concept (From Java 1.8, we get functional programming.). So there is no anonymous function in Java. But we can create Anonymous objects by extending the concept of the inner class.
Java Control Flow in Java Java provides users with certain statements that facilitate them to control the flow of their program. Such statements are called Control Flow Statements.
Algorithms Fruit into Baskets In this article, we have explained how to solve Fruit into Baskets problem efficiently using the idea of Sliding Window.
JavaScript Different ways to terminate JavaScript code In this article, we have covered Different ways to terminate JavaScript code which includes return, break, try catch, throw, debugger and much more.
System Design System design of Uber In this article, we shall be looking into the system design and architecture of Uber, a ride-sharing application that caters to millions of customers worldwide.
Software Engineering Load Testing, Spike Testing, and Stress Testing Web Servers with K6 In this article, we explore how we can use K6 to perform various kinds of testing on web servers specifically Load, Spike and Stress Testing Web Servers with K6.
Machine Learning (ML) Sigmoid Activation (logistic) in Neural Networks In this article, we will understand What are Sigmoid Activation Functions? And What are it’s Advantages and Disadvantages?
Time Complexity Time and Space Complexity of Kruskal’s algorithm for MST In this article, we have explored Time and Space Complexity of Kruskal’s algorithm for MST (Minimum Spanning Tree). We have presented the Time Complexity of different implementations of Union Find and presented Time Complexity Analysis of Kruskal’s algorithm using it.
Time Complexity Time & Space Complexity of Dijkstra's Algorithm In this article, we have explored the Time & Space Complexity of Dijkstra's Algorithm including 3 different variants like naive implementation, Binary Heap + Priority Queue and Fibonacci Heap + Priority Queue.
Algorithms Jump Game II: Minimum number of jumps to last index In this post, we will explore various ways to solve the minimum number of jumps to last index (Jump Game II) problem. In this, we will use ideas of Dynamic Programming and Greedy Algorithm.
Algorithms Parallel Quick Sort In this post, we have discussed how to implement Quick Sort algorithm parallelly using 5 different approaches including HyperQuickSort, Parallel quicksort by regular sampling and many more.
C++ Dot Product of Two Vectors in C++ In this article, we have presented two different ways to do Dot Product of Two Vectors in C++. This involves the use of inner_product method in C++ STL (Standard Template Library).
Rust Programming Modules in Rust Modules allow us to organize our code by separating similar functionality into their own groups for ease of readability and reuse, if need be! Modules also allow us to control the privacy of our code, by making things private or pub (public).
Algorithms 4 Array Sum equal to Zero (4Sum II) In this article, we have explored insightful approaches / algorithms to find elements in 4 arrays whose sum is equal to zero. This is an extension of 4 SUM PROBLEM.
JavaScript Different ways to pause JavaScript code In this article, we will see in detail the need to pause a running JavaScript code and what are the different ways in which one can achieve it like SetTimeout and async/await.
Software Engineering Grid System in Bootstrap Bootstrap's grid system uses a series of containers, rows, and columns to layout and align content. It's built with flexbox and is fully responsive.
C++ "using namespace std;" is bad practice in C++ The statement "using namespace std;" is generally considered bad practice. The alternative to this statement is to specify the namespace to which the identifier belongs using the scope operator(::) each time we declare a type.
Java Different ways to terminate program in Java Generally, Java programs terminate when they reach the end of the program, but there may be times when we need to know how to terminate a program when a certain condition is met or an exception occurs.
Algorithms Time & Space Complexity of Merge Sort In this article, we have explained the different cases like worst case, best case and average case Time Complexity (with Mathematical Analysis) and Space Complexity for Merge Sort. We will compare the results with other sorting algorithms at the end.