注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
一上来是一些General 项目的问题- How to process transactions during migration? Is there any bad experience during migration time?
- What's your role in the project? What's the biggest challenge in the project? What do you learn from the project?
- How do you balance part-time work versus school life?
然后是一道很长但是非常简单的 coding 题目,其实只要理解了题意,解决起来非常轻松。
环境setup:本地IDE,屏幕共享。//You are tasked with developing a program for an ice cream shop's new automated ice cream machine. The machine allows customers to create custom ice cream orders by selecting from various flavors, add-ons, and specifying allergy options.
//Additionallys]
//1. Your implementation should return the price of the ice cream. A valid ice cream contains 1 flavour plus any numbers of add-ons which does not break any mutual exclusion or allergy constrains.
//2. If a valid ice cream cannot be built from the input, your implementation should return -1.
//3. If the input itself is invalid, return -1.
//4. You should write unit test cases to justify the correctness of your implementation. |