Skip to content

evgenykireev/reckon-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reckon coding test

This is an implementation of Reckon NodeJs Pre-Interview Coding Test

Usage

To start the application

npm run start

After the application has started, there will be two endpoints available

Test 1:

http://localhost:9999/

Test 2:

http://localhost:9999/subText

Notes about implementation

  • The application is auto-generated by express-generator
  • JavaScript code is ES6
  • requestretry npm module is used to implement auto-retry for failing http requests. Currently it's configured for maxAttempts: 10, retryDelay: 500
  • For Subtext test a simple brute force algorithm O(mn) is used to find substring occurrences. Depending on performance requirements and input (size of text and number of subtexts) it should be changed to a more advanced algorithm

Testing

Run

npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published