Posts by Siddhant Chouhan

Author Biographical Info: A Cybersecurity enthusiast who loves problem-solving.

std::is_heap() and std::is_heap_until() in C++

By Siddhant Chouhan

In this tutorial, we will learn how to use the functions std::is_heap() and std::is_heap_until() in C++. You can use these functions to check whether a given list of elements is a .... Read More

maketrans() and translate() functions in Python

By Siddhant Chouhan

This tutorial aims to teach you maketrans() and translate() functions in Python. The maketrans() method returns a mapping table also called a transition table which can be used by .... Read More

std::mutex in C++

By Siddhant Chouhan

In this post, we are going to learn about std::mutex in C++. Synchronization is needed when processes need to execute concurrently i.e. for the sharing of resources with no obstruc.... Read More

Chrono Library in C++ with examples

By Siddhant Chouhan

The Chrono library in C++ is utilized to work with time operations. The Chrono library has its own namespace called “chrono“, if you want to use the chrono library firs.... Read More

Graph Coloring using Greedy method in Python

By Siddhant Chouhan

In this tutorial, we will learn about the Welsh Powell algorithm, Graph Coloring using the Greedy method in Python. We are given a graph we have to find out the minimum number of c.... Read More

std::extent() template in C++

By Siddhant Chouhan

In this post, we will learn about std::extent() template in C++. We have to use <type_traits> library which is a part of C++ STL. The std::extent() is used to find out the nu.... Read More

How to return a vector from a function in C++

By Siddhant Chouhan

In this post, we will learn how to return a vector from a function in C++. You can return a vector from a function simply by declaring the return type of your function as a vector..... Read More

Karatsuba algorithm for fast multiplication in Python

By Siddhant Chouhan

The Karatsuba Algorithm for fast multiplication is a Divide-and-Conquer approach, it has a slightly better Complexity of O(n1.58) over grade-school multiplication which has a compl.... Read More

Related Posts