Search results for pattern



Full question: You are standing in a corridor with N closed doors. The person walks by you and opens every door. Then the second person walks by an ...
To be an elementary school teacher, you need to hold a bachelors degree. This is just the license for you to get elementary school teaching job. But t ...
Puzzle: A pirate ship with total crew of N pirates acquired a chest with K gold coins. Now they have to divide up the loot. By long term pirate trad ...
Company where asked this question:
Answer: ASP.NET MVC namespaces and classes are located in the System.Web.Mvc assembly. System.Web.Mvc namespace Contains classes and interfaces that ...
The basic idea of the Dependency Injection is to have a separate object, an assembler, that populates a field in the lister class with an appropriate ...
Repository pattern is usefult for decoupling entity operations form presentation, which allows easy mocking and unit testing. “The Repository will ...
Question Design a deck of cards class for poker game, then generalize it to be used in any card game. What properties, fields and methods would this ...
How would you implement Iterator Pattern for traversing Binary Tree (in any order of your choice)? So, the following would give an example of using s ...
Company where asked this question: Amazon (Seattle)