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.
Machine Learning (ML) Object Detection ML Application In this article, we have explained one of the most popular applications of Machine Learning namely Object Detection. We have explained the input, output, models used and evaluation metrics for Object Detection.
Machine Learning (ML) Best First Search algorithm Best First Search is a searching algorithm which works on a set of defined rules. It makes use of the concept of priority queues and heuristic search. The objective of this algorithm is to reach the goal state or final state from an initial state by the shortest route possible.
Machine Learning (ML) A * Search Algorithm In this article, we are going to have a look at the A * Search Algorithm , its properties, some of its advantages and disadvantages as well as real life applications.
Rust Programming Testing in Rust One of the greatest tools a programmer can have under their belt is the ability to write tests to ensure the code they are producing functions well. Rust of course has a way of writing tests, and this allows a test driven development cycle.
Software Engineering Design Tic Tac Toe Game (in JavaScript) In this article, we have demonstrated how to design Tic Tac Toe Game as a webpage using HTML, CSS and JavaScript. We have presented all code and you should follow this mini-project.
Machine Learning (ML) Dying ReLU Problem In this article, we will understand What is ReLU? and What do we mean by “Dying ReLU Problem” and what causes it along with measures to solve the problem.
Algorithms Median of Medians Algorithm In this post, we explained the median of medians heuristic, its applications and usefulness as well as its limitations. Median of Medians Algorithm is a Divide and Conquer algorithm.
System Design System Design of WhatsApp In this article, we shall be diving into how conceptually, a large scale chat messaging application like WhatsApp could be designed. We will also be looking into the specific technology WhatsApp employs for its architecture.
Algorithms Making A Large Island by changing one 0 to 1 In this article, we have explored an insightful approach/ algorithm to find the largest island by changing one 0 to 1 in MxN matrix. This is an extension of Number of Islands in MxN matrix (of 0 and 1).