The tree is a hierarchical Data Structure. A binary tree is a tree that has at most two children. The node which is on the… Read More

# Tag Archives: Technical Scripter 2020

C++ is the most preferred language for competitive programming. In this article, some features of C++ are discussed that make it best for competitive programming.… Read More

Evaluate the following integrals. Question 1. ∫(ex(cosx -sinx))dx Solution: Given expression is∫(excosx)-(exsinx)dx=∫(excosx) dx -∫(exsinx)dx=ex(cosx )-∫(exd(cosx)/dx-∫exsinx dx=ex(cosx )+∫exsinx dx-∫exsinx dx=ex(cosx) + c Question 2. ∫ex(x-2+2x-3)dx Solution: Given… Read More

Given a positive integer N, the task is to find all the prime triplets {P, Q, R} such that P = R – Q and… Read More

Given a weighted graph consisting of N nodes and M edges, a source vertex, a destination vertex, and an integer K, the task is to… Read More

Many times, it has been observed that we have some expressions which have radicals(i.e., an expression that uses roots, for e.g. √(x + y)) in… Read More

Given a string S representing a time in 24 hours format, with ‘_’ placed at positions of some digits, the task is to find the… Read More

Given a binary matrix mat[][] of dimensions of N * M and pairs of integers src and dest representing source and destination cells respectively, the… Read More

Given two strings text and pattern of length M and N respectively, the task is to check if the pattern matches the text or not.… Read More

In programming, the modulo operation gives the remainder or signed remainder of a division, after one integer is divided by another integer. It is one… Read More

One of the dangerous and major natural disasters that take place is the Earthquake. Due to earthquakes every year huge damage to property and life… Read More

Given a string S, the task is to find the minimum removal of characters required such that the string S consists only of two alternating… Read More

Given a 2D array grid[][] of dimension N * M, the task is to perform the Depth – First Search traversal on the given 2D… Read More

Prerequisites: Python Matplotlib In this article, we will discuss adding labels to the plot using Matplotlib in Python. But first, understand what are labels in… Read More