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
Category Archives: Technical Scripter
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 an N-ary tree consisting of N nodes numbered from 1 to N rooted at node 1, the task is to assign values to each… 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
Given a binary matrix mat[][] that represents the adjacency matrix representation of a graph, where mat[i][j] as 1 represents that there is an edge between… Read More
Given a 2D array Edges[][], representing a directed edge between the pair of nodes in a Directed Acyclic Connected Graph consisting of N nodes valued… 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


