# Category Archives: Technical Scripter

## Modulus of all pairwise consecutive elements in an Array

Given an array of elements. The task is to print the modulus of all of the pairwise consecutive elements. That is for all pair of… Read More »

## Count of alphabets having ASCII value less than and greater than k

Given a string, the task is to count the number of alphabets having ASCII value less than and greater than or equal to a given… Read More »

## Sum and product of k smallest and k largest composite numbers in the array

Given an integer k and an array of integers arr, the task is to find the sum and product of k smallest and k largest… Read More »

## ML | Cancer cell classification using Scikit-learn

Machine Learning is a sub-field of Artificial Intelligence that gives systems the ability to learn themselves without being explicitly programmed to do so. Machine Learning… Read More »

## Number of ways to partition a string into two balanced subsequences

Given a string ‘S’ consisting of open and closed brackets, the task is find the number of ways in which each character of ‘S’ can… Read More »

## Sum and product of k smallest and k largest prime numbers in the array

Given an integer k and an array of integers arr, the task is to find the sum and product of k smallest and k largest… Read More »

## Replace each element by the difference of the total size of the array and frequency of that element

Given an array of integers, the task is to replace every element by the difference of the total size of the array and its frequency.… Read More »

## Replace every element with the greatest element on its left side

Given an array of integers, the task is to replace every element with the greatest element on its left side. Note: Replace the first element… Read More »

## Count the number of elements in an array which are divisible by k

Given an array of integers. The task is to calculate the count of a number of elements which are divisible by a given number k.… Read More »

## Draw a Chessboard in Java Applet

Given task is to draw a Chessboard in Java Applet Approach: Create a rectangle with length and breadth of 20 unit each, with 10 rows… Read More »

## Draw an Olympic Symbol in Java Applet

Given task is to draw an Olympic symbol in Java Applet. Expected Output: Approach: Use drawOval() method to draw a circle with x and y… Read More »

## Draw a Smiley in Java Applet

Given task is to draw a smiley face in Java Applet. Approach: Create three Ovals, one for the face, two for the eyes. Fill eyes… Read More »

## De Bruijn sequence | Set 1

Given an integer n and a set of characters A of size k, find a string S such that every possible string on A of… Read More »

## URL Shorteners and its API in Python | Set-2

Prerequisite: URL Shorteners and its API | Set-1 Let’s discuss few more URL shorteners using the same pyshorteners module. Bitly URL Shortener: We have seen… Read More »

## URL Shorteners and its API in Python | Set-1

URL Shortener, as the name suggests, is a service to help to reduce the length of the URL so that it can be shared easily… Read More »