Multi-Line Strings can be written in PHP using the following ways. Using escape sequences: We can use the \n escape sequences to declare multiple lines… Read More

# Category Archives: Technical Scripter

The HTML DOM TableHeader colSpan property is used to set or return the value of the colspan attribute. The colspan attribute defines the number of… 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 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