-
Recent Posts
Archives
calendar
December 2025 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Categories
Meta
Tag Cloud
Category Archives: interview
dian main
=== walmart labs=== good morning. class Store Item [100] items int length = 0 public int startingIndex = 0; boolean add(Item item) Item remove() public synchronized boolean add( Item item ) { if( item == null ) { return … Continue reading
Top 20 Core Java Interview questions answers asked in Investment Bank
http://javarevisited.blogspot.com/2011/04/top-20-core-java-interview-questions.html http://javarevisited.blogspot.sg/2011/10/how-substring-in-java-works.html http://javarevisited.blogspot.com/2011/03/10-interview-questions-on-singleton.html http://javarevisited.blogspot.com/2011/06/comparator-and-comparable-in-java.html
checking if an array is a post order of BST
recursive : boolean isPostOrder( int a[], int length ){ int root = a[length – 1]; if( length <= 1 ) { return true; } int i, j; for( i = 0; i < length -1 && a[i] < root; i++ … Continue reading
Boggle puzzle
for an M*N matrix, each element is a char, you can link the char with another char which is above, below, left, right of it, no diagonal , find how many words it would returned which is in the dictionary. … Continue reading