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
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
5 ๐Ÿ๐ซ๐ž๐ž ๐œ๐จ๐ฎ๐ซ๐ฌ๐ž๐ฌ ๐ญ๐ก๐š๐ญโ€™๐ฅ๐ฅ ๐ก๐ž๐ฅ๐ฉ ๐ฅ๐ž๐š๐ซ๐ง #javascript 10๐ฑ ๐›๐ž๐ญ๐ญ๐ž๐ซ ๐ญ๐ก๐š๐ง ๐ญ๐ก๐ž ๐๐š๐ข๐ ๐จ๐ง๐ž๐ฌ๐Ÿคฉ

๐‘ด๐’–๐’”๐’• ๐‘บ๐’‚๐’—๐’† ๐’‚๐’๐’… ๐‘บ๐’‰๐’‚๐’“๐’† !!!!


1) ๐‹๐ž๐š๐ซ๐ง ๐‰๐š๐ฏ๐š๐’๐œ๐ซ๐ข๐ฉ๐ญ ๐›๐ฒ ๐’๐œ๐ซ๐ข๐ฆ๐›๐š

๐Ÿ‘‰ This is perhaps the most interactive JavaScript course ever recorded.
It contains 140+ coding challenges, meaning that you will finally build that ever-so-important JavaScript muscle memory.

๐Ÿ”— https://lnkd.in/gkUvjJXC



2) ๐‰๐š๐ฏ๐š๐’๐œ๐ซ๐ข๐ฉ๐ญ ๐“๐ฎ๐ญ๐จ๐ซ๐ข๐š๐ฅ ๐Ÿ๐จ๐ซ ๐๐ž๐ ๐ข๐ง๐ง๐ž๐ซ๐ฌ - ๐…๐ฎ๐ฅ๐ฅ ๐‚๐จ๐ฎ๐ซ๐ฌ๐ž ๐ข๐ง 12 ๐‡๐จ๐ฎ๐ซ๐ฌ (2022)

๐Ÿ‘‰ Best Free JavaScript Programming Course by Clever programmer

๐Ÿ”— https://lnkd.in/gR-Ki4Uk



3) ๐๐„๐’๐“ ๐‰๐š๐ฏ๐š๐’๐œ๐ซ๐ข๐ฉ๐ญ ๐“๐ฎ๐ญ๐จ๐ซ๐ข๐š๐ฅ ๐Ÿ๐จ๐ซ ๐๐ž๐ ๐ข๐ง๐ง๐ž๐ซ๐ฌ ๐Ÿ๐จ๐ซ ๐†๐ž๐ญ๐ญ๐ข๐ง๐  ๐š ๐‰๐จ๐› (๐‡๐ข๐ ๐ก ๐๐ฎ๐š๐ฅ๐ข๐ญ๐ฒ, ๐๐ซ๐จ๐ฃ๐ž๐œ๐ญ ๐๐š๐ฌ๐ž๐ ๐‚๐จ๐ฎ๐ซ๐ฌ๐ž)

๐Ÿ‘‰ Build a full app in this JavaScript tutorial, designed to help new programmers get into the tech industry. Exercises, code, cheatsheet.

๐Ÿ”— https://lnkd.in/gVXqp2ZY



4) ๐‰๐š๐ฏ๐š๐’๐œ๐ซ๐ข๐ฉ๐ญ ๐…๐ฎ๐ฅ๐ฅ ๐‚๐จ๐ฎ๐ซ๐ฌ๐ž 2022 ๐›๐ฒ ๐’๐ข๐ฆ๐ฉ๐ฅ๐ข๐ฅ๐ž๐š๐ซ๐ง

๐Ÿ‘‰ This javascript tutorial for beginners focuses and major fundamentals to help you secure the right skills, tips, and tricks to be industry-ready according to the current IT standards.

๐Ÿ”— https://lnkd.in/gVnc9fvn


5) JavaScript Crash Course by Codevolution

๐Ÿ‘‰ This course will teach JavaScript from the bottom to the top.
Itโ€™s a gem!

๐Ÿ”— https://lnkd.in/gcPNGJGD

for more such content.

#learningeveryday #javascriptdeveloper #javascript #frontend #react #developer #programming #learning #softwareengineering #coding #tech #engineering #engineer
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
REST APIs: The foundation of modern web development

As a software engineer, I have always been passionate about sharing my knowledge and helping others to understand complex technical concepts. That's why I was so excited to create this small presentation on REST API.

For those who may not know, a REST API (which stands for Representational State Transfer API) is a way for different software systems to communicate with each other through the internet.

It's a crucial component of modern software development, and something that every aspiring developer should understand.

Imagine you're trying to book a flight online. When you search for flights and enter your preferences, the website sends a request to the airline's computer system to find available flights that match your criteria. The airline's system then sends a response back to the website with the available flights, and you can choose one to book. This interaction between the website and the airline's system is made possible through a REST API.

There are five main methods used in a REST API:

GET - retrieves a specific resource or collection of resources
POST - creates a new resource
PUT - updates an existing resource
DELETE - removes a specific resource
PATCH - partially updates an existing resource

The response from a REST API can either be a success or an error. A success response typically includes the requested information or a message confirming that the requested action was completed. An error response includes a message explaining why the request could not be completed.

Overall, a REST API is a crucial tool for allowing different software systems to communicate with each other and exchange information seamlessly.

If you're working with software systems or just want to understand how different websites and apps work together, it's important to understand the basics of REST APIs.

I know firsthand how confusing and overwhelming it can be to learn about new technologies, especially when you're just starting out in the field. That's why I wanted to create this presentation - to provide a clear, concise, and easy-to-understand explanation of what a REST API is and how it works.

I hope that this presentation will be helpful to those who are new to software development, or who are simply looking to learn more about APIs. And I plan to keep creating more such documents in the future, so that all the needy and new enthusiasts out there can benefit from my knowledge and experience.

So if you're interested in learning more about APIs, or if you have any questions or feedback about this presentation, please don't hesitate to reach out. I'm always happy to help, and I'm committed to doing my part to make the world of software development more accessible and understandable to everyone.

๐Ÿ“Œ If you like my posts, please follow https://www.linkedin.com/in/aman-raj-6168b616a ๐Ÿ‡บ๐Ÿ‡ธ ๐ŸŒ๐ŸŒ and hit the ๐Ÿ”” on my profile to get a notification for all my new posts.

#programming #coding #softwareengineering
One Diagram to Remember for C๐—ผ๐—ฑ๐—ฒ R๐—ฒ๐˜ƒ๐—ถ๐—ฒ๐˜„๐˜€



An essential step in the software development lifecycle is code review. Code reviews are powerful means to improve code quality, establish best practices, opportunity to learn, and knowledge sharing and mentoring, as well as promotes team cohesion.


What to look for in a code review? Try to look for things such as ๐—ฑ๐—ฒ๐˜€๐—ถ๐—ด๐—ป (does this integrate well with the rest of the system and are interactions of different components make sense), ๐—ณ๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น๐—ถ๐˜๐˜† (does this change is what the developer intended), ๐—ฐ๐—ผ๐—บ๐—ฝ๐—น๐—ฒ๐˜…๐—ถ๐˜๐˜† (is this code more complex than it should be), ๐—ป๐—ฎ๐—บ๐—ถ๐—ป๐—ด (is naming good?), ๐—ฒ๐—ป๐—ด. ๐—ฝ๐—ฟ๐—ถ๐—ป๐—ฐ๐—ถ๐—ฝ๐—น๐—ฒ๐˜€ (solid, kiss, dry), ๐˜๐—ฒ๐˜€๐˜๐˜€ (are different kinds of tests used appropriately, code coverage), ๐˜€๐˜๐˜†๐—น๐—ฒ (does it follow style guidelines), ๐—ฑ๐—ผ๐—ฐ๐˜‚๐—บ๐—ฒ๐—ป๐˜๐—ฎ๐˜๐—ถ๐—ผ๐—ป, etc.

Code review is a conversation, not a queue of commands.

Code review checklist

A checklist helps you to create a structured approach to code reviews. Also, they remind you of all the quality checks you need to perform to approve code into the codebase.



๐Ÿญ. ๐—ง๐—ฟ๐˜† ๐˜๐—ผ ๐—ฟ๐—ฒ๐˜ƒ๐—ถ๐—ฒ๐˜„ ๐˜†๐—ผ๐˜‚๐—ฟ ๐—ผ๐˜„๐—ป ๐—ฐ๐—ผ๐—ฑ๐—ฒ ๐—ณ๐—ถ๐—ฟ๐˜€๐˜

Before sending a code to your colleagues, try to read and understand it first. Then, search for parts that confuse you.

๐Ÿฎ. ๐—ช๐—ฟ๐—ถ๐˜๐—ฒ ๐—ฎ ๐˜€๐—ต๐—ผ๐—ฟ๐˜ ๐—ฑ๐—ฒ๐˜€๐—ฐ๐—ฟ๐—ถ๐—ฝ๐˜๐—ถ๐—ผ๐—ป ๐—ผ๐—ณ ๐˜„๐—ต๐—ฎ๐˜ ๐—ถ๐˜€ ๐—ฐ๐—ต๐—ฎ๐—ป๐—ด๐—ฒ๐—ฑ

It should explain what changes were at a high level and why those changes were made.

๐Ÿฏ. ๐—”๐˜‚๐˜๐—ผ๐—บ๐—ฎ๐˜๐—ฒ ๐˜„๐—ต๐—ฎ๐˜ ๐—ฐ๐—ฎ๐—ป ๐—ฏ๐—ฒ ๐—ฎ๐˜‚๐˜๐—ผ๐—บ๐—ฎ๐˜๐—ฒ๐—ฑ

Leave to the system everything that can be automated,
PMD, FindBugs, and Checkstyle are the most popular open-source code analyzers,
Jenkins for CI-CD some code smells and bugs (SonarQube).

๐Ÿฐ. ๐——๐—ผ๐—ป'๐˜ ๐—ฟ๐˜‚๐˜€๐—ต

You need to understand what is changed in every line of it. Read multiple times if required, class by class.

๐Ÿฑ. ๐—–๐—ผ๐—บ๐—บ๐—ฒ๐—ป๐˜ ๐˜„๐—ถ๐˜๐—ต ๐—ธ๐—ถ๐—ป๐—ฑ๐—ป๐—ฒ๐˜€๐˜€

Never mention the person (you), always focus on changes as questions or suggestions and leave at least one positive comment. Explain the "why" in your comments and suggestions for improving it.

๐Ÿฒ. ๐—”๐—ฝ๐—ฝ๐—ฟ๐—ผ๐˜ƒ๐—ฒ ๐—ฃ๐—ฅ ๐˜„๐—ต๐—ฒ๐—ป ๐—ถ๐˜๐˜€ ๐—ด๐—ผ๐—ผ๐—ฑ ๐—ฒ๐—ป๐—ผ๐˜‚๐—ด๐—ต

Don't strive for perfection, but hold to high standards. Don't be a nitpicker.

๐Ÿณ. ๐— ๐—ฎ๐—ธ๐—ฒ ๐—ฟ๐—ฒ๐˜ƒ๐—ถ๐—ฒ๐˜„๐˜€ ๐—บ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฒ๐—ฎ๐—ฏ๐—น๐—ฒ ๐—ถ๐—ป ๐˜€๐—ถ๐˜‡๐—ฒ

We should limit the number of lines of code for review in one sitting. Our brains cannot process so much information at once. The ideal number of LOC is 200 to 400 lines of the core at one time, which is usually 60 to 90 minutes.

8) Review logic, not semicolons

Automation reduces the needless checks and let's you focus on the logic behind the changes rather than syntax errors and typos.


What is your code review process? What works for you, and what does not?

Image credit (Code Review Pyramid): Gunnar Morling

#softwareengineering #programming #systemdesign #developers #bestpractice #coders #software #review #codereview
Stay ahead of the curve in 2023 by learning GraphQL: the modern, flexible alternative to REST APIs.

As we gear up for another new year, I wanted to share some thoughts on a topic that I think will be crucial for developers in 2023: GraphQL.

If you're not already familiar with GraphQL, it's a query language for your API that allows clients to request exactly the data they need, and nothing more. This means that you can get all the data you need in a single request, rather than having to make multiple API calls to get all the data you need.

But why is this important? Well, for one thing, GraphQL can help improve the performance of your applications. With REST APIs, you often have to make multiple API calls to get all the data you need, which can be slow and resource-intensive.

With GraphQL, you can get all the data you need in a single request, which can greatly improve the performance of your application.

Another reason to learn GraphQL is that it can help improve the flexibility of your API. With REST APIs, you often have to design your API around the needs of your clients. This can be a problem if your clients have very different data needs, as you may have to design multiple endpoints to accommodate them all.

With GraphQL, clients can request exactly the data they need, which makes it much easier to design a flexible API that can accommodate a wide range of client needs.

So if you're a developer looking to stay on top of the latest trends in the field, learning GraphQL is definitely worth considering in 2023.

And if you're not familiar with the difference between REST APIs and GraphQL, the attached illustration should help demystify things for you.

Wishing you a very successful year ahead!

I hope this helps! Let me know if you have any questions or need further clarification.

๐Ÿ“Œ If you like my posts, please follow https://www.linkedin.com/in/aman-raj-6168b616a ๐Ÿ‡บ๐Ÿ‡ธ ๐ŸŒ๐ŸŒ and hit the ๐Ÿ”” on my profile to get a notification for all my new posts.
#programming #coding #softwareengineering #api #graphql #developer
๐—ช๐—ต๐—ฎ๐˜ ๐—ถ๐˜€ ๐—–๐—ฟ๐—ผ๐˜€๐˜€-๐—ข๐—ฟ๐—ถ๐—ด๐—ถ๐—ป ๐—ฅ๐—ฒ๐˜€๐—ผ๐˜‚๐—ฟ๐—ฐ๐—ฒ ๐—ฆ๐—ต๐—ฎ๐—ฟ๐—ถ๐—ป๐—ด (๐—–๐—ข๐—ฅ๐—ฆ)?

Browsers use CORS, a method, to prevent websites from requesting data from different URLs. A request from a browser includes an origin header in the request message. The browser allows it if it gets to the server of the exact origin; if not, the browser blocks it.

We can deal with CORS issues on the backend. Cross-origin requests require that the values for origin and ๐—”๐—ฐ๐—ฐ๐—ฒ๐˜€๐˜€-๐—–๐—ผ๐—ป๐˜๐—ฟ๐—ผ๐—น-๐—”๐—น๐—น๐—ผ๐˜„-๐—ข๐—ฟ๐—ถ๐—ด๐—ถ๐—ป in the response headers match and it is set by the server. When you add an origin to the backend code, the CORS middleware only permits this URL to communicate with other origins and utilize it for cross-origin resource requests.

There are two ways to fix CORS issues:

๐Ÿญ. ๐—–๐—ผ๐—ป๐—ณ๐—ถ๐—ด๐˜‚๐—ฟ๐—ฒ ๐˜๐—ต๐—ฒ ๐—•๐—ฎ๐—ฐ๐—ธ๐—ฒ๐—ป๐—ฑ ๐˜๐—ผ ๐—”๐—น๐—น๐—ผ๐˜„ ๐—–๐—ข๐—ฅ๐—ฆ

Server can let all domains with ๐—”๐—ฐ๐—ฐ๐—ฒ๐˜€๐˜€-๐—–๐—ผ๐—ป๐˜๐—ฟ๐—ผ๐—น-๐—”๐—น๐—น๐—ผ๐˜„-๐—ข๐—ฟ๐—ถ๐—ด๐—ถ๐—ป: *. This actually turns off same-origin policy, which is not recommended. Another option would be only to allow particular domain, which is better option, e.g., ๐—”๐—ฐ๐—ฐ๐—ฒ๐˜€๐˜€-๐—–๐—ผ๐—ป๐˜๐—ฟ๐—ผ๐—น-๐—”๐—น๐—น๐—ผ๐˜„-๐—ข๐—ฟ๐—ถ๐—ด๐—ถ๐—ป: ๐—ต๐˜๐˜๐—ฝ๐˜€://๐˜€๐—ผ๐—บ๐—ฒ๐—ฑ๐—ผ๐—บ๐—ฎ๐—ถ๐—ป.๐—ฐ๐—ผ๐—บ.

๐Ÿฎ. ๐—จ๐˜€๐—ฒ ๐—ฎ ๐—ฃ๐—ฟ๐—ผ๐˜…๐˜† ๐—ฆ๐—ฒ๐—ฟ๐˜ƒ๐—ฒ๐—ฟ

We can use a proxy server to call external API. It acts as a middleware between client and the server. If server doesn't return proper headers defined by CORS, we can add then in the proxy.



#softwareengineering #programming #api #apidesign 
๐Ÿš€ Empower your career with data engineering skills and secure your dream job in this growing fieldโš™๏ธ

โœ”๏ธ After receiving a lot of queries, I've made some revisions to my original suggestion and I highly recommend following this exact sequence. Trust me, it will make things much easier for you.

โ™ป๏ธ It's easy to get lost in the vast amount of information available when it comes to learning new skills, especially in the field of data engineering.

๐Ÿ”— However, with a solid roadmap and some dedication, it is possible to enter the field of data engineering in 2023.

Here are some steps you can follow to make sure you're on the right track -

๐Ÿ”ถ Learn RDBMS, NoSQL databases, SQL, and data warehousing concepts :

As a data engineer, you'll be working with large amounts of data stored in databases. Familiarize yourself with different types of databases and how to query them using SQL. Learn one RDBMS and one NoSQL database, then familiarize yourself with data warehousing concepts.

1. Learn Data Warehousing concepts - https://lnkd.in/eKnVbFAB
2. Learn MySql - https://lnkd.in/efk-Mi3c
3. Learn and practice SQL - https://lnkd.in/efMKFkfX
4. Learn Azure Cosmos DB - https://lnkd.in/eNVyc6Mq
   
๐Ÿ”ถ Learn Python and PySpark :

These are essential tools for data engineers.

1. Python: https://lnkd.in/e5rCbvP8
2. PySpark : https://bit.ly/3Vu34Ev

๐Ÿ”ถ Learn Bash, Airflow and Kafka :

These tools will help you automate and streamline data processing tasks. You will also lear how to create data pipelines.๐Ÿ”ฉ

https://lnkd.in/eyN6u2yd

๐Ÿ”ถ Learn Git and the basics of CICD :

These skills will help you work collaboratively on data engineering projects and ensure smooth deployment.

Git - https://lnkd.in/eX_Q8s99
Basics of CICD - https://lnkd.in/epKGivFY

๐Ÿ”ถ Learn Azure Databricks and Data Lakes :

Azure Databricks - https://lnkd.in/eBij4akJ
Learn Data Lakes - https://lnkd.in/eQ9xxAJT

๐Ÿ‘‰ Create a standout resume by showcasing your skills and experience in data engineering.

๐Ÿ‘‰ Enhance your portfolio by completing various data engineering projects and sharing them on GitHub.

๐Ÿ‘‰ Seek out opportunities in data engineering by applying to relevant positions

Optional Learning -

1. Learn Data Structure and Algorithms
2. Learn AWS or Azure services dedicated for data engineering works.
   
By following these steps and dedicating yourself to learning and gaining experience, you can become a data engineer in 2023. Good luck on your journey!

I have created a Telegram channel for sharing knowledge and have included the link in the comments section.

๐Ÿ“Œ If you like my posts, please follow https://www.linkedin.com/groups/14161672 ๐Ÿ‡บ๐Ÿ‡ธ ๐ŸŒ๐ŸŒ and hit the ๐Ÿ”” on my profile to get a notification for all my new posts.

๏ปฟ#dataengineering #nosql #hadoop #datastructures #sql #algorithms #bigdata #business #python #data #programming #mysql #database #aws #spark #github #azure #job #career #learning #opportunities #experience #resume #engineer #warehousing
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