Java Hyd Team
746 subscribers
986 photos
39 videos
670 files
690 links
https://teamhydteam.my.canva.site/

Can visit us on our website ๐Ÿ˜Š
Still working on it ๐Ÿ˜Š
Download Telegram
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
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
๐Ÿ‘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
๐Ÿ”ฅ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
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
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
๐—–๐—ผ๐—บ๐—ฝ๐—น๐—ฒ๐˜๐—ฒ ๐—ก๐—ผ๐˜๐—ฒ๐˜€ ๐—ข๐—ป ๐—ฅ๐—˜๐—ฆ๐—ง ๐—”๐—ฃ๐—œ ๐—ณ๐—ผ๐—ฟ ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„ ๐—ฃ๐—ฟ๐—ฒ๐—ฝ๐—ฎ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป.

๐–๐ก๐ฒ ๐‘๐„๐’๐“ ๐€๐๐ˆ ๐ข๐ฌ ๐ˆ๐ฆ๐ฉ๐จ๐ซ๐ญ๐š๐ง๐ญ ๐ญ๐จ ๐‹๐ž๐š๐ซ๐ง?

๐™…๐™Ž๐™Š๐™‰, ๐™€๐™ฃ๐™™๐™ฅ๐™ค๐™ž๐™ฃ๐™ฉ๐™จ, ๐™‹๐™ค๐™จ๐™ฉ๐™ข๐™–๐™ฃ, ๐˜พ๐™๐™๐˜ฟ, ๐˜พ๐™ช๐™ง๐™ก, ๐™ƒ๐™๐™๐™‹, ๐™Ž๐™ฉ๐™–๐™ฉ๐™ช๐™จ ๐˜พ๐™ค๐™™๐™š, ๐™๐™š๐™ฆ๐™ช๐™š๐™จ๐™ฉ, ๐™๐™š๐™จ๐™ฅ๐™ค๐™ฃ๐™จ๐™š, ๐˜ผ๐™ช๐™ฉ๐™๐™š๐™ฃ๐™ฉ๐™ž๐™˜๐™–๐™ฉ๐™ž๐™ค๐™ฃ, 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
๐Ÿ‘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