4 ms·
Regarding the price discrepancies, why can't they program some kind of outlier check into this type of system? If an average burger costs $12.00 in an area, but
by logicalmonster 4y ago
Regarding the price discrepancies, why can't they program some kind of outlier check into this type of system? If an average burger costs $12.00 in an area, but the system interprets the price as either $1,200.00 or $0.12, it should be relatively easy to flag that as a likely error.
- edent 4y agoThat doesn't come up on LeetCode so must be pretty difficult to implement.
- ChuckNorris89 4y agoI'm not sure if you're being satirical or not but I definitely chuckled.
- hoosieree 4y agoIf it's not on LeetCode it's not a real problem.
- kwertyoowiyop 4y agoNew problem: invert this menu and sort it by the third letter converted to lower-case, filtering out seafood. Present all item descriptions with infix notation.
- ohgodplsno 4y agoWhat, do you mean reversing an octree in the 4th dimension doesn't solve that ? But it's the only thing I practiced for my interview!
- isoprophlex 4y agoI'm sorry, no, you must be mistaken about the sheer scale at which google operates. Sanity checks simply don't scale, you see. By necessity, it'll be "pour it into this big stew of linear algebra" or nothing. Any kind of sensibility is simply impossible when you're as big as google!
- ethbr0 4y agoIncidentally, a continuously updated average price of a burger (et al.) in different cities would be a valuable data set on its own.
- mellavora 4y agosomething like the big mac index?
- ethbr0 4y agoThe Big Mac Index simplifies McDonald's into a perfectly efficient burger producing machine, in all possible countries, and then evaluates purchasing power parity between currencies by normalizing against a Big Mac. An average burger price in a given city would be different. There the intent would be to assume profit margins are consistent (albeit perhaps not hyper-thin) from city to city, and thus get a sense of the relative costs of burger-related inputs (chiefly: labor, real estate, utilities, taxes, and transportation).
- mellavora 4y agountil you get to the upscale restaurant which is selling $150 burgers, skewing the statistics. or a crazy synthetic meat burger, how much did the first one of those cost, wasn't it in the millions?