All Questions
Tagged with weekend-challenge or community-challenge
128 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
5
votes
2
answers
1k
views
another Tic-Tac-Toe Game
I have a bit of experience in programming but not that much. I was trying to create a TicTacToe Game in Javascript. I was doing my best to have a good structure. I was thinking about using classes, ...
1
vote
1
answer
543
views
An implementation of Uber's "Fare Estimator" [CodeSignal]
CodeSignal put out a challenge by Uber that involves writing a "fare estimator" that involves a function dependent on cost per minute, cost per mile, ride time and ride distance.
The formula ...
2
votes
2
answers
187
views
AdventOfCode Day 1 : find X element matching a criteria in haskell
This problem is from https://adventofcode.com/2020/ day 1.
I need to find the N entries of inputs that sum to 2020 and then multiply those N numbers together.
...
-3
votes
2
answers
116
views
'*' present in the print statement-PYTHON [closed]
for i in range(1,int(input())+1):
print(((10**i -1)//9)*((10**i -1)//9))
print('lol just need to fill one more line to post the question IGNORE IT')
What is ...
2
votes
1
answer
101
views
Finding minimum weighted matching in sink source graph
I have three lists of nodes.
sources
sinks
pipes
There is a directed weighted graph from sources to pipes to sinks.
Sources are only connected to pipes and pipes only to sinks. But sources are not ...
2
votes
2
answers
350
views
github page/ DHH Score Challenge in ruby
I wrote the following code which when executed prints the score of https://github.com/dhh.
...
7
votes
3
answers
4k
views
Finding the position in a triangle for the given challenge
The LAMBCHOP doomsday device takes up much of the interior of Commander Lambda's space station, and as a result
the prison blocks have an unusual layout. They are stacked in a triangular shape, and ...
4
votes
0
answers
467
views
Lexer with a parser combinator
A follow up to my previous question which was on the token library that this lexer produces a stream of.
View the full project, the tokens library, the parser combinator library, or this lexer ...
6
votes
1
answer
4k
views
Elevator simulator
I have an elevator simulator. After launching the script it always waits for the user input. The user can press get number, where number is a floor where the passenger is located.
Note that one of the ...
4
votes
1
answer
147
views
Language tokens library
This may seem a little small, but it's actually a self-contained crate in my project.
This crate contains definitions for the source tokens in the language I'm working on, Nafi. As of current, it's ...
22
votes
4
answers
2k
views
Complex tokenizer in C#
As we have our Community Oriented Development Extravaganza, Requiring Extreme Vigor Inciting Extraordinary Winners 2017 Challenge. Finally I had some time to write a tokenizer for my own language. It ...
8
votes
3
answers
3k
views
Simple language tokenizer in C#
I had some spare time so I have decided to write a simple tokenizer in C# for my own programming language. The tokenizer is not finished, but it is working and I would like to hear your opinion on ...
54
votes
1
answer
2k
views
Swiftly turning wheels – The May 2017 Community Challenge
This is my attempt at the May 2017 Community Challenge in Swift, with a chain consisting of rigid links.
I took this as an opportunity to learn SpriteKit, Apple's framework for 2D games. At least ...
8
votes
1
answer
237
views
Safe Intersections
Code Review's April 2017 Community Challenge has us simulating a multi-way intersection. My emphasis was around safety (don't want cars crashing) and ease of use. I plan on adding "smart intersections"...
9
votes
2
answers
423
views
Rock, Paper, Whatever - A small commandline game
My rational for this program, was to learn more of Python's standard library, I didn't actually know cmd was even in it until I started this program. It's also the ...