Code Monkey home page Code Monkey logo

challenge's Introduction

Code Challenge

The assessment proposal which we'll develop together is provide a person with the loan types suitable for her, given some variables:

We must provide the following loan types:

  • Personal Loan. Interest Rate: 4%
  • Collateralized Loan. Interest Rate: 3%
  • Payroll Loan. Interest Rate: 2%

Listed below are the business rules for conceding a loan based on the person's profile:

Personal Loan Collateralized Loan Payroll
Income <= 3000 Yes Yes*** No
Income > 3000 & < 5000 Yes Yes** No
Income => 5000 Yes Yes* Yes
  • * Clients under 30 y.o.
  • ** Clients residing in SP (Sรฃo Paulo state code in Brazil)
  • *** Clients under 30 y.o. residing in SP

App usage:

The application must receive the following data as input:

input
{
  "customer": {
    "name": "Erikaya",
    "cpf": "123.456.789-10",
    "age": 29,
    "location": "SP",
    "income": 3000
  }
}

For the sake of simplicity, consider we'll always receive the correct data (types and formats)

And must respond the following data:

output
{
  "customer": "Erikaya",
  "loans": [
    {
      "type": "personal",
      "taxes": 1
    }
  ]
}

Before the interview

  • Since this will be a pair programming interview, make sure that you'll be able to share your screen on Google Meet
  • Set up the project on your language of choice. The instructions are inside the respective folders. This will save precious minutes during the interview.
  • Take your time and become familiar with the challenge, files and project structure

During the interview

  • This challenge will be tackled alongside our crew, in a pair programming dynamic
  • This pair programming dynamic tries to simulate the crew's day-to-day practices, so feel free to raise any question, ask for suggestions, etc. There is no right or wrong, we're only interested in understanding how you approach problems!

After the interview

  • The code written during this interview is confidential, and MUST NOT be shared with anyone other than our crew.

Setup

  • Install dependencies

Run the tests

You may execute the following command via CLI:

$ ./gradlew test

If tests are failing, then you succeeded. Fear nothing!

Now it's all about coding.

Good luck!

challenge's People

Contributors

acasimiro avatar aleixmorgadas avatar anibaldeboni avatar aureliosaraiva avatar backinkansas avatar bahbbc avatar brunobelluomini avatar caioabe avatar caterinalorente avatar erikaya avatar fabriciorissetto avatar fcas avatar hesouol avatar hlegius avatar karolxavierleite avatar leoandreucci avatar leoleandrocin avatar marasiu avatar marcionetov avatar marielen avatar marifgarciap avatar matheuspoleza avatar mcapanema avatar rafaeldeac avatar rafaellucio avatar regishideki avatar renanzll avatar renato-zannon avatar rmzoni avatar valtermartins1301 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

challenge's Issues

[service]: describe request here

Thank you for your interest to improve this project! If you do not read our CONTRIBUTING.md yet, please read it before to start your question.

Note

  • Please vote on this issue by adding a ๐Ÿ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Avatar 2236482 (1)

Tell us about your request
What do you want us to build?

Which service(s) is this request for?
This could be Terraform, EKS, ECR, etc...

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
What outcome are you trying to achieve, ultimately, and why is it hard/impossible to do right now? What is the impact of not having this problem solved? The more details you can provide, the better we'll be able to understand and solve the problem.

Are you currently working around this issue?
How are you currently solving this problem?

Additional context
Anything else we should know?

Attachments
If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)

Are you hiring?

If you are hiring I would like to give this challenge a try.

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.