# Category Archives: Technical Scripter

## Sort the words in lexicographical order in Python

Given a strings, we need to sort the words in lexicographical order (dictionary order). Examples : Input : “hello python program how are you” Output… Read More »

## Program to compute division upto n decimal places

Given 3 numbers x, y and n compute the division (x/y) upto n decimal places. Examples : Input : x = 22, y = 7,… Read More »

In the early days, adding a video to a webpage was a real challenge since one had to convert the videos to different formats to… Read More »

## HTML5 | Audio

Since the release of HTML5, audios can be added to webpages using the “audio” tag. Previously audios could be only played on webpages using web… Read More »

## Introduction to Hill Climbing | Artificial Intelligence

Hill Climbing is heuristic search used for mathematical optimization problems in the field of Artificial Intelligence . Given a large set of inputs and a… Read More »

## Guess Game using rand() and srand() in C

Using srand() and rand() function in C, a simple but interesting game can be made. This game is called “Guess Game” . Rules of the… Read More »

## HTML | Images

Earlier, the webpages used to comprised of only texts, which made them appear quite boring and uninteresting. Fortunately, it wasn’t long enough that the ability… Read More »

## HTML5 | Video

Before HTML 5 came into existence, videos could only be played in a browser using a plug in like flash. But after the release of… Read More »

## Count of suffix increment/decrement operations to construct a given array

Given an array of non-negative integers. We need to construct given array from an array of all zeros. We are allowed to do following operation.… Read More »

## Find last index of a character in a string

Given a string str and a character x, find last index of x in str. Examples : Input : str = “geeks”, x = ‘e’… Read More »

## AKS Primality Test

There are several primality test available to check whether the number is prime or not like Fermat’s Theorem, Miller-Rabin Primality test and alot more. But… Read More »

## An introduction to Flowcharts

What is a Flowchart? Flowchart is a graphical representation of an algorithm. Programmers often use it as a program-planning tool to solve a problem. It… Read More »

## Middle of three using minimum comparisons

Given three distinct numbers a, b and c find the number with a value in middle. Examples : Input : a = 20, b =… Read More »

## Check if the game is valid or not

Three players P1, P2 and P3 are playing a game. But at a time only two players can play the game, so they decided, at… Read More »

## Find the number of stair steps

Given the total number of bricks T, find the number of stair steps that can be formed by using given bricks such that if step… Read More »