Code Monkey home page Code Monkey logo

anagram-checker's Introduction

Introduction

This is part of a timed assessment to assess my java skills. The project can be built using Gradle.

The logging requirement is in a seperate branch, this is purely because it makes the CLI harder to read so I wanted to ensure that there would be a branch with an easy to read CLI.

Anagram Checker

Develop a program to accept a username and 2 text values and return an indicator whether the values are an anagram. A word is an anagram of another word if both use the same letters in the same quantity, but arranged differently. For example 'friend' and 'finder'. The delivered program should compile and run. Include appropriate usage documentation. Please state any assumptions you have made.

Requirements

  • For the first release, input values with the following must be: spaces, numbers.
  • Each time values and results are processed, they should be written to the following: an extranl file, and a cache (i.e. an Array).
  • Other developers must be able to change code safetly; protect your code with tests.
  • The file should be appended to, not overwritten.
  • Support teams must be able to deal with issues; this can be achieved with good logging.
  • Improve performance by checking new requests against the cache, prior to processing.
  • The input values in the file and cache should be unique.
  • Validate that the inputs do not have special characters
  • The solution must have the ability to easily add further validations over time โ€“ could you use a Factory pattern?
  • Upon start-up, populate the cache with the previous results stored in the file.

anagram-checker's People

Contributors

deanlogan avatar

Watchers

 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.