Adarsh Chetan Profile picture
May 21 โ€ข 13 tweets โ€ข 3 min read Twitter logo Read on Twitter
๐Ÿญ๐Ÿฌ ๐—š๐—ผ๐—น๐—ฑ๐—ฒ๐—ป ๐—ฅ๐˜‚๐—น๐—ฒ๐˜€ ๐—ณ๐—ผ๐—ฟ ๐—ฆ๐—ผ๐—น๐˜ƒ๐—ถ๐—ป๐—ด ๐—ฎ ๐—–๐—ผ๐—ฑ๐—ถ๐—ป๐—ด ๐—ค๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป ๐—ถ๐—ป ๐—ฎ๐—ป Interview โค๏ธ

A Thread ๐Ÿงต
โ™ฆ๏ธ If we are dealing with top/maximum/minimum/closest โ€˜K' elements among 'N' elements, we will be using a Heap.
โ™ฆ๏ธ If the given input is a sorted array or a list, we will either be using Binray Search or the Two Pointers.
โ™ฆ๏ธ If we need to try all combinations (or permutations) of the input, we can either use Backtracking or Breadth First Search.
โ™ฆ๏ธ Most of the questions related to Trees or Graphs can be solved either through Breadth First Search or Depth First Search.
โ™ฆ๏ธ Every recursive solution can be converted to an iterative solution using a Stack.
โ™ฆ๏ธ For a problem involving arrays, if there exists a solution in O(n^2)time and O(1) space, there must exist two other solutions: 1) Using a HashMap or a Set for O(n) time and O(n) space, 2) Using sorting for O(n log n) time and O(1) space.
โ™ฆ๏ธ If a problem is asking for optimization (e.g., maximization or minimization), we will be using Dynamic Programming.
โ™ฆ๏ธ If we need to find some common substring among a set of strings, we will be using a HashMap or a Trie.
โ™ฆ๏ธ If we need to search/manipulate a bunch of strings, Trie will be the best data structure.
โ™ฆ๏ธ If the problem is related to a LinkedList and we can't use extra space, then use the Fast & Slow Pointer approach.
๐‰๐จ๐ข๐ง ๐ญ๐ก๐ข๐ฌ ๐ญ๐ž๐ฅ๐ž๐ ๐ซ๐š๐ฆ ๐ ๐ซ๐จ๐ฎ๐ฉ ๐Ÿ๐จ๐ซ ๐ฉ๐ซ๐ž๐ฆ๐ข๐ฎ๐ฆ ๐‰๐จ๐›๐ฌ/Notes:t.me/AdarshChetan

Source : linkedin.com/posts/activityโ€ฆ
That's a wrap-up for this one ๐ŸŽ

If you liked this thread :

๐Ÿ” Retweet the first tweet

Do Follow @AdarshChetan for more such amazing stuff โค๏ธ

#coder #SoftwareEngineer #adarshchetan

โ€ข โ€ข โ€ข

Missing some Tweet in this thread? You can try to force a refresh
ใ€€

Keep Current with Adarsh Chetan

Adarsh Chetan Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @AdarshChetan

May 22
TOP Websites to find Jobs/ Remote jobs kindly save it & share it ๐Ÿ™Œ๐Ÿ’ฏ

A thread ๐Ÿงต Image
Workew: workew.com
Pangian: pangian.com
Remotees: remotees.com
EuropeRemotely: europeremotely.com
We Love Work: weloveworkers.io
Read 16 tweets
May 22
10 Best Data Structure & Algorithms Courses to Crack Coding Interviews in 2023.

Are you preparing for Coding interviews in 2023? Here are the 10 Awesome online courses to crack your coding interviews.

A Thread ๐Ÿงต Image
1 Master the Coding Interview: Data Structures + Algorithms : In this Course you will learn how to tackle tricky questions from the interviewer with respect to complexity and improvement.

Link : zerotomastery.io/courses/learn-โ€ฆ
2 The Coding Interview Bootcamp: Algorithms + Data Structure: Ace your next Javascript coding interview by mastering data structures and algorithms.

Link : udemy.com/course/coding-โ€ฆ?
Read 13 tweets
May 21
Free Web hosting sites

A Thread ๐Ÿงต Image
๐Ÿ‘‰ InfinityFree - infinityfree.net
๐Ÿ‘‰ 000webhost - lnkd.in/d8tgcHjt
๐Ÿ‘‰ Freehostia - lnkd.in/d4cBvKTf
๐Ÿ‘‰ Byet.host - byet.host
๐Ÿ‘‰ AwardSpace - lnkd.in/d92azSxx
๐Ÿ‘‰ x10Hosting - x10hosting.com
๐Ÿ‘‰ GoogieHost - googiehost.com
๐Ÿ‘‰ FreeHosting.com - lnkd.in/dADktBbj
๐Ÿ‘‰ FreeWebHostingArea - lnkd.in/dfvMWScj
๐Ÿ‘‰ Zyro - zyro.com
๐Ÿ‘‰ Neocities - neocities.org
Read 9 tweets
May 20
Free Roadmap to Become Developer in 2023

A Thread ๐Ÿงต Image
๐Ÿ‘‰ Frontend Developer : lnkd.in/dvDW2-k7

๐Ÿ‘‰ DevOps Roadmap : roadmap.sh/devops

๐Ÿ‘‰ Backend Developer : roadmap.sh/backend

๐Ÿ‘‰ Android Developer : roadmap.sh/android
๐Ÿ‘‰ PostgreSQL DBA : lnkd.in/deA8F9Q4

๐Ÿ‘‰ Blockchain Developer : lnkd.in/dWZT9Bxv

๐Ÿ‘‰ QA Engineer : roadmap.sh/qa

๐Ÿ‘‰ Software Architect : lnkd.in/d4Wpizje
Read 7 tweets
May 20
JavaScript Development is a highly in-demand and well-paying job in the tech industry.

If you're looking to become an excellent JavaScript Developer, here's a roadmap that includes various YouTube resources: Image
1 Introduction to JavaScript:
Learn the basics of JavaScript, its role in web development, and its key features.

2 JavaScript Syntax and Fundamentals:
Understand JavaScript syntax, variables, data types, operators, control flow, and functions.

Read 18 tweets
May 19
๐—”๐—ฟ๐—ฒ ๐˜†๐—ผ๐˜‚ ๐—น๐—ผ๐—ผ๐—ธ๐—ถ๐—ป๐—ด ๐˜๐—ผ ๐˜„๐—ผ๐—ฟ๐—ธ ๐—ฅ๐—ฒ๐—บ๐—ผ๐˜๐—ฒ๐—น๐˜†?

Here is a list of companies around the Globe that are remote friendly.

A Thread ๐Ÿงต Image
๐Ÿ‘‰ Aerolab : aerolab.co
๐Ÿ‘‰ Aerostrat : aerostratsoftware.com
๐Ÿ‘‰ AgFlow : agflow.com
๐Ÿ‘‰ Aha! : aha.io
๐Ÿ‘‰ Algorithmia : algorithmia.com
๐Ÿ‘‰ ALICE : aliceplatform.com
๐Ÿ‘‰ Alight Solutions : alight.com
๐Ÿ‘‰ 10up : 10up.com
๐Ÿ‘‰ 15Five : 15five.com
๐Ÿ‘‰ 17hats : 17hats.com
๐Ÿ‘‰ 1Password : 1password.com
๐Ÿ‘‰ Acquia : acquia.com
๐Ÿ‘‰ Adzuna : adzuna.co.uk
๐Ÿ‘‰ AEStudio : ae.studio
Read 16 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(