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 can be grown in rectangular patches of any side lengths. However, The owner only has a limited amount of land. Consider the entire town…
Nathan has given a square map to Nancy as a matrix of integer strings. Each cell of the map has a value denoting its depth.…
A Zoo consists of a lion museum and a zoo for safari riding. There are many passengers and n single-passenger cars. Passengers wander around the…