GithubHelp home page GithubHelp logo

tamphuc0503 / mehdify Goto Github PK

View Code? Open in Web Editor NEW

This project forked from incredibleweb/mehdify

0.0 3.0 0.0 8 KB

A simple software engineering test for web developers using using JavaScript.

JavaScript 100.00%

mehdify's Introduction

mehdify

mehdify is a simple test for software engineers.

Difficulty: Medium

Scope

The scope of this test is to assess the candidate's basic knowledge of software engineering principles, their ability to learn, work in a team and follow instructions.

Problem Definition

Implement a function mehdify(x) that takes an integer x and returns the next biggest integer y made up of the same digits. If no bigger number can be found, it should return x.

	mehdify(419) // should return 491
	mehdify(271) // should return 712
	mehdify(542) // should return 542
	mehdify(32142) // should return 32214

You can assume that x is a positive integer.

Instructions

  • Fork the repository using your own GitHub account.
  • Give collaborator access to your interviewer(s) (using their email address).
  • Run npm install on the root directory to install any dependencies.
  • You may implement your solution in main.js in the /src folder.
    • Run the command npm run build to minify, prepare your solution and run any tests. If not all tests are passed then your solution is not complete. If the tests are passed then your solution is returning the correct result; however you will also be assesed on the method.
  • When you are satisfied, commit and push your changes and create a pull request and assign your interviewer.

Prerequisites

The test does not require any prior knowledge of the problem definition, however basic knowledge of the JavaScript language is required.

Important Notes

  • Keep your code nice and tidy.
  • No JavaScript frameworks are required (no jQuery, Angular, React...etc).
  • Any files outside the /src folder do not need to be modified; including test files.
  • Use suitable commit messages & gitflow (if necessary)

mehdify's People

Contributors

kevinfarrugia avatar

Watchers

 avatar  avatar  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.