Showing posts with label OODesign. Show all posts
Showing posts with label OODesign. Show all posts

Wednesday, November 9, 2016

Tuesday, September 13, 2016

Design a Server to keep track of shares and clients

Design an object oriented design system for an server that keeps track of shares and clients can ask the server to get the most up to date information about value of the shares.

Wednesday, June 22, 2016

Pending


Design a Task scheduler

Given the interface below, implement a task scheduler.
interface Task {
    void Run();
    Set<Task> GetDependencies();
}

Additionally, the task scheduler should follow two rules.
1. Each task may only be executed once.
2. The dependencies of a task should be executed before the task itself.

http://shirleyisnotageek.blogspot.in/2015/03/task-scheduler.html

Design Address Book

Tuesday, June 21, 2016

Design an online Teaching System

In an online teaching system,there are n number of teachers and each one teaches only one subject to any number of students.
And a student can join to any number of teachers to learn those subjects.
And each student can give one preference throuch which he can get updates about the subject or class timings etc.
Those preferences can be through SMS or twitter/facebook or email..etc.
Design above system and draw the diagram for above.

Saturday, June 18, 2016

Design a Library System

Design a digital Watch

Design a musical jukebox using OO principles [CCIB]

Solution:
Cracking the Coding Interview: Page 321 - 6th Edition

http://massivetechinterview.blogspot.in/2015/07/design-musical-jukebox-using-oo.html 

Design a cloud based file storage system like OneDrive

Design a Chat Server [CCIB]

Design a Jigsaw Puzzle [CCIB]

Dictionary data structure

How to preprocess dictionary so that below operations are best supported

a)   Search in dictionary
b)   given a string find all valid anagrams in a dictionary
c)   typing prefix of a valid string suggests valid words

http://www.geeksforgeeks.org/data-structure-dictionary-spell-checker/
http://stackoverflow.com/questions/10017808/best-data-structure-for-implementing-a-dictionary