Live data from Hacker News

$1000 coding challenge from E la Carte (YC S10)

elacarte.com

11–20 of 47 posts

Re: $1000 coding challenge from E la Carte (YC S10)

#15
For #2, are the codes unique? Do customers select dishes uniformly at random, without regard to whether they appear to be available? How could an item possibly appear to be unavailable when in fact it is available?

The problem statement makes it seem that the grid presented to the customer is an array of 36 squares, where every square that corresponds to a letter or number that occurs in any index of any possible special (whether it is the special today or not) has been crossed out. How is the customer to deduce anything from this that he or she could not already deduce from the published list of possible specials?

Re: $1000 coding challenge from E la Carte (YC S10)

#16

the first question seems a tad ambiguous to me. Is a contiguous rectangular block a rectangle s.t. all restaurants == P, or is it rectangle in which every P has at least one immediate neighbor == P?

It is a rectangle containing only P.

Re: $1000 coding challenge from E la Carte (YC S10)

#17
Don't factor time into the rankings unless you mean overall time from start of the challenge until 3 valid answers are entered (and even that is broken since it favors people who have heard about the challenge sooner).

There's nothing stopping anyone who really cares from getting the entire challenge ahead of time and then doing their pre-worked-out for-reals answer entries from a new IP address.

Re: $1000 coding challenge from E la Carte (YC S10)

#18

For #2, are the codes unique? Do customers select dishes uniformly at random, without regard to whether they appear to be available? How could an item possibly appear to be unavailable when in fact it is available? The problem statement makes it seem that the grid presented to the customer is an array of 36 squares, where every square that corresponds to a letter or number that occurs in any index of any possible spe…

I agree, the wording of the second problem is very unclear for me, in particular how the grid works...

Re: $1000 coding challenge from E la Carte (YC S10)

#19

For #2, are the codes unique? Do customers select dishes uniformly at random, without regard to whether they appear to be available? How could an item possibly appear to be unavailable when in fact it is available? The problem statement makes it seem that the grid presented to the customer is an array of 36 squares, where every square that corresponds to a letter or number that occurs in any index of any possible spe…

I agree, the wording of the second problem is very unclear for me, in particular how the grid works...

I tried solving the version of the problem in which codes are not necessarily unique, the grid an array of 36 squares in which each letter/number contained in any of today's specials has been crossed out, an item "appears" to be available iff all of its letters/numbers have been crossed out, and the customer picks one of the 250 items uniformly at random.

It seems that this is not the correct interpretation of the problem statement.

Re: $1000 coding challenge from E la Carte (YC S10)

#20

For #2, are the codes unique? Do customers select dishes uniformly at random, without regard to whether they appear to be available? How could an item possibly appear to be unavailable when in fact it is available? The problem statement makes it seem that the grid presented to the customer is an array of 36 squares, where every square that corresponds to a letter or number that occurs in any index of any possible spe…

the first part of q2 assumes that the customer has already picked items that appear to be available
Post reply on HN