algokoder.blogspot.com
Algorithms Coded in Java: October 2008
http://algokoder.blogspot.com/2008_10_01_archive.html
Algorithms Coded in Java. This is a blog about algorithms and their implementations in Java. Thursday, October 9, 2008. Problem : Design a stack of Numbers which will give you the minimum and maximum of all the elements it contains. Package org.blogkoder.algorithms.stack;. Import java.util.SortedSet;. Import java.util.TreeSet;. Import java.util.Stack;. This is an implementation of a numbers stack which also. Gives the minimum and maximum of the numbers. Public class MinMaxStack Number. Exception java....
algokoder.blogspot.com
Algorithms Coded in Java: April 2010
http://algokoder.blogspot.com/2010_04_01_archive.html
Algorithms Coded in Java. This is a blog about algorithms and their implementations in Java. Sunday, April 25, 2010. Find the number of trailing zeroes in the factorial of a given number. Problem : Find the number of trailing zeroes in the factorial of a given number. Is 1, 10! Is 2, 15! Is 3, 20! Is 4, but 25! Is 6 Then 30! Is 7, 35! Is 8, 40! Is 9, 45! Is 10 but 50! Import java.io.BufferedReader;. Import java.io.InputStreamReader;. Public static void main(String[] args) throws Exception. Number -= 5;.
algokoder.blogspot.com
Algorithms Coded in Java: Find the number of trailing zeroes in the factorial of a given number.
http://algokoder.blogspot.com/2010/04/find-number-of-trailing-zeroes-in.html
Algorithms Coded in Java. This is a blog about algorithms and their implementations in Java. Sunday, April 25, 2010. Find the number of trailing zeroes in the factorial of a given number. Problem : Find the number of trailing zeroes in the factorial of a given number. Is 1, 10! Is 2, 15! Is 3, 20! Is 4, but 25! Is 6 Then 30! Is 7, 35! Is 8, 40! Is 9, 45! Is 10 but 50! Import java.io.BufferedReader;. Import java.io.InputStreamReader;. Public static void main(String[] args) throws Exception. Number -= 5;.
algokoder.blogspot.com
Algorithms Coded in Java: September 2008
http://algokoder.blogspot.com/2008_09_01_archive.html
Algorithms Coded in Java. This is a blog about algorithms and their implementations in Java. Tuesday, September 30, 2008. Find missing integer problem. Iven an array of size 99 which has integers from 1 to 100 and with no integer being repeated, can you find the integer which is not in the array? 160;and a space complexity of . 160;since it just needs 2 variables to store the sums. Here is the code for this -. 160; * This will find the missing integer in the given array of size 99. 160; *. Problem ...