注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
面试官是个白男,上来就硬性要求nlogn解,完全不给讨论空间。全程零互动,跟个NPC似的。最后还一副‘这么简单都不会’的表情。求加米安慰!
A chef receives all his orders for the day as a list of order ids. Given this list, the chef chooses to prepare tnce no right neighbor exists] When there is only one order in the list, it is automatically eligible. Order ids are unique.
|