REcommend ME

Tags

Featured Links

www.axisnepal.com
RetiringbyDesign

Find the longest palindrome in the given sentence.

Steps: Its a brute force method

1. Have 2 for loops
for i = 1 to i less

Continue reading Find the longest palindrome in the given sentence.

Change an unfairly biased coin to a fair coin - A Classical Randomized Algorithm

Flipping a coin is a classical example in “Probabilistic Analysis”. A layman would agree to the statement that a flip of a coin has equal

Continue reading Change an unfairly biased coin to a fair coin – A Classical Randomized Algorithm