Giter Site home page Giter Site logo

hospitalexample's Introduction

hospitalExample

About the repo

This repo has an example coding challenge (mentioned below) and solution for the same. The idea is to demonstrate expectation from the solution that we have when potential candidates go thorugh coding round as part of our hiring process.

Problem statement

Chinmaya Mission Hospitals are often revered as the best hospitals for the poor and middle class house holders. With a new set of funds coming in, the CEO of chinmaya mission hospitals has decided to open new branches in various parts of karnataka. However he doesn't have any data to target places that could be most beneficial to people. He has reached out to us to design an application that can record patients location. He wants to understand, on a given day or for a range ofdays, how many OP's are within Bangalore and how many are from outside. Based on this, he will make a decision if it is feasible to open new branches outside of Bangalore or open new centers within Bangalore itself?

Please design a program using oops concept that can record the percentage of local patients vs outstation patients?

Eg: From last 3 days 100 OP registrations took place of which 80% are from Bangalore and 20% are outstation.

Expectations:

  1. Build the solution with OOP concepts
  2. Find out the relations between the Hospital, Patient
  3. Use viable data structures to handle at least 1000 patients per hospitalSuggested

Input:

  • Patient 1: Name: Abc Place: Bangalore Age: 42,
  • Patient 2: Name: Def Place: Delhi Age: 23
  • Patient 3: Name: Ghi Place: Hyderabad Age: 34

Suggested Output:

  • Local Patients: 1
  • Outstation Patients: 2

hospitalexample's People

Contributors

vagrantlab avatar sukesh15 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.