When I sat down for my Amazon interview, I thought -
First round hai kya hi puch lenge ๐โโ๏ธ๐
They asked ๐๐๐๐ + ๐๐๐๐ค๐ญ๐ซ๐๐๐ค๐ข๐ง๐ + ๐๐๐ฆ๐จ๐ข๐ณ๐๐ญ๐ข๐จ๐ง Que ๐๐ฃ
Socha kuch or ๐๐ก๐๐๐ญ๐๐ฅ, nikla kuch or ๐ฅ
Prepare well and don't assume they will ask easy questions.
#meme #amazon #coding #dsa #maang #interview #programming
First round hai kya hi puch lenge ๐โโ๏ธ๐
They asked ๐๐๐๐ + ๐๐๐๐ค๐ญ๐ซ๐๐๐ค๐ข๐ง๐ + ๐๐๐ฆ๐จ๐ข๐ณ๐๐ญ๐ข๐จ๐ง Que ๐๐ฃ
Socha kuch or ๐๐ก๐๐๐ญ๐๐ฅ, nikla kuch or ๐ฅ
Prepare well and don't assume they will ask easy questions.
#meme #amazon #coding #dsa #maang #interview #programming
In a recent interview, I was asked, do you know the concept of idempotency in APIs.
I had read it once but I couldn't recall it, felt dumb a bit, so I went back and I read all I can about it.
So here's an example, if the API's were not idempotent would have happened,
Let's say I want to buy a flight ticket from Ahmedabad to Delhi for 3000 INR. I am paying via my Paytm wallet having 10K balance.
I pressed the pay button but nothing happened so after a few seconds I again tried it and it was successful.
After a minute, I got 2 notifications saying we have booked your flight from Ahmedabad to Delhi and your current balance is 4000 INR, and with that follows a mild heart attack, and a loss of 3000 INR, and what if I was booking a flight from Ahmedabad to USA, ๐ต๐ชฆdead...(account balance).
But in real life, APIs are idempotent.
Meaning, when you press pay once, it stores your request, when you again retry it, it goes and checks, is it the same request??? If yes, it doesn't process it again and voilaa the payment is only done once.
#interview #api #idempotent #learningandgrowing
I had read it once but I couldn't recall it, felt dumb a bit, so I went back and I read all I can about it.
So here's an example, if the API's were not idempotent would have happened,
Let's say I want to buy a flight ticket from Ahmedabad to Delhi for 3000 INR. I am paying via my Paytm wallet having 10K balance.
I pressed the pay button but nothing happened so after a few seconds I again tried it and it was successful.
After a minute, I got 2 notifications saying we have booked your flight from Ahmedabad to Delhi and your current balance is 4000 INR, and with that follows a mild heart attack, and a loss of 3000 INR, and what if I was booking a flight from Ahmedabad to USA, ๐ต๐ชฆdead...(account balance).
But in real life, APIs are idempotent.
Meaning, when you press pay once, it stores your request, when you again retry it, it goes and checks, is it the same request??? If yes, it doesn't process it again and voilaa the payment is only done once.
#interview #api #idempotent #learningandgrowing
๐2
Top LeetCode questions asked in ๐๐ฉ๐ฉ๐ฅ๐ ๐๐ง๐ญ๐๐ซ๐ฏ๐ข๐๐ฐ๐ฌ for ๐๐๐ Role โค๏ธ
- Move Zeroes
- https://lnkd.in/dWrM3guU
- 3Sum [7 times]
- https://lnkd.in/d_vhP7X8
- Reverse Integer
- https://lnkd.in/dakwsvz9
- Roman to Integer
- https://lnkd.in/d3wrkWAb
- Two Sum [32 times]
- https://lnkd.in/dz-nQabK
- Contains Duplicate
- https://lnkd.in/dSGzKSpr
- Word Break [9 times]
- https://lnkd.in/dTyrvmrd
- Trapping Rain Water
- https://lnkd.in/dseQCGsV
- Longest Common Prefix
- https://lnkd.in/dinx-Rxz
- Permutations [7 times]
- https://lnkd.in/gHzEEqw3
- First Missing Positive
- https://lnkd.in/dniF7c7g
- Search Insert Position
- https://lnkd.in/dZwwnapr
- Word Search II [7 times]
- https://lnkd.in/dAV9Xg24
- Merge Intervals [9 times]
- https://lnkd.in/dvQYHsQf
- Group Anagrams [11 times]
- https://lnkd.in/d9wXHgK9
- Maximum Subarray [8 times]
- https://lnkd.in/d8t24BMj
- Container With Most Water
- https://lnkd.in/d866PPSK
- Valid Parentheses [10 times]
- https://lnkd.in/d2qy5P9D
- Number of Islands [13 times]
- https://lnkd.in/dEcneG2G
- Product of Array Except Self
- https://lnkd.in/d4UZTW7G
- Reverse Linked List [11 times]
- https://lnkd.in/dVmKdqvP
- Search in Rotated Sorted Array
- https://lnkd.in/dAnewRjw
- Longest Common Prefix [7 times]
- https://lnkd.in/gG6J3N6v
- Median of Two Sorted Arrays [9 times]
- https://lnkd.in/dtF7QHsY
- Product of Array Except Self [8 times]
- https://lnkd.in/ddtJrVQX
- Longest Palindromic Substring [6 times]
- https://lnkd.in/dFpK7Vbu
- Longest Substring Without Repeating Characters [7 times]
- https://lnkd.in/dAr9a5Ny
If you find it useful, give it a like and save it. Feel free to comment with your thoughts and queries. Also share it with your friends and colleagues out there. Don't forget to save this Post.
Follow Mohit Sehrawat for more.
Happy learning! ๐
๐๐๐ฌ๐ก๐ญ๐๐ ๐ฌ:
#coding #datastructures #algorithms #apple #interview #leetcode #programming #interviewpreparation
- Move Zeroes
- https://lnkd.in/dWrM3guU
- 3Sum [7 times]
- https://lnkd.in/d_vhP7X8
- Reverse Integer
- https://lnkd.in/dakwsvz9
- Roman to Integer
- https://lnkd.in/d3wrkWAb
- Two Sum [32 times]
- https://lnkd.in/dz-nQabK
- Contains Duplicate
- https://lnkd.in/dSGzKSpr
- Word Break [9 times]
- https://lnkd.in/dTyrvmrd
- Trapping Rain Water
- https://lnkd.in/dseQCGsV
- Longest Common Prefix
- https://lnkd.in/dinx-Rxz
- Permutations [7 times]
- https://lnkd.in/gHzEEqw3
- First Missing Positive
- https://lnkd.in/dniF7c7g
- Search Insert Position
- https://lnkd.in/dZwwnapr
- Word Search II [7 times]
- https://lnkd.in/dAV9Xg24
- Merge Intervals [9 times]
- https://lnkd.in/dvQYHsQf
- Group Anagrams [11 times]
- https://lnkd.in/d9wXHgK9
- Maximum Subarray [8 times]
- https://lnkd.in/d8t24BMj
- Container With Most Water
- https://lnkd.in/d866PPSK
- Valid Parentheses [10 times]
- https://lnkd.in/d2qy5P9D
- Number of Islands [13 times]
- https://lnkd.in/dEcneG2G
- Product of Array Except Self
- https://lnkd.in/d4UZTW7G
- Reverse Linked List [11 times]
- https://lnkd.in/dVmKdqvP
- Search in Rotated Sorted Array
- https://lnkd.in/dAnewRjw
- Longest Common Prefix [7 times]
- https://lnkd.in/gG6J3N6v
- Median of Two Sorted Arrays [9 times]
- https://lnkd.in/dtF7QHsY
- Product of Array Except Self [8 times]
- https://lnkd.in/ddtJrVQX
- Longest Palindromic Substring [6 times]
- https://lnkd.in/dFpK7Vbu
- Longest Substring Without Repeating Characters [7 times]
- https://lnkd.in/dAr9a5Ny
If you find it useful, give it a like and save it. Feel free to comment with your thoughts and queries. Also share it with your friends and colleagues out there. Don't forget to save this Post.
Follow Mohit Sehrawat for more.
Happy learning! ๐
๐๐๐ฌ๐ก๐ญ๐๐ ๐ฌ:
#coding #datastructures #algorithms #apple #interview #leetcode #programming #interviewpreparation
LinkedIn
LinkedIn: Log In or Sign Up
1 billion members | Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.
๐ฅ2
Rotate image.pdf
890.9 KB
DSA Problem (2): ๐๐จ๐๐ญ๐ ๐๐ฆ๐๐ ๐
This is a very important question had been asked in all the company's interviews including #google #meta #amazon #microsoft.
In this article I have covered the following things:
โ๏ธ Problem statements.
โ๏ธ Discuss all the approaches.
โ๏ธ Dry run with clean and proper diagrams.
โ๏ธ Clean & smooth code of each approach.
Tags:
#arrays #matrix #dsa #algorithms #dsacoding #coding
#articles #loadbalancers #systemdesign #fang #mang #datastructuresandalgorithms #datastructures #algorithms #arrays #notes #interview #share #help #jobs #placement #college #softwareengineers #design
This is a very important question had been asked in all the company's interviews including #google #meta #amazon #microsoft.
In this article I have covered the following things:
โ๏ธ Problem statements.
โ๏ธ Discuss all the approaches.
โ๏ธ Dry run with clean and proper diagrams.
โ๏ธ Clean & smooth code of each approach.
Tags:
#arrays #matrix #dsa #algorithms #dsacoding #coding
#articles #loadbalancers #systemdesign #fang #mang #datastructuresandalgorithms #datastructures #algorithms #arrays #notes #interview #share #help #jobs #placement #college #softwareengineers #design
Top LeetCode questions asked in Google Interviews for SDE role (PART-1) ๐
๐ Please don't ignore this post, it took a lot of effort & time to research & create this post. Many of us are preparing for the interviews to get placed in top product-based companies and #Leetcode is one of the good platforms to practice the #DSA questions.
๐Here is a list of questions (Part-1) which recently asked by Google during the interviews. The questions and their respective links are in the same order. The content source is the Internet and Leetcode.
โพQUESTIONS :-
- H-Index
- Poor Pigs
- Valid Square
- Decode String
- Text Justification
- Battleships in a Board
- Minimum Time Difference
- Longest Absolute File Path
- Student Attendance Record II
- Evaluate Reverse Polish Notation
- Longest Increasing Path in a Matrix
โพLinks:-
- https://lnkd.in/dVy49_Nr
- https://lnkd.in/daX_YFyX
- https://lnkd.in/dvq8H_2w
- https://lnkd.in/dDpYv6G5
- https://lnkd.in/dYNWn5N3
- https://lnkd.in/d29shXsD
- https://lnkd.in/dGAuhsvh
- https://lnkd.in/dHD-2TVZ
- https://lnkd.in/dbnqgbkA
- https://lnkd.in/dCX4BzSE
- https://lnkd.in/dmEWHdSd
๐ If you find it useful, give it a like and save it. Feel free to comment with your thoughts and queries. Don't forget to save this Post. Also share it with your friends and colleagues out there.๐ญ
tags-
#coding #datastructures #algorithms #google #interview #computerscience #softwareengineer #data #programming
๐ Please don't ignore this post, it took a lot of effort & time to research & create this post. Many of us are preparing for the interviews to get placed in top product-based companies and #Leetcode is one of the good platforms to practice the #DSA questions.
๐Here is a list of questions (Part-1) which recently asked by Google during the interviews. The questions and their respective links are in the same order. The content source is the Internet and Leetcode.
โพQUESTIONS :-
- H-Index
- Poor Pigs
- Valid Square
- Decode String
- Text Justification
- Battleships in a Board
- Minimum Time Difference
- Longest Absolute File Path
- Student Attendance Record II
- Evaluate Reverse Polish Notation
- Longest Increasing Path in a Matrix
โพLinks:-
- https://lnkd.in/dVy49_Nr
- https://lnkd.in/daX_YFyX
- https://lnkd.in/dvq8H_2w
- https://lnkd.in/dDpYv6G5
- https://lnkd.in/dYNWn5N3
- https://lnkd.in/d29shXsD
- https://lnkd.in/dGAuhsvh
- https://lnkd.in/dHD-2TVZ
- https://lnkd.in/dbnqgbkA
- https://lnkd.in/dCX4BzSE
- https://lnkd.in/dmEWHdSd
๐ If you find it useful, give it a like and save it. Feel free to comment with your thoughts and queries. Don't forget to save this Post. Also share it with your friends and colleagues out there.๐ญ
tags-
#coding #datastructures #algorithms #google #interview #computerscience #softwareengineer #data #programming
LinkedIn
LinkedIn: Log In or Sign Up
1 billion members | Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.
Subarray.pdf
1.5 MB
DSA Problem (03): ๐๐ฎ๐-๐๐ซ๐ซ๐๐ฒ ๐๐ฎ๐ฆ ๐๐ฎ๐ช๐๐ฅ๐ฌ ๐ญ๐จ ๐
This is another important question that had been asked in all the company's interviews including:
#google #meta #amazon #microsoft.
In this article I have covered the following things:
โ๏ธ Problem statements.
โ๏ธ Discuss all the approaches.
โ๏ธ Very neat & clean dry run with proper diagrams.
โ๏ธ Clean & smooth code of each approaches.
I hope you'll like it. If you have any doubts or want to talk about this, please feel free to comment.
I have spent hours of my time preparing this one and I want to help as many people as I can. so kindly so show your support by sharing this with your connections.
Stay tuned for much more upcoming notes ๐
๐๐: Don't forget to checkout pinned comment ๐
Tags:
#arrays #matrix #dsa #algorithms #dsacoding #coding
#articles #loadbalancers #systemdesign #fang #mang #datastructuresandalgorithms #datastructures #algorithms #arrays #notes #interview #share #help #jobs #placement #college #softwareengineers #design
This is another important question that had been asked in all the company's interviews including:
#google #meta #amazon #microsoft.
In this article I have covered the following things:
โ๏ธ Problem statements.
โ๏ธ Discuss all the approaches.
โ๏ธ Very neat & clean dry run with proper diagrams.
โ๏ธ Clean & smooth code of each approaches.
I hope you'll like it. If you have any doubts or want to talk about this, please feel free to comment.
I have spent hours of my time preparing this one and I want to help as many people as I can. so kindly so show your support by sharing this with your connections.
Stay tuned for much more upcoming notes ๐
๐๐: Don't forget to checkout pinned comment ๐
Tags:
#arrays #matrix #dsa #algorithms #dsacoding #coding
#articles #loadbalancers #systemdesign #fang #mang #datastructuresandalgorithms #datastructures #algorithms #arrays #notes #interview #share #help #jobs #placement #college #softwareengineers #design
๐๐ผ๐บ๐ฝ๐น๐ฒ๐๐ฒ ๐ก๐ผ๐๐ฒ๐ ๐ข๐ป ๐ฅ๐๐ฆ๐ง ๐๐ฃ๐ ๐ณ๐ผ๐ฟ ๐๐ป๐๐ฒ๐ฟ๐๐ถ๐ฒ๐ ๐ฃ๐ฟ๐ฒ๐ฝ๐ฎ๐ฟ๐ฎ๐๐ถ๐ผ๐ป.
๐๐ก๐ฒ ๐๐๐๐ ๐๐๐ ๐ข๐ฌ ๐๐ฆ๐ฉ๐จ๐ซ๐ญ๐๐ง๐ญ ๐ญ๐จ ๐๐๐๐ซ๐ง?
๐ ๐๐๐, ๐๐ฃ๐๐ฅ๐ค๐๐ฃ๐ฉ๐จ, ๐๐ค๐จ๐ฉ๐ข๐๐ฃ, ๐พ๐๐๐ฟ, ๐พ๐ช๐ง๐ก, ๐๐๐๐, ๐๐ฉ๐๐ฉ๐ช๐จ ๐พ๐ค๐๐, ๐๐๐ฆ๐ช๐๐จ๐ฉ, ๐๐๐จ๐ฅ๐ค๐ฃ๐จ๐, ๐ผ๐ช๐ฉ๐๐๐ฃ๐ฉ๐๐๐๐ฉ๐๐ค๐ฃ, or something elseโฆ
If youโre familiar with the above word then surely you might have worked on some kinds of APIs (especially those who are experienced developers) in your backend application. Maybe a payment gateway API, Google Maps API, Sending an Email APIs, or any other kind of APIs depending on the type of application and the requirements.
The most popular and common thing you will hear while working on API isโฆ
๐ฅ๐๐ฆ๐ง ๐๐ฃ๐โฆ
What it is? Why is it being used? Why it is the first priority of programmers when it comes to implementing an API? Many questions will pop up in your mind when you will start working on REST API.
So here you will get all the answers.
https://www.linkedin.com/in/aman-raj-6168b616a
#restapi #frontend #backenddeveloper #json #postman #crud #statuscode #databases #sql #nosql #dsa #interviewpreparation #interview #jobs #nodejs #reactjs #python #javascript #java #webdevelopment #developer #softwareengineer #itservices #services #fullstackdeveloper #aws #cloud #authentication #linkedin #content #google #email
๐๐ก๐ฒ ๐๐๐๐ ๐๐๐ ๐ข๐ฌ ๐๐ฆ๐ฉ๐จ๐ซ๐ญ๐๐ง๐ญ ๐ญ๐จ ๐๐๐๐ซ๐ง?
๐ ๐๐๐, ๐๐ฃ๐๐ฅ๐ค๐๐ฃ๐ฉ๐จ, ๐๐ค๐จ๐ฉ๐ข๐๐ฃ, ๐พ๐๐๐ฟ, ๐พ๐ช๐ง๐ก, ๐๐๐๐, ๐๐ฉ๐๐ฉ๐ช๐จ ๐พ๐ค๐๐, ๐๐๐ฆ๐ช๐๐จ๐ฉ, ๐๐๐จ๐ฅ๐ค๐ฃ๐จ๐, ๐ผ๐ช๐ฉ๐๐๐ฃ๐ฉ๐๐๐๐ฉ๐๐ค๐ฃ, or something elseโฆ
If youโre familiar with the above word then surely you might have worked on some kinds of APIs (especially those who are experienced developers) in your backend application. Maybe a payment gateway API, Google Maps API, Sending an Email APIs, or any other kind of APIs depending on the type of application and the requirements.
The most popular and common thing you will hear while working on API isโฆ
๐ฅ๐๐ฆ๐ง ๐๐ฃ๐โฆ
What it is? Why is it being used? Why it is the first priority of programmers when it comes to implementing an API? Many questions will pop up in your mind when you will start working on REST API.
So here you will get all the answers.
https://www.linkedin.com/in/aman-raj-6168b616a
#restapi #frontend #backenddeveloper #json #postman #crud #statuscode #databases #sql #nosql #dsa #interviewpreparation #interview #jobs #nodejs #reactjs #python #javascript #java #webdevelopment #developer #softwareengineer #itservices #services #fullstackdeveloper #aws #cloud #authentication #linkedin #content #google #email
Amazon || ๐๐๐๐ซ๐ฎ๐ข๐ญ๐ฆ๐๐ง๐ญ ๐๐ซ๐จ๐๐๐ฌ๐ฌ ๐
๐จ๐ซ ๐๐๐ 1๐คฉ
๐ด๐๐๐ ๐บ๐๐๐ ๐๐๐ ๐บ๐๐๐๐ !!!!
It's every engineer's dream to get into top product-based companies, some of us called them FAANG or MAANG. Here I am sharing the journey you will go through the interview process from Amazon.
๐๐๐ ๐๐ซ๐๐๐ค๐๐จ๐ฐ๐ง (Source : Internet) :
Base Salary : 19LPA
Bonus : 6.5 LPA(Y1) + 5 LPA (Y2)
RSU : 15.5 LPA
Total Compensation : 46 LPA ๐คฉ
๐๐๐๐ซ๐ฎ๐ข๐ญ๐ฆ๐๐ง๐ญ ๐๐ซ๐จ๐๐๐ฌ๐ฌ:
Amazon conducts 4 rounds to select freshers as SDE (SDE-1) in their organization off campus. The following rounds are conducted:
- Online Coding Round
- 2 Technical Rounds
- Bar Raiser round
๐๐ง๐ฅ๐ข๐ง๐ ๐๐จ๐๐ข๐ง๐ ๐๐จ๐ฎ๐ง๐:
This round is hosted online and the candidates are presented with 2 coding questions, the questions are of intermediate difficulty, mainly from Arrays, strings, and matrices.
To clear this round, one should have a strong understanding of these data structures.
Time given is 70 minutes.
๐๐๐๐ก๐ง๐ข๐๐๐ฅ ๐๐จ๐ฎ๐ง๐ 1:
Technical rounds are face-to-face algorithmic rounds in which candidates are presented with 2-4 questions, all from data structures. The most commonly asked DSs are the matrix, binary tree, BST, and Linked list.
๐๐๐๐ก๐ง๐ข๐๐๐ฅ ๐๐จ๐ฎ๐ง๐ 2:
The same as the previous round, however, the difficulty is increased and more questions from Trees, BST, and Tries are asked. One should have a clear knowledge of tree-based recursion, and the standard questions based on it are a must.
๐๐๐ซ ๐๐๐ข๐ฌ๐๐ซ ๐๐จ๐ฎ๐ง๐:
Amazon has 16 leadership principles and questions are asked on those, and generally, these questions are asked in all the interview round and especially in Bar raiser round along with 1-2 DSA problems.
๐๐ฆ๐ฉ๐จ๐ซ๐ญ๐๐ง๐ญ ๐๐จ๐ข๐ง๐ญ๐ฌ ๐ญ๐จ ๐ซ๐๐ฆ๐๐ฆ๐๐๐ซ :
- Never postpone your interview(That might lead to many gaps in dates because multiple candidates are giving interviews.)
- Take the Bar Raiser round seriously(Always prepare for leadership principle questions, It is the most important round of the process.)
- Always focus on concepts(Never mug up the questions, always try to understand the questions.)
- Be confident about your answers(Never doubt yourself in the interview.)
- Always try explaining your approach before coding(It would be a better practice if you give a brute force approach.)
- Have a good understanding of time complexity(I was also asked TC of every question.)
Follow for more.
Happy Learning !!
Tags -
#interviews #leetcode #questions #array #sorting #queue #loop #tree #graphs #amazon #sde #interviewpreparation #coding #computerscience #softwareengineer #workforwin #intern #internship #amazonindia #learning #softwaredevelopement #opportunity #dsa #faang #interview #amazonian
๐ด๐๐๐ ๐บ๐๐๐ ๐๐๐ ๐บ๐๐๐๐ !!!!
It's every engineer's dream to get into top product-based companies, some of us called them FAANG or MAANG. Here I am sharing the journey you will go through the interview process from Amazon.
๐๐๐ ๐๐ซ๐๐๐ค๐๐จ๐ฐ๐ง (Source : Internet) :
Base Salary : 19LPA
Bonus : 6.5 LPA(Y1) + 5 LPA (Y2)
RSU : 15.5 LPA
Total Compensation : 46 LPA ๐คฉ
๐๐๐๐ซ๐ฎ๐ข๐ญ๐ฆ๐๐ง๐ญ ๐๐ซ๐จ๐๐๐ฌ๐ฌ:
Amazon conducts 4 rounds to select freshers as SDE (SDE-1) in their organization off campus. The following rounds are conducted:
- Online Coding Round
- 2 Technical Rounds
- Bar Raiser round
๐๐ง๐ฅ๐ข๐ง๐ ๐๐จ๐๐ข๐ง๐ ๐๐จ๐ฎ๐ง๐:
This round is hosted online and the candidates are presented with 2 coding questions, the questions are of intermediate difficulty, mainly from Arrays, strings, and matrices.
To clear this round, one should have a strong understanding of these data structures.
Time given is 70 minutes.
๐๐๐๐ก๐ง๐ข๐๐๐ฅ ๐๐จ๐ฎ๐ง๐ 1:
Technical rounds are face-to-face algorithmic rounds in which candidates are presented with 2-4 questions, all from data structures. The most commonly asked DSs are the matrix, binary tree, BST, and Linked list.
๐๐๐๐ก๐ง๐ข๐๐๐ฅ ๐๐จ๐ฎ๐ง๐ 2:
The same as the previous round, however, the difficulty is increased and more questions from Trees, BST, and Tries are asked. One should have a clear knowledge of tree-based recursion, and the standard questions based on it are a must.
๐๐๐ซ ๐๐๐ข๐ฌ๐๐ซ ๐๐จ๐ฎ๐ง๐:
Amazon has 16 leadership principles and questions are asked on those, and generally, these questions are asked in all the interview round and especially in Bar raiser round along with 1-2 DSA problems.
๐๐ฆ๐ฉ๐จ๐ซ๐ญ๐๐ง๐ญ ๐๐จ๐ข๐ง๐ญ๐ฌ ๐ญ๐จ ๐ซ๐๐ฆ๐๐ฆ๐๐๐ซ :
- Never postpone your interview(That might lead to many gaps in dates because multiple candidates are giving interviews.)
- Take the Bar Raiser round seriously(Always prepare for leadership principle questions, It is the most important round of the process.)
- Always focus on concepts(Never mug up the questions, always try to understand the questions.)
- Be confident about your answers(Never doubt yourself in the interview.)
- Always try explaining your approach before coding(It would be a better practice if you give a brute force approach.)
- Have a good understanding of time complexity(I was also asked TC of every question.)
Follow for more.
Happy Learning !!
Tags -
#interviews #leetcode #questions #array #sorting #queue #loop #tree #graphs #amazon #sde #interviewpreparation #coding #computerscience #softwareengineer #workforwin #intern #internship #amazonindia #learning #softwaredevelopement #opportunity #dsa #faang #interview #amazonian
๐1
Instead of learning solutions of LeetCode questions, understand patterns! ๐
๐ด๐๐๐ ๐บ๐๐๐ ๐๐๐ ๐บ๐๐๐๐ !!!!
For ex.
If input array is sorted then
- Binary search
- Two pointers
If asked for all permutations/subsets then
- Backtracking
If given a tree then
- DFS
- BFS
If given a graph then
- DFS
- BFS
If given a linked list then
- Two pointers
If recursion is banned then
- Stack
If must solve in-place then
- Swap corresponding values
- Store one or more different values in the same pointer
If asked for maximum/minimum subarray/subset/options then
- Dynamic programming
If asked for top/least K items then
- Heap
If asked for common strings then
- Map
- Trie
Else
- Map/Set for O(1) time & O(n) space
- Sort input for O(nlogn) time and O(1) space
Link : https://t.me/teamJavaHyd๐๐๐
Check out a GitHub repo by Sean Prasad if you're interested to read more about this, it's absolutely amazing!
#leetcode #placements #dsa #interview #coding #preparation #consistency #quality #programming #softwareengineering #india #competitiveprogramming #datastructures #algorithms #connections #interviewpreparation
๐ด๐๐๐ ๐บ๐๐๐ ๐๐๐ ๐บ๐๐๐๐ !!!!
For ex.
If input array is sorted then
- Binary search
- Two pointers
If asked for all permutations/subsets then
- Backtracking
If given a tree then
- DFS
- BFS
If given a graph then
- DFS
- BFS
If given a linked list then
- Two pointers
If recursion is banned then
- Stack
If must solve in-place then
- Swap corresponding values
- Store one or more different values in the same pointer
If asked for maximum/minimum subarray/subset/options then
- Dynamic programming
If asked for top/least K items then
- Heap
If asked for common strings then
- Map
- Trie
Else
- Map/Set for O(1) time & O(n) space
- Sort input for O(nlogn) time and O(1) space
Link : https://t.me/teamJavaHyd๐๐๐
Check out a GitHub repo by Sean Prasad if you're interested to read more about this, it's absolutely amazing!
#leetcode #placements #dsa #interview #coding #preparation #consistency #quality #programming #softwareengineering #india #competitiveprogramming #datastructures #algorithms #connections #interviewpreparation