Skip to content

Category Archives: Technical Scripter

Given an integer k and an array of integers arr (less than 10^6), the task is to find the sum of every k’th prime number… Read More
Given an array of integers, replace every element with xor of previous and next elements with following exceptions. a) First element is replaced by sum… Read More
Given an array arr[] of N positive integers. The task is to find the sum of all composite elements which are divisible by a given… Read More
Given the number of cities n numbered from 0 to n-1 and the cities in which stations are located, the task is to find the… Read More
Given an array of integers of N elements. The task is to print the absolute difference of all of the pairwise consecutive elements. Pairwise consecutive… Read More
Given a Matrix, the task is to find the inverse of this Matrix using the Gauss-Jordan method.What is matrix? Matrix is an ordered rectangular array… Read More
Today, developing an application using different servers depending on the environment which is to be used is really a tricky job. Applications may work fine… Read More
This article is about the surface and mathematical concept of a torus. A 3D shape made by revolving a small circle (radius r) along a line… Read More
Given a tree, with N nodes and E edges (every edge is denoted by two integers, X, Y stating that X is the parent of… Read More
Comprehensions in Python provide us with a short and concise way to construct new sequences (such as lists, set, dictionary etc.) using sequences which have… Read More
Grouper recipe is an extended toolset made using an existing itertool as building blocks. It collects data into fixed-length chunks or blocks. Existing Itertools Used:… Read More
Given an array of integers. The task is to calculate the product of all the composite numbers in an array. Note: 1 is neither prime… Read More
When we talk about Artificial Intelligence, it’s easy to imagine some dystopian science fiction future where robots have taken over the world and enslaved us.… Read More
Given a Parallel Stream in Java, the task is to reverse its elements. Examples: Input: Parallel Stream = {11, 22, 33, 44} Output: {44, 33,… Read More