Algorithms & Pseudocodes
This blog is for those people who like to solve algorithms and also for those who need some help in solving algorithms. Here we can post our problems, give solutions to the problems posted and also to discuss on the solutions like there complexities etc.
Monday, June 21, 2010
Number of permutations and combinations of a string
Generic code to give the number of possible permutations and combination of a string !!
Sunday, June 20, 2010
[Microsoft] Puzzle: 12 balls problem
You have given 12 balls of identical shape and a weighing compares. There is one ball defective among them. How will you find out the defective one and whether it is light or heavy in less number of weighing.
Subscribe to:
Comments (Atom)