Your task is to implement GuessingGame
class
this method accepts min and max value of range of number to guess
this method returns solution candidate (you make an assumption based on range and previous assumptions)
this method is called if prev call of guess()
returned number which is lower than answer
this method is called if prev call of guess()
returned number which is greater than answer
Your implementation should use binary search algorithm under the hood to pass all tests
- Install nodejs (>= v6.9.4)
- open bash in this folder
npm install
npm test
npm start
© R1ZZU