Sunday, December 6, 2020

Algorithms to review: Dec 6 2020 Last six months

 分类整理

https://www.1point3acres.com/bbs/thread-649468-1-1.htm
分贴(一)分类整理追加单调队列
https://www.1point3acres.com/bbs/thread-651314-1-1.html
分贴(二)分类整理之Stack栈
https://www.1point3acres.com/bbs/thread-683612-1-1.html

6个月内
Easy 1592, 1170, 415, 387, 345, 157, 38,  20,14
Medium 791, 22,647,609,49,249,833,159,1138,767,17,227,93,722,43,809,3,5,165,
Hard 527, 72, 340, 76, 158, 214, 68, 10, 44

6个月前
Easy  800,293,521,1422, 1544,520,758,551, 925,
Medium  544, 890, 1525,1016,1062,1618,1023,1452,583,816,809,1461,1513,385,1616,522,686,271,
Hard 632, 736, 1316, 1585, 1449, 1392, 591

Hard level
214. Shortest Palindrome
KMP algorithm - Explanation in Chinese, here is the link. 
68 Text Justification
632. Smallest Range Covering Elements from K Lists

Study grandyang leetcode blog. 

Algorithm to think about: Math question is hard

 有一个是二维平面无数点,找出其中一条线,然后能够平均分配所有点,以及所有点到这条线的距离和最短

Algorithm practice: FANG onsite

 coding1: 利口意思而散,做完没问followup直接出了一道挺经典的背包dp。常规的问了复杂度,最开始脑抽了说错,面试官提示之后赶紧改正。两道题都bug-free,所以自我感觉还好。


coding2: 不是LC原题,但是是道典型的backtracking题,蛮类似sudoku solver,就不复述具体题目细节了。bug-free

coding3: 依然不是LC原题?(是真的背,我看很多rp好的面经全是高频题怎么回事emm),在一个排好序的数组中找到出现次数超过总数1/4的数字。一开始只想到brute-force的做法,没想到怎么logN。面试官提示了一下,想到基于二分查找就可以。然后写完有个小bug赶在面试官发现之前先改过来了。这一轮的面试官无精打采呵欠连连,搞得我也一头雾水不知道自己答的如何,再加上没问followup,就很虚。但考虑到最后几分钟面试官让我给code加了一些注释,还让我把复杂度啥的都明确注释在了doc里,个人猜测应该至少是个baseline的评价吧,如果是负面的那应该不用花时间让我的doc看起

1423. Maximum Points You Can Obtain from Cards

07 SITUATIONAL Interview QUESTIONS and ANSWERS! (PASS)

 Here is the link. 


Linda Raynier: Interview Tips to Get the Job | 5 Things You Need to Ace the Interview

 Here is the link. 

In this video I'm going to go through 5 things that recruiters, hiring managers, and interviewers look for during the interview. This includes communication ability, energy level, fit, you can do the job and you genuinely want this job. If you've been asking "how to get hired", "interview tips to get the job", "interview strategies to get hired", or "how to ace the interview", then this video is for you!

02:10 - Ability to communicate. 04:44 - Your energy level. 07:09 - They want to know that you’re a FIT for the company and culture. 11:03 - They want to know that you can do the job. 14:08 - They want to know that you genuinely want this job.



Life at Google: Prepare for Your Google Interview: Troubleshooting and Scripting

 Here is the link. 

Googlers share targeted advice for the troubleshooting and scripting aspects of Google's interview process for technical and engineering candidates. This video will cover tips for communication and collaboration, troubleshooting and scripting, and overall best practices! Skip ahead to: 0:17 Communication and Collaboration 1:06 Troubleshooting 2:41 Scripting 3:37 Best Practices


  1. Is it readable?
  2. Clarify
  3. Can you test the code?
  4. Can the code handle the error
  5. Improve
  6. Practice
Be sure to ask questions
Troubleshooting
Trouble shoot ...... logic steps
  • Examine
  • Trouble shoot
  • Gather your thoughts
Diagnosis:
  • Hypothetical
More on problem solving 
Scripting:

Life at Google: Prepare for Your Google Interview: Coding

 Here is the link. 

Googlers share targeted advice for the coding portions of Google's interview process for technical and engineering candidates, covering tips for communication and collaboration advice, algorithms and data structures, and more! Skip ahead to: 0:24 Communications and Collaboration 1:30 Algorithms and Data Structures 3:17 Coding 4:03 Testing and Error Checking 4:37 Best Practices

At least you run through one or two test cases, and make sure that the code works.

Life at Google: How we hire at Google

 Here is the link. 

Brinleigh, a business recruiter at Google, and Okwus a technical recruiter, share details about how we hire at Google, walk you through the process, and bust some myths!

Four attributes:

  • general cognitive ability
  • Role-related knowledge
  • Leadership
  • Bias for action



Framework: Prepare for your Google Interview: Tips and Example General Cognitive Ability Question

 Here is the link. 

Googlers Jodie and Kelsey share details about the general-cognitive-ability aspect of the Google interview process and walk through a sample Google interview question.

Google is made up of great people

  • How a candidate thinks
  • Leadership skills
  • Role-related knowledge
  • Googleyness
Past behavior questions -
Hypothetical - real life google situation

Evaluation of your problem solving skills
Insight into your problem skills

What is Google assessing?
  • Understanding of the question
  • Preparation strategy
  • Ability to identify solutions
  • Justification for a specific solution
  • Communication
How to build a strong response
  • Take a moment before responding
  • Ask clarification questions
  • Share logical assumptions
  • Show your work
  • Consider the pros and cons
  • Think about how you measure success
  • Tie it back to the role

Linda Raynier: How to Stop Being Shy (Communicate with Confidence)

 Here is the link. 

In today’s video, I’m going to teach you my 4 tips on how you can reduce your level of shyness when talking to people, including co-workers, your boss or anyone you meet! Shyness is a completely natural reaction and you shouldn’t beat yourself up because you tend to be shy in front of others, but today, I really want you to understand where shyness REALLY comes from…and teach you my 4 tips on how to overcome it. If you've been asking "how do I get rid of my shyness", "how to be less shy", then this video is for you!

  1. Adopt a curious mindset - ask questions, learn from other person
  2. Elaborate - reason No. 1, 2, 3, a good story to share
  3. ...
  4. Be present. Listen carefully.




Linda Raynier: How to Search for a Good Candidate - How to Recruit a Good Job Candidate (2 of 5)

 Here is the link.

Today’s episode is 2 of a 5 on How to Recruit a Good Job Candidate. In today’s video, I’ll be teaching you my 4 tips on how to find, locate and search for good job candidates if you’re trying to hire the perfect person for your company. If you've been asking "how to find the best job candidate", "how to search for the best candidate", then this video is for you!


Linda Raynier: How to Get Hired (Signs of a High Potential Employee) - How to Recruit a Good Job Candidate (3 of 5)

 Here is the link. 

Today’s episode is 3 of a 5 on How to Recruit a Good Job Candidate. In today’s video, I’ll be sharing with you the REAL signs you need to look for to identify a job candidate who will last at your company and has strong potential. If you've been asking "how to find high potential employees", "how to get hired", "how to get a high potential employee", then this video is for you!




Linda Raynier: How to NOT be Nervous in Job Interviews | How to be Confident in Interviews | Linda Raynier

 Here is the link. 


1. make yourself comfortable in the space before the interview (be present) 2. Prepare your stories and responses in advances (have a stockpile of potential stories) 3. Practice your answers on camera/in the mirror beforehand 4. Focus on them, not you (shift your focus onto them and make sure your answers are landing/appreciating what your saying) 5. Dress the part

Linda Raynier: How to Improve Interview Skills - 4 Reasons Why You're Unsuccessful in Job Interviews

 Here is the link. 

This video will teach you how to improve interview skills if you've been having unsuccessful job interviews. Job rejection is hard and I will tell you all the reasons why you failed job interviews and what's causing these interview fails. I'll give you interview help so you can avoid another failed interview. Linda Raynier of LindaRaynier.com, Career Strategist, Speaker and Coach. And in this video, I’m going to help you understand 5 reasons why you may be failing in interviews and what to do about it, so you can turn it around and start nailing your interviews and landing those job offers! Reason #1. You’re lowering yourself in the presence of the employer Reason #2. You think they control you, but you’re actually in control of them Reason #3. You’re not telling them why you’re a good fit…every chance you get  Reason #4. You’re “technically” not a fit

My notes:

Why you are a good fit for the position? You miss out the perfect opportunity for the position. Think about based on your answer that you are a good fit for the job. 

Consultant viewpoint - knowledge and skills needed 



Saturday, December 5, 2020

Linda Raynier: Interview Tips to Become a Leader - 4 Secrets to Career Growth

 Here is the link. 

In this video, I'm talking about the topic of interview tips for leaders, mainly focused on senior manager and executive level roles (those in leadership positions). Answers to interview questions that will help you get closer to the career you want. I will teach you the four key strategies to succeed in a senior level interview. If you're asking "what to say in a job interview", "what are some job interview tips", "what are some interview strategies for leaders" I'm here to help. Specifically, I give you 4 strategies that will help you prepare for that senior level interview. 1. Start your answers by giving the 'lay of the land'. 2. Learn to share your philosophy. 3. Put the interviewer at ease. 4. Showcase your research and insights about the organization.

Linda Raynier: Executive Job Search - 7 Steps to Land a Senior Management Job

 Here is the link. 

In this video, I’m talking about the topic of executive job search strategies, specifically focused on senior manager level roles. Perhaps you are a current manager or senior manager but have bigger dreams for your career to one day be an executive at the senior leadership, director, or c-suite level. I will provide you with deep dive training on how to achieve a senior management position / management positions. If you're asking "how to be a leader" or "how to network" to land leadership roles, "how to job search for leadership roles", I'm here to help. Specifically, I give you 7 steps that will help you to land a senior management job. 1. Know where you’re going – have a vision. 2. Implement a “top performer” mindset. 3. Build self-awareness and emotional intelligence (EQ). 4. Put yourself out there; network the right way. 5. Keep developing yourself personally and professionally. 6. Seek out mentors. 7. Keep record of your accomplishments.



Linda Raynier: How to Make Interviewers See You as the Right “Fit” for the Job - 5 Tips

Here is the link. 

If you’re interviewing for a job, I’ll share with you insight on how to become the ideal candidate for this position and be the best candidate for the job in the eyes of the interviewers. Hiring managers have a preference when selecting the right candidate for the job. I share tips on how to be a strong candidate for this position and any position you interview for, so you can stand out and be the right candidate for the job. I have 5 tips that explain what you need to keep in mind to be the best candidate for the job. Tip #1: Understand their PAIN and how to solve it. Tip #2: Show the right demeanour. Tip #3: Tell stories. Tip #4: Sell yourself. Tip #5: Be confidently YOU.

How to tell a good story?
Sell presentation
Every chance you get meaning ...

Linda Raynier: How to Interview Well (and Feel Comfortable)

 Here is the link. 

In today’s video, I’ll be teaching you my KEY strategy on how to feel comfortable in an interview so you can do an amazing job interviewing, answering the questions and hopefully eventually land yourself the job offer.



Behavior interview: How to dream big and work hard on behavior interview

 Dec. 5, 2020

Introduction

It is the first time I spent two days to really understand how important it is to prepare behavior interview. I spent two days and learned so many things from different youtube channels. I like to make my Google onsite interview really good one. 

Behavior interview 

I will have one behavior interview. I like to learn more about this topic. I like to learn and go back to my daily full time and work better with my coworkers. 


Linda Raynier: Interview Tips to Get the Job | 5 Things You Need to Ace the Interview

 Here is the link. 

In this video I'm going to go through 5 things that recruiters, hiring managers, and interviewers look for during the interview. This includes communication ability, energy level, fit, you can do the job and you genuinely want this job. If you've been asking "how to get hired", "interview tips to get the job", "interview strategies to get hired", or "how to ace the interview", then this video is for you!


02:10 - Ability to communicate. 04:44 - Your energy level. 07:09 - They want to know that you’re a FIT for the company and culture. 11:03 - They want to know that you can do the job. 14:08 - They want to know that you genuinely want this job.

My EXACT Portfolio Presentation that Got Me Hired at Google, Facebook & Amazon

 Here is the link. 

Ever wondered what it takes to get hired at Google? What kind of portfolio do you need? How high is the quality bar? In this video, I show off the EXACT portfolio presentation that got me hired at Google, Amazon, and twice at Facebook! This is a real-world example of a successful portfolio presentation. It will teach you how to best present your portfolio, using interesting storytelling and compelling visualizations. ⚠️ New TikTok handle is @tony.design ⚠️ 📌 Timestamps: 0:00 - TikTok 00:20 - Intro 04:10 - Portfolio Overview 08:25 Project 1 15:25 Project 2 18:00 Biggest UX Challenge 22:43 Conclusion




Tony Aube - How to Pass the On-Site Interview at Google (& Facebook, Amazon)

 Here is the link. 

How to pass the On-Site Design Interview at big tech companies like Google, Facebook, and Amazon!

Amazon Interview Bar Raiser Advice- [How To Nail The Why Amazon Interview Question]

 Here is the link.

Amazon interviews and questions can be a very different experience from other interviews you've had. Although to answers to the Amazon Leadership Principle behavioural questions will be the main data that is used to assess your performance, you may be asked this question. Many candidates make the mistake of thinking about Amazon as if it were just one entity. It isn't. So this video offers a detailed process on how to develop a strong answer that is specific to you and the role you are in the Amazon interview process for. I worked for Amazon for just under 5 years, and was an Amazon Interview Bar Raiser. Bar Raisers are the ultimate decision maker on who gets hired, so I know exactly what that decision maker is looking for. My content is here to help you ace your interview, by giving you insider advice on how to answer Amazon Leadership Principle behavioural questions and supercharge your interview preparation

Amazon Interview Bar Raiser Advice- [Ace The Writing Sample]

 Here is the link. 

STAR method - easy framework 

Brevity - Far more concise version - can write in concise 

  1. Write long version first, get thoughts down first
  2. Be brutal on yourself, edit your writing, edit, edit, edit - single word delivers value
  3. Specificity - Sales increase a lot - 10% customers do ..., I increased from matrix x to y
  4. Data - data points in your writing sample - super data centric - solid data 
  5. Spelling and grammar - writing submission - read a document, basics not covered 
  6. Indignity - if ever time .....


Amazon Interview Bar Raiser Secret- [5 Unrecoverable Errors At An Amazon Interview]

 Here is the link. 

  1. Bending rules - Do not choose to bend rules - reflection - show pride on this 
  2. Do not have inconsistent, discuss what you said - surf - truth / creditability - reshape the question 
  3. Over claim your contribution - try to consistently do that - surf - slightly uncomfortable - creditability 
  4. Summary, talk 10,000 feet high/ inconsistent - overclaim 

Dan croitor: Amazon Onsite Simulation

 Here is the link. 

Insist on high standard - relentlessly work on finished project 


Amaz0n Interview Whizz: Amazon Interview Bar Raiser Advice [How To Help Your Interviewer Run A Great Interview]

 Here is the link. 


Skip intro 0:44 What your interview is thinking 1:49 Tips for helping your interviewer 3:59 Amazon interviews and questions can be a very different experience from other interviews you've had. Amazon employees do many Amazon Interviews every week on top of their day jobs- I peaked at 4 a week. I've run over 350 Amazon interviews and talked with other Amazonians who have done over 1000 and we all agree, we still get nervous running an Amazon interview. So if you want to help your interviewer have a great interview, by enabling them to focus all of their attention on your answers to the Amazon Leadership Principle questions- this video is for you! I worked for Amazon for just under 5 years, and was an Amazon Interview Bar Raiser. Bar Raisers are the ultimate decision maker on who gets hired, so I know exactly what that decision maker is looking for. My content is here to help you ace your Amazon interview, by giving you insider advice on how to answer Amazon Leadership Principle behavioural questions and supercharge your interview preparation


Tips

  1. Slow down - let interviewer take notes - Pace is important, right pact
  2. Try not to repeat yourself - record it in black and white - repetition drives memory - waste your time and interviewer's time
  3. Avoid acronym and jargon - may not be same business -

Dan croitor: Top 10 reasons you got rejected after the onsite interview

Here is the link. 


- You didn’t have an answer to a question, and asked for another question You didn’t prepare the failure stories; Up to five proper failures for senior roles You knew the answers to many of the questions by heart, but got some new ones on which you blocked You repeated the same story twice or more; They take notes which they later confront You prepare the answers on paper, but did not role-play enough so your performance was so-so You thought your answers were great, but couldn’t really understand why they were asking you those questions in the first place; e.g. The leadership principles You gave poor answers: one or more hypothetical answers, impossible to quantify, Too short, Too long, You forgot the results, Maybe they were boring, Excel vs narrative, You praised them too much,Stubbornness You blocked when you got asked some tough questions from the bar raiser You were negative You lacked energy / curiosity / engagement

My notes:

failure stories - 

Never memorize the stories - same stories over and over again. You do not have diversified experience on the job.

Great answer for any question on behavior. 

Written answer/ Speak to yourself / speak to coach / written answer/ other things/ 

Why they ask you those questions in the first place? 

Prepare for those type questions - tailor those questions. 

Give poor answers - hypothetical - too long or too short or stubborn - do not listen very well. 

Good or great answer 

More Excel like answer - or narrative 



Friday, December 4, 2020

Jackson Gabbard: Intro to Behavioural Interviews

 Here is the link. 

In this video, we break down the goals, components, and best practices of Behavioural Interviews. While they are, for the most part, non-technical, you might find yourself faced with questions you don't feel ready to answer in an interview like this. This episode will help you understand what it's all about and how you can be genuine without shooting yourself in the foot.

  1. Communication
  2. Passion
  3. Achievement
  4. Collaborate
  5. Clearly see Nos - some one takes misstep and blame others ......
  6. Out-of-range of strength - one balance in one hand, another hand you do not do very well
  7. Things you ask -
  8. The things - interpersonal, what team means to you - giant, would the person do the good work here
  9. Process - structure - high level person in the team - well calibrated to build a team
  10. Person does not know how to evaluate
  11. One part technical - they want you to do some technical interview -
  12. You, your experience, hard problem you end, talk about team you work on, things you cannot do, explain something people do not agree, person gets the side view about ...
  13. I am smart, calculating, and make sense and let them know.
  14. Person asks your question - know what is the real answer
  15. People do finance log - nature
  16. Bullshit those questions - do that, it will really be stupid
  17. Strength - wrap it - work so hard, forget what I am doing - any interviewer -
  18. Concrete example, flaw -
  19. Big success - project works on - what did not go very well? Chance catches me ... throw teammate under the bus - self critical - bad things about yourself - trash talk your team - 2 people a week
  20. Mistakes - hire a person ending at a bad fit - what alternative ......
  21. think critically - explain things go better - not requisite - pretty good - not be critical
  22. Correct answer - take massive - temptation - bullshit someone -
  23. Interviewer talked through the project work on - Technical people ships a lot of things
  24. Take credit for other people's work - most of ......
  25. Bugs - fix the bug - ship crazy feature - unwise - discount yourself -
  26. behavior of you - y
  27. the part of signals - crispy signal about you - conversation, not investigation
  28. Negative contributor - positive contributor - open end conversation
  29. Signals you need - interviewer - checksum of your own history - in-between - what progression - same level engineer same company same 6 years -
  30. signals - do my best - try to confirm with those things - entire ...
  31. Make sense of personal story -
  32. Hear them talk about something - directly work on - project, features they work on - brains grind - how good communication - complexity - understand - definitely do the work
  33. assume that it is true - fuzzy - good- add up - technical what he told me to ...
  34. The part about "we" is a problem - I did this, I did this, my team and I did these things
  35. You try to get the job - your own work directly - work history - review what amazing ...
  36. Communication frustration, give people what they need to understand - what matters
  37. The way you communicate - you have to give critical feedback for them to improve
  38. not doing what they are supposed to do

How much care about what you do?



Jeff Su: Where Do You See Yourself in 5 Years - How to Answer

 Here is the link. 

Where Do You See Yourself In 5 Years is honestly like a trick question. How do you answer this question when most likely you won't be sticking around for that long? In this video I'll show you a formula that will let you answer this question in an honest manner without having to spend too much time figuring out "where DO I see myself in 5 years?" Yes, this question is asking about your career goals; more specifically, your long term career goals. But too many people get caught up by trying to literally answer "where do you see yourself in 5 YEARS?" when they should be simply focusing on talking about the overall direction they see themselves heading towards within the company they're interviewing for. Not only do I share the formula that will help you come up with your own answer, but my example answer should give you a good idea of how you can adapt the the formula for your own needs. It's a painless strategy that you can use next time you're facing this tricky where do you see yourself in 5 years interview question! TIMESTAMPS 00:00 Intro 01:03 Uncertainty of staying for 5 years 01:21 The Formula 03:03 Example Answer 04:31 Example Answer Breakdown 05:21 Summary


Jeff Su: From Networking to Getting Hired: Step-by-step

 Here is the link. 

STAR vs. CARL: What's the best behavioral interview method? In this video I compare the popular STAR answer method with the more comprehensive CARL answer format, share sample behavioral interview questions and answers, and end with a recommendation on when to use each method. The STAR behavioral interview method suffers from 2 limitations: (1) It allocates too much time for background information and not enough on your accomplishments, and (2) Doesn’t naturally incorporate your learnings as part of the answer prompts. Therefore, many interviewers find the STAR technique of interviewing a little bit robotic as candidates just seem to memorize answers and spit them out during the interview. With the CARL interview method, the “L” stands for “Learning” so you should really allocate more time on reflecting what your actions and results meant for future use cases (i.e. what if you faced a similar situation again, what would you do next time?) This is where the CARL interview framework really shines. TIMESTAMPS 00:00 Intro 01:10 What is CARL? 01:52 Sample answer #1 02:54 Why “Learnings” help you stand out 03:26 What to say for “Learnings” 04:04 Sample answer #2 06:20 When to use STAR 06:55 Summary