注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号
x
Coding questions:- amazon shopping is ruunig a reward colleciton event for its customers, there are n customers and ith cutomer has collected initialrewards[i] points so far one final tournament is to take place where thw winner will be awarded n points the runner-up will be awarded n - 1 pints, the customer in third place will get n - 2 points, and so on util the one in last place gets 1 point given an array intinirewards integer of lenght n, find the number of customers (1 <= i <= n) such that if the ith customer wints the final tournament, i.e. they would have the highest
您好! 本帖隐藏的内容需要积分高于 188 才可浏览 您当前积分为 0。 使用VIP即刻解锁阅读权限或查看其他获取积分的方式 游客,您好! 本帖隐藏的内容需要积分高于 188 才可浏览 您当前积分为 0。 VIP即刻解锁阅读权限 或 查看其他获取积分的方式 d to "a" after "z" the output string must not have any adjacent characters that are the same.
第一题和第二题都有一个比较复杂的test case 会超时,需要注意。楼主第二题没有解决超时的问题,如果大家有答案欢迎分享。
后面就是标准的design 的时候会遇到的沟通和确认需求的选择题还有BQ,没有什么逻辑难度。楼主是这个月初答完的, 到现在也没有recruiter 联系,估计就是挂了。希望大家找工的时候能交好运。fingercross fingercorss。
欢迎大家分享答案,希望能帮助到大家。
|