N00tc0d3r
Sunday, August 18, 2013
Convert Infix Expression To Postfix Expression
›
Convert Infix Expression To Postfix Expression Given an infix expression and convert it to a postfix expression. A mathematical expression...
Evaluate Postfix Expression
›
Evaluate Postfix Expression A Postfix Expression, also called Reverse Polish Notation , is a mathematical expression in which every operator...
Implement Bounded Blocking Queue
›
Implement Bounded Blocking Queue Write a multithreaded bounded Blocking Queue where the capacity of the queue is limited. Implement size ...
3 comments:
Implement Iterator for Perfect Power Generator
›
Implement Iterator for Perfect Power Generator Provide an implementation of the following interface: public interface Powers extends Iter...
1 comment:
Thursday, August 15, 2013
Find First Non-Repeating Character in A String
›
Find First Unique Character in A String Given a string, find the first non-repeating character in the string. For example, given "g...
Monday, August 12, 2013
Implement Iterator for Array
›
Official Java Documents for Iterable Interface: java.lang.Iterable . Official Java Documents for Iterator Interface: java.util.Iterator . ...
Sunday, August 11, 2013
Prime Numbers
›
Find All Prime Numbers Given a number n , print all primes smaller than or equal to n . It is also given that n is a small number. For e...
3 comments:
Reservoir Sampling And Variants
›
Reservoir Sampling Choose a sample of k items from a list S containing n items, where n is either a very large or unknown number. The ...
1 comment:
Sunday, July 21, 2013
Optimal Game Strategy: Maximum Coin Value
›
Maximum Coin Value Consider a row of n coins of values ( v1, ..., vn ), where n is even. We play a game against an opponent by alternating...
6 comments:
Saturday, July 20, 2013
Diameter of a Binary Tree
›
Diameter of a Binary Tree The diameter of a tree (sometimes called the width ) is the number of nodes on the longest path between two leave...
3 comments:
‹
›
Home
View web version