Wednesday, August 27, 2008

Interview questions (4)

1. Database schema design that caters to the handling of multiple real world relationships. 
2. In the event there was no Struts, how would I go about designing my own MVC model - to mimic a shopping cart application.
3. Provide a design that would search multiple search engines and provide a consolidated set of search results for a given keyword.
4. Review a piece of code.. what are the important things I should look for.
5. Write the getDepth() method of a tree. What are the approaches I can take... 
6. Write the substring method - the only available method is getChatAt(int)
7. Write a method that would reverse a string, a method that woudl reverse the words in a string
8. Write a method that would find the number of words in a given string. The same word should not be counted twice. 
9. Provide a design on how to implment the redo and undo features of paint. Provide alternate solutions and explain why they were alternate. 

Search This Blog