注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
本帖最后由 1fan 于 2021-11-17 23:15 编辑
求加米!!!
求加米!!!
求加米!!!
店面 很久之前了 根据记忆拼凑出来的- Careful about your assumptions
- Be concise and specific, for example map say key and value
- //
- /*
- Arrays.sort(
- intervals,
- new Comparator<int[]>() {
- public int compare(final int[] a, final int[] b) {
- return a[0] - b[0];
- }
- });
- */
- Input :
- FirstName, LastName, ManagerID, SelfID
- [
- "Hao, Zhang, 20, 10",
- "Ravi, Sharma, 20, 15",
- "Amit, Chandra, null, 20",
- "Xu, Liu, 15, 5",
- ]
- Scanner
- String[] lineItem = input[i].split(“,”)
- [Hao, Zhang, 20, 10]
- String[]
- Output:
- Print result in hiaracical format
- if levels is the same, print in the order sorted by their last name
- Amit Chandra
- Ravi Sharma
- Xu Liu
- Hao Zhang
- // empty -> empty string
- // int ceoID = 20;
- Static HashMap <Integer, List<Integer>>
- // RelationshipMap <10 : > <15: 5 > <20: 10, 15, > <5: >
- Static InfoMap <Integer, String[]>
- // 10 : [Hao, Zhang, 20, 10]
- Static void printLines (int selfID, int level) {
- {
- // <20: 10, 15, >
- // order
- // 20
- // 10 15
- 5
- // TC ()
- public class Solutions {
- public String printName (String[] input) {
- if (input.lengh == 0) {
- return "";
- }
- // to int[][] {[20,10], [20,15] ... ]
- Map<Integer, Integer> map = makeTheMap(int[][] handledString);
- }
-
- private Map<Integer, Integer> makeTheMap(int[][] input) {
- Map<Integer, HashSet> map = new HashMap<Integer, HashSet>();
- for (int i = 0; i < input.length; i++) {
- if (map.contains(int[i][1])) {
- countine;
- }
- map.put(int[i], new HashSet<>())
- }
- }
- }
复制代码 onsite四轮
两轮coding 一轮是 binary search相关
一轮 cross functional 和PM BQ
最后HM
offer太低了 Palo Alto
1 YOE
120k base
2000 shares $50/share around Aug 2021
10k sign on
没了 是的 没了
notes很多来源于地里 谢谢前辈!
Coding: 给一个string和k,比如1132234321123,k=2,求所有的substring满足substring里的所有字母出现k次。
比如上面string的output是11,113223,3223,22,321123,2112,11
Virtual Onsite:
System Design:Design一个notification system,问了API怎么设计,要用SQL还是用NoSQL,message ID怎么生成,怎么sharding,send to receiver失败怎么处理。感觉画系统图花了太多时间(又是hackerrank whiteboard惹的祸)很多细节没说清楚T_T
Behavior Questions:
Why do you want to join RIVIAN?
Why do you think RIVIAN should hire you?
Tell me about your understanding about RIVIAN
What's the best working model you can think of in the team and between team?
给有个height array 求多少积水
Trapping water
L 上的hr 联系招 sde, 第一轮和hr 的店面 behavior 瞎聊, 第二轮60分钟tech interview hackerrank, 题目是input: 是一堆数字 和 k operation
output : the final array should have the minSum
each operation will perform following steps:
1. pick any num from array,
2. divide by 2 and then take the ceiling of this num
3. insert back to the original array
大米大米!!!
Rivian Onsite
Python Test Framework, CI/CD
1 code - data structures, algorithms, hackerrank, medium
System Design
Full Stack
whiteboard, design ecommerce site, interacting, requirements clarification, suggestions, ideas, push back, both functionality and distributed thinking, problem approach.
Design Digital Ecommerce Experience for Rivian
What is Rivian Digital Ecommerce Experiences
Rivian’s Digital Technology Team is responsible for the end-to-end implementation of the digital experience outside the vehicle (e.g. vehicle configurator, payment gateway, vehicle delivery management, service scheduling) across web, mobile app and in-store.
Requirements and Goals of the System
Functional Requirements
Display / View Product and Compare
Vehicle configurator
Payment Gateway
User a 3rd party
Design a payment system in which users authorize payments, and the system interfaces with external payment processors like Visa to complete the payment.
Payment system demand high reliability - to avoid failures or duplicate charge - use payment task reliability queue that is processed asynchronously
The front end service accepts a user’s payment request, set up a status record in a database that says the user's request has been received and is pending
The front end puts a message on the payment queue with a reference to the newly created database record, and any details about the payment (credit card, transaction amount). Just so if this or the previous fails, the user is immediately notified.
An asynchronous payment processor reads from the queue, processing individual payment tasks, which is idempotent and crash-tolerant. This processor will use the external payment service and update the user’s payment status record.
Once the payment finalizes (either goes through or get rejected) the asynchronous processor notifies the pportunity to build from the ground up with an obsession towards making these experiences memorable for the customers. This is an exciting opportunity to join a high performing team early on and help lay the technical foundation for our digital commerce platform.
This Is What You’ll Do
Partner closely with Product lead to provide solutions and recommendations – you are able to drive ambiguity out of requirements and articulate the broadly applicable solutions.
Define interfaces and work with 3rd party integration APIs
Design, extend and review software architecture – be hands on and involved with every stage of the product development life cycle
Develop state of the art code – influence/establish the software development culture of the team. Establish standards and best practice for software engineering
This Is What You’ll Need
large scale enterprise grade systems in Java, SQL, NoSQL, microservices in cloud environments (AWS, GCP, AZURE).
Meticulous around visibility of the systems you build – metrics, centralized logging, tracing
Experience developing API’s with the care they deserve – REST with OpenApi, Swagger
Experience with 3rd party system integration (sync/async)
In-depth knowledge of web (HTTP, HTML, RESTful APIs, Spring, SpringBoot, XML, JSON, Kubernetes, Kafka, Docker) and related tools like Jenkins, CI/CD, Git...etc
PM
1 cross functional, adjacent team, PM, behavioral, conflict with PM, engineering maturity, collaborate,
Collaborate, communication, interaction - non technical,
Cross Functional
|