Sakthi has been acting strangely for a few days now. Finally, you (his best friend) found out that it was because his project proposal was…
Suresh have “N” rectangles. A rectangle is Silver if the ratio of its sides is in between [1.6, 1.7], both inclusive. Your task is to…
Parameter Description Stable Yes In place Yes Best case complexity O(n) Average case complexity O(n^2) Worst case complexity O(1) The BubbleSort compares each successive pair…
Huffman Coding -: Greedy Algorithms ๐ ๐ ๐Link –> HUFFMAN CODING Given a money system, is it possible to give an amount of coins and…
Huffman Coding -: Greedy Algorithms ๐ ๐ ๐Link –> HUFFMAN CODING The ProblemYou have a set of things to do (activities). Each activity has a…
Fahad’s Birthday is a week ahead. Arav and his friends are planning to give him a birthday party. For that Arav’s friends want him to…
Arov was given a problem to solve, by his brother Dharma.ย The problem was like, given integers, N and K, Arov has to find the…
Aru runs a small hotel near the popular university. The hotel also runs very well due to the high taste. All the menus in the…
Tina has recently been introduced to a programming concept called Hashing.Hashing is the transformation of a string of characters into a usually shorter fixed-length value…
Fazil the tutor of the skill training institute gave ย an array of integers to one of highly attentive student of his class Rohan and asked…
Oh, no! Shahid in trouble. Heโs got himself stuck in a cave (we donโt know how) and is looking for a way out.The bigger problem…
Amrish is a brilliant student who has a huge interest in coding. So his friend Dev gave an array A of non-negative integers of size m to Amrish and…
Once upon a time, the Earth was a flat rectangular landmass. And there was no life. It was then that the sky lit up with…
Ana is involved in developing a new web browser After many sleepless nights she finishes most of the modules of her new web browser and…
Ray who studies arts came across a programming challenge of finding the distance between the two array values is the number of indices between them. …
Shah is an road side cloth seller. There is a large pile of socks that must be paired by color for sale. Given an array…
Sundar is well known for setting typical problems for the contest. During contest at a particular time, many teams were not able to solve single…
There are M boys and N girls in the gang.ย Each boy can only dance with a girl who is strictly shorter than him.ย A girl…
One fine day when Sozy returned to her hometown she met Mega and had a crush on her. After a weeks time Mega went to…
Samba(Rice) can be grown in rectangular patches of any side lengths. However, The owner only has a limited amount of land. Consider the entire town…