points-challenge's People
points-challenge's Issues
Solve this challenge with a memory-efficient algorithm.
Edit: The bounty deadline has been extended by 1 day to give anyone close extra time to prepare their submission. This is a one-time extension; further extensions will not be made.
Challenge description here: https://raw.githubusercontent.com/chejazi/points-challenge/master/challenge.txt
Example interface here: https://github.com/chejazi/points-challenge/blob/master/example-skeleton.js
For questions, please open an issue
The most efficient algorithm submitted before the end of the challenge (Friday Jan 31) will earn the bounty. The bounty may be closed early if there is a winner that satisfies the constraints of the challenge. Pseudo-code is acceptable.
What's the initial input?
"Given the current interval, we should be able to compute the number of active points for each of the previous (completed) N intervals."
So with a current interval 6 and following the last example we would have something like this as initial input?
Interval number -> 6
N -> 4
Players current cash spent and points ->
Alice: $0.25 / 3.5
Bob: $0 / 0
Really interesting challenge, will take a swing at it but I think I'm missing something, would really appreciate some clarification.
Clarification on submission requirements.
I have an idea for an algorithm that determines previous interval total point amounts.
To clarify, the submission needs to only replicate the getIntervalPoints function showed in the skeleton.
Do I also need to implement the actual playing of the game or just show what data is stored by the play function each interval and show the algorithm?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.