Given an array arr[](1-based indexing) consisting of N positive integers such that arr[i] denotes the amount of the ith person. Also given are two 2D… Read More

# Tag Archives: Technical Scripter 2020

Gephi is a visualization application developed in the Java language. It is mainly used for visualizing, manipulating, and exploring networks and graphs from raw edge… Read More

Given an array arr[] consisting of N positive integers and a positive integer K, the task is to count minimum Bitwise XOR of array elements… Read More

Prerequisite: QuickSort Algorithm The quicksort algorithm discussed in this article can take O(N2) time in the worst case. Hence, certain variations are needed which can… Read More

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

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