C++ Boost Program Options Boost.Program_options is a C++ library designed to ease the handling of command-line options in programs. It offers a straightforward way to parse and manage arguments provided by users when running the program.
Algorithms Hierholzer’s Algorithm and Solving Reconstruct Itinerary Problem This article will guide you through the intuition of how to solve the problem using the concept of Hierholzer’s Algorithm which is frequently asked in coding interviews of various tech companies.
C++ Creating UPD Asynchronous Client Server in C++ using Boost.Asio A UDP (User Datagram Protocol) connection is a lightweight, connectionless communication protocol that operates without establishing a direct connection between sender and receiver.
C++ Creating TCP Asynchronous Client Server in C++ using Boost.Asio The flow of this OpenGenus article will first explain TCP connection , then make a simple client server which will be using Boost.Asio but synchronous to understand the flow.
C++ Basics of C++ Boost.ASIO Boost.Asio is a cross-platform C++ library for network and low-level I/O programming that provides developers with a consistent asynchronous model using a modern C++ approach.
Algorithms Minimum Absolute Difference Between Elements With Constraint In this article at OpenGenus, we will solve the problem called Minimum Absolute Difference Between Elements With Constraint. The article will guide you through the intuition of how to solve the problem using the concept of Binary Search and Ordered Set.
Algorithms Maximum Profit by Buying and Selling a Share at Most k Times In this article at OpenGenus, we will solve the problem of getting maximum profit by buying and selling a share at most k times.
C++ nth_element in C++ STL nth_element is a function in the C++ Standard Template Library (STL) that allows you to partially sort a range of elements in a container, such that the element at the nth position is the one that would be at that position if the entire range was sorted.
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.
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.
Algorithms Solving Course Scheduling Problem using Topological Sort In this article at OpenGenus, we will solve the famous course scheduling problem and it's variations using the graph algorithm known as Topological Sort.