Question: WAP that find out longest Diameter of Tree. The diameter of a tree (sometimes called the width) is the number of nodes on the longest path between two leaves in the tree.
"Success = (DSA + System Design) × Consistency × Problem-Solving + Mindfulness" 💡💻🚀
April 3, 2015
April 1, 2015
Vinsol : Defected Meter
Question :A Defected meter is given with missing number 4
from it's rim.WAP that convert the wrong reading into right one.
Example:
input 100
output 81March 30, 2015
Google code jam :Alien Language
Question:
After years of study, scientists at Google Labs have
discovered an alien language transmitted from a faraway planet. The alien
language is very unique in that every word consists of exactly L lowercase
letters. Also, there are exactly D words in this language.
Subscribe to:
Posts (Atom)