Code Monkey home page Code Monkey logo

candidatecodingchallenge's Introduction

Candidate Coding Challenge

Welcome to my coding challenge repository Imprivata reviewers!

At your earliest convenience, please feel free to review the above code samples related to the Coding Challenge document. Programs were written in C# using Visual Studio 2013.

For each console application, going to briefly detail here the nuts and bolts of each one, as well as the purpose of the Utilities project:

  1. CandidateCodingChallenge1Console

    This console application will allow the user to enter an integer number. Data-type will be checked to ensure value is correct. The arrays are then concatenated together and placed in ascending order, using LINQ to perform these tasks. Sorted/Merged array is outputted to the user.

  2. CandidateCodingChallenge1.1Console

    This console application will allow the user to enter an integer number. Data-type will be checked to ensure value is correct. The arrays are then concatenated together and placed in ascending order, using Array Copy/Sort to perform these tasks. Sorted/Merged array is outputted to the user.

  3. CandidateCodingChallenge2Console

    This console application will allow the user to enter any value they wish. Constraint ensures that the value is greater than 0 characters, but less than 104. Value is then determined to either be Pangram or non Pangram. This determination is made using LINQ's All method and lowercase alphabet. 1 for Pangram and 0 for non Pangram is outputted to the user, as well as an explicit message of Panagramness/non Panagramness.

  4. CandidateCodingChallenge2.1Console

    This console application will allow the user to enter any value they wish. Constraint ensures that the value is greater than 0 characters, but less than 104. Value is then determined to either be Pangram or non Pangram. To add some flavor, this determination is made using a generic list of integers to store the character ASCII values, and an enumerable range from 97 to 123, the ASCII equivalent of the lowercase alphabet. 1 for Pangram and 0 for non Pangram is outputted to the user, as well as an explicit message of Panagramness/non Panagramness.

  5. CandidateCodingChallenge3Console

    This console application will allow jumping jack to jump a certain amount of steps. Constraint ensures that the value is greater than 1, but less than 2001 for steps, and greater than 1, but less than 4,000,000 for the broken step. Values are then determined for if jack can jump at all, which step will be skipped (if any) and returns the max step he can reach. Either Nowhere to jump my friend! or The topmost step you can reach is: X is outputted to the user, as well as a few messages along the way.

  6. CandidateCodingChallenge4Console

    This console application will allow clients of the World Health Organization (WHO), to determine how many people may be immunized per clinic. Constraint ensures that the value is greater than 1, but less than 500,000 for cities, greater than 1, but less than 2,000,000 for clinics, and greater than 1, but less than 5,000,000 for each cities population. Values are then determined for the maximum amount of people who can be immunized per clinic. The maximum number of people to be immunized in any single clinic is X is outputted to the user, as well as a few messages along the way.

  7. Utilities

    This project is used to complement the above four console applications, by handling tasks such as writing to the console, executing the appropriate code for the console requesting it, and to centralize any potentially duplicated code. There are four utility classes in this project:

    ConsoleWriter - Contains methods for displaying console messages

    ConsoleReader - Contains methods for reading console input, and verifying valid input

    MergeArray - Contains the methods for array creation, and merging/sorting of arrays either with LINQ or Array Copy/Sort

    PangramChecker - Contains the methods for determining Pangramness either with explicit alphabet or ASCII enumerated range

Pending Tasks

  1. Create Unit tests for all four coding challenges.
  2. Having an MVC web application versions of the above code base would be a fun exercise!

candidatecodingchallenge's People

Contributors

batmanpriddy-zz avatar

Stargazers

Roman avatar

Watchers

Jason Priddy 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.