DSA CHEAT SHEET — Save This Post!
Most Asked Patterns in TCS Infosys Amazon Interviews!
====================================
90% of coding interviews use THESE 10 patterns.
Master these = crack any tech interview!
====================================
PATTERN 1: TWO POINTERS
Use when: Sorted array, find pairs, remove duplicates
Problems: Two Sum, Reverse String, 3Sum
Logic: left=0, right=n-1, move based on condition
Companies: Amazon, Microsoft, TCS
PATTERN 2: SLIDING WINDOW
Use when: Subarray/substring with condition
Problems: Max sum subarray, Longest substring
Logic: Expand right, shrink left when invalid
Companies: Infosys, Wipro, Google
PATTERN 3: BINARY SEARCH
Use when: Sorted array, find position/condition
Problems: Search in rotated array, Find peak
Logic: mid = (lo+hi)//2, eliminate half each time
Companies: Amazon, Flipkart, Accenture
PATTERN 4: LINKED LIST (Fast & Slow Pointer)
Use when: Cycle detection, find middle
Problems: Detect cycle, Find middle, Palindrome
Logic: slow moves 1 step, fast moves 2 steps
Companies: TCS, Infosys, HCL
PATTERN 5: TREE BFS (Level Order)
Use when: Level-by-level traversal, shortest path
Problems: Level order, Zigzag, Right side view
Logic: Use queue, process level by level
Companies: Amazon, Cognizant, Capgemini
====================================
PATTERN 6: TREE DFS
Use when: Path sum, depth, validate BST
Problems: Max depth, Path sum, Inorder traversal
Logic: Recursion — visit node, left, right
Companies: Microsoft, Wipro, IBM
PATTERN 7: DYNAMIC PROGRAMMING
Use when: Optimization, count ways, max/min
Problems: Fibonacci, Knapsack, LCS, Coin change
Logic: Break into subproblems, store results
Companies: Amazon, Goldman Sachs, Barclays
PATTERN 8: STACK
Use when: Matching brackets, next greater element
Problems: Valid Parentheses, Stock Span, Min Stack
Logic: Push/pop based on LIFO order
Companies: TCS, Accenture, Infosys
PATTERN 9: HASHING (HashMap)
Use when: Count frequency, find duplicates, grouping
Problems: Two Sum, Anagram, Group Anagrams
Logic: key=element, value=count/index
Companies: Google, Amazon, Flipkart
PATTERN 10: GREEDY
Use when: Local optimal = global optimal
Problems: Activity selection, Jump game, Intervals
Logic: Always pick the best option at each step
Companies: Wipro, HCL, Mindtree
====================================
MUST KNOW COMPLEXITY:
Array access -> O(1)
Binary Search -> O(log n)
Linear Search -> O(n)
Bubble Sort -> O(n2)
Merge/Quick Sort-> O(n log n)
HashMap get/put -> O(1) average
BFS/DFS -> O(V + E)
====================================
30-DAY DSA PLAN FOR PLACEMENTS:
Week 1: Arrays + Strings + Hashing
Week 2: Linked List + Stack + Queue
Week 3: Trees + Binary Search
Week 4: DP + Greedy + Mock Tests
Practice on: LeetCode / GeeksForGeeks
Target: 2 problems daily = 60 problems/month
====================================
SAVE this post now!
You will need it before every interview!
Want FREE projects for your resume too?
https://t.me/Projectwithsourcecodes
Share with your placement batch!
#DSA #DataStructures #Algorithms #CodingInterview
#TCS #Infosys #Wipro #Amazon #Microsoft #Google
#LeetCode #PlacementPrep #CampusPlacement
#BTech2026 #MCA2026 #BCA2026 #OffCampus
#DynamicProgramming #BinarySearch #LinkedList
#ProjectWithSourceCodes #StudentsOfIndia #Coding
Most Asked Patterns in TCS Infosys Amazon Interviews!
====================================
90% of coding interviews use THESE 10 patterns.
Master these = crack any tech interview!
====================================
PATTERN 1: TWO POINTERS
Use when: Sorted array, find pairs, remove duplicates
Problems: Two Sum, Reverse String, 3Sum
Logic: left=0, right=n-1, move based on condition
Companies: Amazon, Microsoft, TCS
PATTERN 2: SLIDING WINDOW
Use when: Subarray/substring with condition
Problems: Max sum subarray, Longest substring
Logic: Expand right, shrink left when invalid
Companies: Infosys, Wipro, Google
PATTERN 3: BINARY SEARCH
Use when: Sorted array, find position/condition
Problems: Search in rotated array, Find peak
Logic: mid = (lo+hi)//2, eliminate half each time
Companies: Amazon, Flipkart, Accenture
PATTERN 4: LINKED LIST (Fast & Slow Pointer)
Use when: Cycle detection, find middle
Problems: Detect cycle, Find middle, Palindrome
Logic: slow moves 1 step, fast moves 2 steps
Companies: TCS, Infosys, HCL
PATTERN 5: TREE BFS (Level Order)
Use when: Level-by-level traversal, shortest path
Problems: Level order, Zigzag, Right side view
Logic: Use queue, process level by level
Companies: Amazon, Cognizant, Capgemini
====================================
PATTERN 6: TREE DFS
Use when: Path sum, depth, validate BST
Problems: Max depth, Path sum, Inorder traversal
Logic: Recursion — visit node, left, right
Companies: Microsoft, Wipro, IBM
PATTERN 7: DYNAMIC PROGRAMMING
Use when: Optimization, count ways, max/min
Problems: Fibonacci, Knapsack, LCS, Coin change
Logic: Break into subproblems, store results
Companies: Amazon, Goldman Sachs, Barclays
PATTERN 8: STACK
Use when: Matching brackets, next greater element
Problems: Valid Parentheses, Stock Span, Min Stack
Logic: Push/pop based on LIFO order
Companies: TCS, Accenture, Infosys
PATTERN 9: HASHING (HashMap)
Use when: Count frequency, find duplicates, grouping
Problems: Two Sum, Anagram, Group Anagrams
Logic: key=element, value=count/index
Companies: Google, Amazon, Flipkart
PATTERN 10: GREEDY
Use when: Local optimal = global optimal
Problems: Activity selection, Jump game, Intervals
Logic: Always pick the best option at each step
Companies: Wipro, HCL, Mindtree
====================================
MUST KNOW COMPLEXITY:
Array access -> O(1)
Binary Search -> O(log n)
Linear Search -> O(n)
Bubble Sort -> O(n2)
Merge/Quick Sort-> O(n log n)
HashMap get/put -> O(1) average
BFS/DFS -> O(V + E)
====================================
30-DAY DSA PLAN FOR PLACEMENTS:
Week 1: Arrays + Strings + Hashing
Week 2: Linked List + Stack + Queue
Week 3: Trees + Binary Search
Week 4: DP + Greedy + Mock Tests
Practice on: LeetCode / GeeksForGeeks
Target: 2 problems daily = 60 problems/month
====================================
SAVE this post now!
You will need it before every interview!
Want FREE projects for your resume too?
https://t.me/Projectwithsourcecodes
Share with your placement batch!
#DSA #DataStructures #Algorithms #CodingInterview
#TCS #Infosys #Wipro #Amazon #Microsoft #Google
#LeetCode #PlacementPrep #CampusPlacement
#BTech2026 #MCA2026 #BCA2026 #OffCampus
#DynamicProgramming #BinarySearch #LinkedList
#ProjectWithSourceCodes #StudentsOfIndia #Coding
Telegram
ProjectWithSourceCodes
Free Source Code Projects for Students 🚀 | Python | Java | Android | Web Dev | AI/ML | Final Year Projects | BCA • BTech • MCA | Interview Prep | Job Alerts
Website: https://updategadh.com
Website: https://updategadh.com
❤1
TRENDING TECH NEWS — June 13, 2026
What Every CS/IT Student Must Know Today!
Source: TechCrunch — Live Today
====================================
NEWS 1: SPACEX IPO — ELON IS WORLD'S FIRST TRILLIONAIRE!
SpaceX IPO closed UP 19% making Elon Musk
the world's FIRST trillionaire in history!
What it means for YOU:
-> SpaceX now actively hiring software engineers
-> Aerospace tech is the new hottest sector
-> Embedded systems + Python + C++ = space tech skills
Action: Add SpaceX to your dream company list now!
====================================
NEWS 2: FAANG IS DEAD — MEET MANGOS!
The new top 6 tech companies in 2026:
M — Meta
A — Anthropic
N — Nvidia
G — Google
O — OpenAI
S — SpaceX
What it means for YOU:
-> Anthropic + OpenAI = AI companies to target
-> Nvidia hiring ML engineers at record pace
-> These 6 pay 20-80 LPA for freshers!
Action: Align your skills with MANGOS company needs!
====================================
NEWS 3: MISTRAL RAISES 3 BILLION EUROS!
European AI startup Mistral valued at 20 BILLION!
Europe's biggest AI bet ever!
What it means for YOU:
-> Open source LLMs = growing fast (Mistral is FREE!)
-> Use Mistral API for free in your projects
-> Europe + AI = new job market opening up!
Action: Try Mistral AI API in your next project (FREE!)
====================================
NEWS 4: GOOGLE SUES AI-POWERED SCAM RING!
Criminals used AI to scam hundreds of thousands
of people across multiple platforms!
What it means for YOU:
-> AI + Cybersecurity = most urgent hiring need
-> Security engineers now earning 12-25 LPA fresher
-> Ethical hacking + AI detection = rare combo skill
Action: Learn 1 cybersecurity tool this month (Wireshark/Burp)!
====================================
NEWS 5: META AI TEAM IN TROUBLE!
Meta's AI division engineers describe it as
toxic workplace with no clear direction!
What it means for YOU:
-> Company culture matters — research before joining
-> Glassdoor reviews + LinkedIn employee posts = research
-> Startups with clear AI mission > big company chaos
Action: Before applying, always check employee reviews!
====================================
THIS WEEK'S TOP SKILLS FOR MANGOS COMPANIES:
Python + ML (Nvidia, Anthropic, OpenAI)
React + Node JS (Meta, Google)
C++ + Systems (SpaceX, Nvidia)
Cybersecurity (Google, all MANGOS)
Open Source LLM integration (Mistral, Llama)
====================================
Get FREE projects to build these skills:
https://t.me/Projectwithsourcecodes
Share with your college group!
#TechNews #SpaceX #MANGOS #Mistral #Google
#Anthropic #Nvidia #OpenAI #Meta #AINews
#CyberSecurity #TechToday #BTech2026 #MCA2026
#BCA2026 #TechCareer #ProjectWithSourceCodes
#StudentsOfIndia #TechUpdate2026 #ElonMusk
What Every CS/IT Student Must Know Today!
Source: TechCrunch — Live Today
====================================
NEWS 1: SPACEX IPO — ELON IS WORLD'S FIRST TRILLIONAIRE!
SpaceX IPO closed UP 19% making Elon Musk
the world's FIRST trillionaire in history!
What it means for YOU:
-> SpaceX now actively hiring software engineers
-> Aerospace tech is the new hottest sector
-> Embedded systems + Python + C++ = space tech skills
Action: Add SpaceX to your dream company list now!
====================================
NEWS 2: FAANG IS DEAD — MEET MANGOS!
The new top 6 tech companies in 2026:
M — Meta
A — Anthropic
N — Nvidia
G — Google
O — OpenAI
S — SpaceX
What it means for YOU:
-> Anthropic + OpenAI = AI companies to target
-> Nvidia hiring ML engineers at record pace
-> These 6 pay 20-80 LPA for freshers!
Action: Align your skills with MANGOS company needs!
====================================
NEWS 3: MISTRAL RAISES 3 BILLION EUROS!
European AI startup Mistral valued at 20 BILLION!
Europe's biggest AI bet ever!
What it means for YOU:
-> Open source LLMs = growing fast (Mistral is FREE!)
-> Use Mistral API for free in your projects
-> Europe + AI = new job market opening up!
Action: Try Mistral AI API in your next project (FREE!)
====================================
NEWS 4: GOOGLE SUES AI-POWERED SCAM RING!
Criminals used AI to scam hundreds of thousands
of people across multiple platforms!
What it means for YOU:
-> AI + Cybersecurity = most urgent hiring need
-> Security engineers now earning 12-25 LPA fresher
-> Ethical hacking + AI detection = rare combo skill
Action: Learn 1 cybersecurity tool this month (Wireshark/Burp)!
====================================
NEWS 5: META AI TEAM IN TROUBLE!
Meta's AI division engineers describe it as
toxic workplace with no clear direction!
What it means for YOU:
-> Company culture matters — research before joining
-> Glassdoor reviews + LinkedIn employee posts = research
-> Startups with clear AI mission > big company chaos
Action: Before applying, always check employee reviews!
====================================
THIS WEEK'S TOP SKILLS FOR MANGOS COMPANIES:
Python + ML (Nvidia, Anthropic, OpenAI)
React + Node JS (Meta, Google)
C++ + Systems (SpaceX, Nvidia)
Cybersecurity (Google, all MANGOS)
Open Source LLM integration (Mistral, Llama)
====================================
Get FREE projects to build these skills:
https://t.me/Projectwithsourcecodes
Share with your college group!
#TechNews #SpaceX #MANGOS #Mistral #Google
#Anthropic #Nvidia #OpenAI #Meta #AINews
#CyberSecurity #TechToday #BTech2026 #MCA2026
#BCA2026 #TechCareer #ProjectWithSourceCodes
#StudentsOfIndia #TechUpdate2026 #ElonMusk
Telegram
ProjectWithSourceCodes
Free Source Code Projects for Students 🚀 | Python | Java | Android | Web Dev | AI/ML | Final Year Projects | BCA • BTech • MCA | Interview Prep | Job Alerts
Website: https://updategadh.com
Website: https://updategadh.com
LIVE JOB ALERT - Apply NOW!
Fresh IT Jobs for 2025/2026 Grads!
====================================
Google | Software Engineer Early Career | Bengaluru
Nike | Software Engineer II | Karnataka
American Express | Software Engineer I | Gurugram
American Express | Software Engineer I | Chennai
eBay | Software Engineer 2 | Bengaluru
Honeywell | Software Engineer I | Pune
Emerson | Software Developer | Noida
Zebra Technologies | Software Engineer I | Bengaluru
Docusign | Software Engineer | Bengaluru
NatWest Group | Software Engineer | Gurugram
Larsen & Toubro | Digital Engineer | Chennai
Dassault Systemes | Software Engineer C++ | Pune
BNP Paribas | Software Engineer | Chennai
Anaplan | Associate Software Engineer | Gurugram
DigiCert | Associate Software Engineer | Bengaluru
Priceline | Associate Software Engineer | Mumbai
Zensar Technologies | React Java Engineer | Bengaluru
Hitachi Energy | DevOps Engineer | Chennai
Cognizant | DevOps Engineer | Gurgaon
Abbott | Cloud Software Engineer II | Mumbai
====================================
APPLY HERE (No Login Needed):
Software Eng / Associate Jobs:
https://www.linkedin.com/jobs/search/?keywords=associate+software+engineer&location=India&f_E=1%2C2
Cloud / DevOps Jobs:
https://www.linkedin.com/jobs/search/?keywords=cloud+engineer+devops&location=India&f_E=1%2C2
====================================
HOW TO APPLY FAST:
1. Click link above
2. Search your skill (Java, React, Python, AWS)
3. Filter: Entry Level + Last 7 Days
4. Apply with updated resume!
Get FREE projects for your resume:
https://t.me/Projectwithsourcecodes
#JobAlert #FresherJobs #ITJobs2025 #ITJobs2026
#Google #Nike #AmericanExpress #eBay #Honeywell
#BTech2026 #MCA2026 #BCA2026 #HiringNow
#DevOps #CloudEngineer #SoftwareEngineer
#ProjectWithSourceCodes #StudentsOfIndia
Fresh IT Jobs for 2025/2026 Grads!
====================================
Google | Software Engineer Early Career | Bengaluru
Nike | Software Engineer II | Karnataka
American Express | Software Engineer I | Gurugram
American Express | Software Engineer I | Chennai
eBay | Software Engineer 2 | Bengaluru
Honeywell | Software Engineer I | Pune
Emerson | Software Developer | Noida
Zebra Technologies | Software Engineer I | Bengaluru
Docusign | Software Engineer | Bengaluru
NatWest Group | Software Engineer | Gurugram
Larsen & Toubro | Digital Engineer | Chennai
Dassault Systemes | Software Engineer C++ | Pune
BNP Paribas | Software Engineer | Chennai
Anaplan | Associate Software Engineer | Gurugram
DigiCert | Associate Software Engineer | Bengaluru
Priceline | Associate Software Engineer | Mumbai
Zensar Technologies | React Java Engineer | Bengaluru
Hitachi Energy | DevOps Engineer | Chennai
Cognizant | DevOps Engineer | Gurgaon
Abbott | Cloud Software Engineer II | Mumbai
====================================
APPLY HERE (No Login Needed):
Software Eng / Associate Jobs:
https://www.linkedin.com/jobs/search/?keywords=associate+software+engineer&location=India&f_E=1%2C2
Cloud / DevOps Jobs:
https://www.linkedin.com/jobs/search/?keywords=cloud+engineer+devops&location=India&f_E=1%2C2
====================================
HOW TO APPLY FAST:
1. Click link above
2. Search your skill (Java, React, Python, AWS)
3. Filter: Entry Level + Last 7 Days
4. Apply with updated resume!
Get FREE projects for your resume:
https://t.me/Projectwithsourcecodes
#JobAlert #FresherJobs #ITJobs2025 #ITJobs2026
#Google #Nike #AmericanExpress #eBay #Honeywell
#BTech2026 #MCA2026 #BCA2026 #HiringNow
#DevOps #CloudEngineer #SoftwareEngineer
#ProjectWithSourceCodes #StudentsOfIndia
Linkedin
28,000+ Associate Software Engineer jobs in India
Today's top 28,000+ Associate Software Engineer jobs in India. Leverage your professional network, and get hired. New Associate Software Engineer jobs added daily.