Coding Interview Resources
50.4K subscribers
693 photos
7 files
398 links
This channel contains the free resources and solution of coding problems which are usually asked in the interviews.

Managed by: @love_data
Download Telegram
Here are the top 10 most-asked React interview questions🎯

🌴 How does the virtual DOM work in React?
🌴 What are React Fiber and how does React's reconciliation algorithm work?
🌴 What is the difference between useLayoutEffect and useEffect?
🌴 How do you implement code splitting in a React application?
🌴 What is React.memo, and how does it differ from useMemo?
🌴 How can you optimize performance in a React application?
🌴 What are the different ways to manage state in React (local, global, server state)?
🌴 What is the context API in React, and when would you use it?
🌴 How do you prevent unnecessary re-renders in React components?
🌴 How do you handle SSR hydration issues in React applications?

Take these questions as a starting point and build your core logic through them before moving to more advanced ones. As problem-solving is the number 1 skill interviewers’ testπŸ’―

Free Programming Resources
πŸ‘‡πŸ‘‡
https://whatsapp.com/channel/0029Vamhzk5JENy1Zg9KmO2g

Like for more ❀️
πŸ‘7❀1
20 Algorithms Every programmer should know


- Merge Sort

- Quick Sort

- Quickselect

- Binary Search

- Depth-First Search (DFS)

- Breadth-First Search (BFS)

- Dijkstra's Algorithm

- Dynamic Programming

- Fibonacci Sequence

- Longest Common Subsequence

- Binary Tree Traversals (Inorder, Preorder, Postorder)

- Heap Sort

- Knapsack Problem

- Floyd-Warshall Algorithm

- Union Find

- Topological Sort

- Kruskal's Algorithm

- Prim's Algorithm

- Bellman-Ford Algorithm

- Kadane's Algorithm

- Flood Fill Algorithm

Bonus:

- Rabin-Karp Algorithm

- A* Algorithm

Best DSA RESOURCES: https://topmate.io/coding/886874

All the best πŸ‘πŸ‘
πŸ‘18
Complete DSA Roadmap

|-- Basic_Data_Structures
| |-- Arrays
| |-- Strings
| |-- Linked_Lists
| |-- Stacks
| └─ Queues
|
|-- Advanced_Data_Structures
| |-- Trees
| | |-- Binary_Trees
| | |-- Binary_Search_Trees
| | |-- AVL_Trees
| | └─ B-Trees
| |
| |-- Graphs
| | |-- Graph_Representation
| | | |- Adjacency_Matrix
| | | β”” Adjacency_List
| | |
| | |-- Depth-First_Search
| | |-- Breadth-First_Search
| | |-- Shortest_Path_Algorithms
| | | |- Dijkstra's_Algorithm
| | | β”” Bellman-Ford_Algorithm
| | |
| | └─ Minimum_Spanning_Tree
| | |- Prim's_Algorithm
| | β”” Kruskal's_Algorithm
| |
| |-- Heaps
| | |-- Min_Heap
| | |-- Max_Heap
| | └─ Heap_Sort
| |
| |-- Hash_Tables
| |-- Disjoint_Set_Union
| |-- Trie
| |-- Segment_Tree
| └─ Fenwick_Tree
|
|-- Algorithmic_Paradigms
| |-- Brute_Force
| |-- Divide_and_Conquer
| |-- Greedy_Algorithms
| |-- Dynamic_Programming
| |-- Backtracking
| |-- Sliding_Window_Technique
| |-- Two_Pointer_Technique
| └─ Divide_and_Conquer_Optimization
| |-- Merge_Sort_Tree
| └─ Persistent_Segment_Tree
|
|-- Searching_Algorithms
| |-- Linear_Search
| |-- Binary_Search
| |-- Depth-First_Search
| └─ Breadth-First_Search
|
|-- Sorting_Algorithms
| |-- Bubble_Sort
| |-- Selection_Sort
| |-- Insertion_Sort
| |-- Merge_Sort
| |-- Quick_Sort
| └─ Heap_Sort
|
|-- Graph_Algorithms
| |-- Depth-First_Search
| |-- Breadth-First_Search
| |-- Topological_Sort
| |-- Strongly_Connected_Components
| └─ Articulation_Points_and_Bridges
|
|-- Dynamic_Programming
| |-- Introduction_to_DP
| |-- Fibonacci_Series_using_DP
| |-- Longest_Common_Subsequence
| |-- Longest_Increasing_Subsequence
| |-- Knapsack_Problem
| |-- Matrix_Chain_Multiplication
| └─ Dynamic_Programming_on_Trees
|
|-- Mathematical_and_Bit_Manipulation_Algorithms
| |-- Prime_Numbers_and_Sieve_of_Eratosthenes
| |-- Greatest_Common_Divisor
| |-- Least_Common_Multiple
| |-- Modular_Arithmetic
| └─ Bit_Manipulation_Tricks
|
|-- Advanced_Topics
| |-- Trie-based_Algorithms
| | |-- Auto-completion
| | └─ Spell_Checker
| |
| |-- Suffix_Trees_and_Arrays
| |-- Computational_Geometry
| |-- Number_Theory
| | |-- Euler's_Totient_Function
| | └─ Mobius_Function
| |
| └─ String_Algorithms
| |-- KMP_Algorithm
| └─ Rabin-Karp_Algorithm
|
|-- OnlinePlatforms
| |-- LeetCode
| |-- HackerRank

Best DSA RESOURCES: https://topmate.io/coding/886874

Credits: https://t.me/free4unow_backup

All the best πŸ‘πŸ‘
πŸ‘13❀2
Essential 22 DSA patterns for coding interviews πŸ‘‡πŸ‘‡

1. Fast and Slow Pointer
- Cycle detection method
- O(1) space efficiency
- Linked list problems

2. Merge Intervals
- Sort and merge
- O(n log n) complexity
- Overlapping interval handling

3. Sliding Window
- Fixed/variable window
- O(n) time optimization
- Subarray/substring problems

4. Islands (Matrix Traversal)
- DFS/BFS traversal
- Connected component detection
- 2D grid problems

5. Two Pointers
- Dual pointer strategy
- Linear time complexity
- Array/list problems

6. Cyclic Sort
- Sorting in cycles
- O(n) time complexity
- Constant space usage

7. In-place Reversal of Linked List
- Reverse without extra space
- O(n) time efficiency
- Pointer manipulation technique

8. Breadth First Search
- Level-by-level traversal
- Uses queue structure
- Shortest path problems

9. Depth First Search
- Recursive/backtracking approach
- Uses stack (or recursion)
- Tree/graph traversal

10. Two Heaps
- Max and min heaps
- Median tracking efficiently
- O(log n) insertions

11. Subsets
- Generate all subsets
- Recursive or iterative
- Backtracking or bitmasking

12. Modified Binary Search
- Search in variations
- O(log n) time
- Rotated/specialized arrays

13. Bitwise XOR
- Toggle bits operation
- O(1) space complexity
- Efficient for pairing

14. Top 'K' elements
- Use heap/quickselect
- O(n log k) time
- Efficient selection problem

15. K-way Merge
- Merge sorted lists
- Min-heap based approach
- O(n log k) complexity

16. 0/1 Knapsack (Dynamic Programming)
- Choose or skip items
- O(n * W) complexity
- Maximize value selection

17. Unbounded Knapsack (Dynamic Programming)
- Unlimited item choices
- O(n * W) complexity
- Multiple item selection

18. Topological Sort (Graphs)
- Directed acyclic graph
- Order dependency resolution
- Uses DFS or BFS

19. Monotonic Stack
- Maintain increasing/decreasing stack
- Optimized for range queries
- O(n) time complexity

20. Backtracking
- Recursive decision-making
- Explore all possibilities
- Pruning with constraints

21. Union Find
- Track and merge connected components
- Used for disjoint sets
- Great for network connectivity

22. Greedy Algorithm
- Make locally optimal choices
- Efficient for problems with optimal substructure
- Covers tasks like activity selection, minimum coins

Best DSA Resources: πŸ‘‡
https://topmate.io/coding/886874

All the best πŸ‘πŸ‘
πŸ‘7❀3
Life-changing advice for college students πŸ‘‡πŸ‘‡
https://medium.com/@data_analyst/life-changing-advice-for-college-students-9b41c74f188d

Worth sharing with you guys ❀️
❀4
Top 20 most asked DSA questions to ace your next interview:

➀ Arrays and Strings:

1. Find the maximum sum subarray.

2. Implement the "two sum" problem.

3. Implement Kadane's algorithm for maximum subarray sum.

4. Find the missing number in an array of integers.

5. Merge two sorted arrays into one sorted array.

6. Check if a string is a palindrome.

➀ Linked Lists:

7. Reverse a linked list.

8. Detect a cycle in a linked list.

9. Find the middle of a linked list.

10. Merge two sorted linked lists.

➀ Stacks and Queues:

11. Implement a stack that supports push, pop, top, and retrieving the minimum element.

12. Implement a circular queue.

13. Design a queue using stacks.



➀ Trees and Binary Search Trees:

14. Find the height of a binary tree.

15. Validate if a binary tree is a valid binary search tree.

16. Implement an inorder traversal of a binary tree.



➀ Graphs:

17. Implement depth-first search (DFS).

18. Find the shortest path between two nodes in an unweighted graph.


➀ Sorting and Searching:

19. Implement quicksort.

20. Implement binary search.

Best DSA Resources: πŸ‘‡
https://topmate.io/coding/886874

All the best πŸ‘πŸ‘
πŸ‘11❀5
DSA INTERVIEW QUESTIONS AND ANSWERS

1. What is the difference between file structure and storage structure?
The difference lies in the memory area accessed. Storage structure refers to the data structure in the memory of the computer system,
whereas file structure represents the storage structure in the auxiliary memory.

2. Are linked lists considered linear or non-linear Data Structures?
Linked lists are considered both linear and non-linear data structures depending upon the application they are used for. When used for
access strategies, it is considered as a linear data-structure. When used for data storage, it is considered a non-linear data structure.

3. How do you reference all of the elements in a one-dimension array?
All of the elements in a one-dimension array can be referenced using an indexed loop as the array subscript so that the counter runs
from 0 to the array size minus one.

4. What are dynamic Data Structures? Name a few.
They are collections of data in memory that expand and contract to grow or shrink in size as a program runs. This enables the programmer
to control exactly how much memory is to be utilized.Examples are the dynamic array, linked list, stack, queue, and heap.

5. What is a Dequeue?
It is a double-ended queue, or a data structure, where the elements can be inserted or deleted at both ends (FRONT and REAR).

6. What operations can be performed on queues?
enqueue() adds an element to the end of the queue
dequeue() removes an element from the front of the queue
init() is used for initializing the queue
isEmpty tests for whether or not the queue is empty
The front is used to get the value of the first data item but does not remove it
The rear is used to get the last item from a queue.

7. What is the merge sort? How does it work?
Merge sort is a divide-and-conquer algorithm for sorting the data. It works by merging and sorting adjacent data to create bigger sorted
lists, which are then merged recursively to form even bigger sorted lists until you have one single sorted list.

8.How does the Selection sort work?
Selection sort works by repeatedly picking the smallest number in ascending order from the list and placing it at the beginning. This process is repeated moving toward the end of the list or sorted subarray.

Scan all items and find the smallest. Switch over the position as the first item. Repeat the selection sort on the remaining N-1 items. We always iterate forward (i from 0 to N-1) and swap with the smallest element (always i).

Time complexity: best case O(n2); worst O(n2)

Space complexity: worst O(1)

9. What are the applications of graph Data Structure?
Transport grids where stations are represented as vertices and routes as the edges of the graph
Utility graphs of power or water, where vertices are connection points and edge the wires or pipes connecting them
Social network graphs to determine the flow of information and hotspots (edges and vertices)
Neural networks where vertices represent neurons and edge the synapses between them

10. What is an AVL tree?
An AVL (Adelson, Velskii, and Landi) tree is a height balancing binary search tree in which the difference of heights of the left
and right subtrees of any node is less than or equal to one. This controls the height of the binary search tree by not letting
it get skewed. This is used when working with a large data set, with continual pruning through insertion and deletion of data.

11. Differentiate NULL and VOID ?
Null is a value, whereas Void is a data type identifier
Null indicates an empty value for a variable, whereas void indicates pointers that have no initial size
Null means it never existed; Void means it existed but is not in effect

You can check these resources for Coding interview Preparation

Credits: https://t.me/free4unow_backup

All the best πŸ‘πŸ‘
πŸ‘16❀1
πŸ”Ή Placement Ready in 3 Months! πŸ”Ή

1. Month 1: Aptitude
- Quantitative Aptitude, Logical Reasoning, Verbal Ability
- Daily practice and mock tests

2. Month 1 & 2: Course Fundamentals
- OOPS, DBMS, OS, CN, Java, C++
- Study plan and resources

3. Months 1, 2, & 3: Coding
- Data Structures and Algorithms (DSA)
- Practice on platforms like Hackerrank, Codechef, and Leetcode

4. Projects, Skills, and Internships
- Full-stack or ML projects
- Internship experiences and interview prep

5. Month 3: Mock Interviews
- Practice with Pramp and peers

Top Coding Interview Resources to prepare for Microsoft, Amazon, Meta, Apple, Adobe, VMware, Visa, Twitter, LinkedIn, JP Morgan, Goldman Sachs, Oracle and Walmart πŸ‘‡πŸ‘‡ https://topmate.io/coding/951517

All the best πŸ‘πŸ‘
πŸ‘11
How long are coding interviews?
The phone screen portion of the coding interview typically lasts up to one hour. The second, more technical part of the interview can take multiple hours.

Where can I practice coding?
There are many ways to practice coding and prepare for your coding interview. LeetCode provides practice opportunities in more than 14 languages and more than 1,500 sample problems. Applicants can also practice their coding skills and interview prep with HackerRank.

How do I know if my coding interview went well?
There are a variety of indicators that your coding interview went well. These may include going over the allotted time, being introduced to additional team members, and receiving a quick response to your thank you email.
πŸ‘9
In class, there are some students who are really good at coding from the start, and seeing them can make us feel quite demotivated, especially since they often appear overconfident.

But it's not important how much someone already knows. If you start and practice consistently, it's not that tough to match their level or even surpass them.

And often, these overconfident people don’t perform as well as you can because you have the desire to learn, while they think they already know everything.

So, my friend, don’t get demotivatedβ€”just give it time!
❀35πŸ‘5
Are you a part of our exclusive whatsapp community?

https://whatsapp.com/channel/0029VammZijATRSlLxywEC3X
https://topmate.io/coding/886874

If you're a job seeker, these well structured document DSA resources will help you to know and learn all the real time DSA & OOPS Interview questions with their exact answer. folks who are having 0-4+ years of experience have cracked the interview using this guide!

Please use the above link to avail them!πŸ‘†

NOTE: -Most people hoard resources without actually opening them even once! The reason for keeping a small price for these resources is to ensure that you value the content available inside this and encourage you to make the best out of it.

Hope this helps in your job search journey... All the best!πŸ‘βœŒοΈ
πŸ‘7❀1
Useful Websites.pdf_20231118_154343_0000.pdf
608.9 KB
Useful Websites for Jobs & Resume

πŸ‘‰πŸ» LIKE IF YOU WANT MORE CONTENT LIKE THIS FOR FREE πŸ†“
πŸ‘12❀2
Stay away from such people please. If you wonna achieve something in life, you'll need to go through the hard way
πŸ‘32❀7πŸ‘Œ4
Clear all DSA rounds,

By mastering these 20 DSA patterns

1. Fast and Slow Pointer
- Cycle detection method
- O(1) space efficiency
- Linked list problems

2. Merge Intervals
- Sort and merge
- O(n log n) complexity
- Overlapping interval handling

3. Sliding Window
- Fixed/variable window
- O(n) time optimization
- Subarray/substring problems

4. Islands (Matrix Traversal)
- DFS/BFS traversal
- Connected component detection
- 2D grid problems

5. Two Pointers
- Dual pointer strategy
- Linear time complexity
- Array/list problems

6. Cyclic Sort
- Sorting in cycles
- O(n) time complexity
- Constant space usage

7. In-place Reversal of Linked List
- Reverse without extra space
- O(n) time efficiency
- Pointer manipulation technique

8. Breadth First Search
- Level-by-level traversal
- Uses queue structure
- Shortest path problems

9. Depth First Search
- Recursive/backtracking approach
- Uses stack (or recursion)
- Tree/graph traversal

10. Two Heaps
- Max and min heaps
- Median tracking efficiently
- O(log n) insertions

11. Subsets
- Generate all subsets
- Recursive or iterative
- Backtracking or bitmasking

12. Modified Binary Search
- Search in variations
- O(log n) time
- Rotated/specialized arrays

13. Bitwise XOR
- Toggle bits operation
- O(1) space complexity
- Efficient for pairing

14. Top 'K' elements
- Use heap/quickselect
- O(n log k) time
- Efficient selection problem

15. K-way Merge
- Merge sorted lists
- Min-heap based approach
- O(n log k) complexity

16. 0/1 Knapsack (Dynamic Programming)
- Choose or skip items
- O(n * W) complexity
- Maximize value selection

17. Unbounded Knapsack (Dynamic Programming)
- Unlimited item choices
- O(n * W) complexity
- Multiple item selection

18. Topological Sort (Graphs)
- Directed acyclic graph
- Order dependency resolution
- Uses DFS or BFS

19. Monotonic Stack
- Maintain increasing/decreasing stack
- Optimized for range queries
- O(n) time complexity

20. Backtracking
- Recursive decision-making
- Explore all possibilities
- Pruning with constraints

Best DSA Resources: πŸ‘‡
https://topmate.io/coding/886874

All the best πŸ‘πŸ‘
πŸ‘14πŸ‘1
When you're studying DSA, you probably think, "This won't be directly used in the actual work of a company, so why am I even doing this?"

And in life, where will this even come in handy? Well, it won't be useful directly, but the hard work you're putting inβ€”sitting day and night solving questionsβ€”that habit of working hard will pay off.

It's not really about DSA, but about the effort you're willing to give that will decide which company you land your internship or placement in ❀️
❀20πŸ‘8
C++ Programming Roadmap
|
|-- Fundamentals
| |-- Basics of Programming
| | |-- Introduction to C++
| | |-- Setting Up Development Environment (IDE: Code::Blocks, Visual Studio, etc.)
| | |-- Compiling and Running C++ Programs
| |
| |-- Syntax and Structure
| | |-- Basic Syntax
| | |-- Variables and Data Types
| | |-- Operators (Arithmetic, Relational, Logical, Bitwise)
|
|-- Control Structures
| |-- Conditional Statements
| | |-- If-Else Statements
| | |-- Switch Case
| |
| |-- Loops
| | |-- For Loop
| | |-- While Loop
| | |-- Do-While Loop
| |
| |-- Jump Statements
| | |-- Break, Continue
| | |-- Goto Statement
|
|-- Functions and Scope
| |-- Defining Functions
| | |-- Function Syntax
| | |-- Parameters and Arguments (Pass by Value, Pass by Reference)
| | |-- Return Statement
| |
| |-- Function Overloading
| | |-- Overloading Functions with Different Parameters
| |
| |-- Scope and Lifetime
| | |-- Local and Global Scope
| | |-- Static Variables
|
|-- Object-Oriented Programming (OOP)
| |-- Basics of OOP
| | |-- Classes and Objects
| | |-- Member Functions and Data Members
| |
| |-- Constructors and Destructors
| | |-- Constructor Types (Default, Parameterized, Copy)
| | |-- Destructor Basics
| |
| |-- Inheritance
| | |-- Single and Multiple Inheritance
| | |-- Protected Access Specifier
| | |-- Virtual Base Class
| |
| |-- Polymorphism
| | |-- Function Overriding
| | |-- Virtual Functions and Pure Virtual Functions
| | |-- Abstract Classes
| |
| |-- Encapsulation and Abstraction
| | |-- Access Specifiers (Public, Private, Protected)
| | |-- Getters and Setters
| |
| |-- Operator Overloading
| | |-- Overloading Operators (Arithmetic, Relational, etc.)
| | |-- Friend Functions
|
|-- Advanced C++
| |-- Pointers and Dynamic Memory
| | |-- Pointer Basics
| | |-- Dynamic Memory Allocation (new, delete)
| | |-- Pointer Arithmetic
| |
| |-- References
| | |-- Reference Variables
| | |-- Passing by Reference
| |
| |-- Templates
| | |-- Function Templates
| | |-- Class Templates
| |
| |-- Exception Handling
| | |-- Try-Catch Blocks
| | |-- Throwing Exceptions
| | |-- Standard Exceptions
|
|-- Data Structures
| |-- Arrays and Strings
| | |-- One-Dimensional and Multi-Dimensional Arrays
| | |-- String Handling
| |
| |-- Linked Lists
| | |-- Singly and Doubly Linked Lists
| |
| |-- Stacks and Queues
| | |-- Stack Operations (Push, Pop, Peek)
| | |-- Queue Operations (Enqueue, Dequeue)
| |
| |-- Trees and Graphs
| | |-- Binary Trees, Binary Search Trees
| | |-- Graph Representation and Traversal (DFS, BFS)
|
|-- Standard Template Library (STL)
| |-- Containers
| | |-- Vectors, Lists, Deques
| | |-- Stacks, Queues, Priority Queues
| | |-- Sets, Maps, Unordered Maps
| |
| |-- Iterators
| | |-- Input and Output Iterators
| | |-- Forward, Bidirectional, and Random Access Iterators
| |
| |-- Algorithms
| | |-- Sorting, Searching, and Manipulation
| | |-- Numeric Algorithms
|
|-- File Handling
| |-- Streams and File I/O
| | |-- ifstream, ofstream, fstream
| | |-- Reading and Writing Files
| | |-- Binary File Handling
|
|-- Testing and Debugging
| |-- Debugging Tools
| | |-- gdb (GNU Debugger)
| | |-- Valgrind for Memory Leak Detection
| |
| |-- Unit Testing
| | |-- Google Test (gtest)
| | |-- Writing and Running Tests
|
|-- Deployment and DevOps
| |-- Version Control with Git
| | |-- Integrating C++ Projects with GitHub
| |-- Continuous Integration/Continuous Deployment (CI/CD)
| | |-- Using Jenkins or GitHub
| |
|   |--Free courses
| | |--imp.i115008.net/kjoq9V
|   |   |--imp.i115008.net/5bmnKL
|   |   |--Microsoft Documentation
|   |   |--Udemy Course

Join @free4unow_backup for more free resources

ENJOY LEARNING πŸ‘πŸ‘
πŸ‘12❀3πŸ₯°1
Essential programming language for Android app development πŸ‘‡πŸ‘‡

1. Java: Java has been the traditional and most widely used programming language for Android app development. It is the official language for Android development and provides a robust set of tools and libraries for building Android apps.

2. Kotlin: Kotlin is a modern, concise, and expressive programming language that has gained popularity among Android developers. It is fully interoperable with Java and offers many features that make Android app development more efficient and less error-prone.

3. C++: While not as commonly used as Java or Kotlin, C++ can be used for developing performance-critical parts of an Android app, such as game engines or graphics-intensive applications.

4. Python: Although not typically used for building full-fledged Android apps, Python can be used for scripting, automation, and data processing tasks in Android development.

5. JavaScript: JavaScript can be used in combination with frameworks like React Native or NativeScript to build cross-platform mobile apps that run on both Android and iOS devices.

Overall, Java and Kotlin are the most essential programming languages for Android app development, with Kotlin gaining popularity as a more modern and efficient alternative to Java.

Free Resources to learn App Development πŸ‘‡πŸ‘‡

Developing Android Apps with Kotlin

Udemy

Android Basics in Kotlin

Advanced Android with Kotlin

Join @free4unow_backup for more free resources.

ENJOY LEARNINGπŸ‘πŸ‘
πŸ‘10❀1
DSA question by understanding patterns

If the 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
- QuickSelect

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
❀15πŸ‘8πŸ‘1πŸ‘Œ1
List of most asked Programming Interview Questions.

Are you preparing for a coding interview? This tweet is for you. It contains a list of the most asked interview questions from each topic.

Arrays

- How is an array sorted using quicksort?
- How do you reverse an array?
- How do you remove duplicates from an array?
- How do you find the 2nd largest number in an unsorted integer array?

Linked Lists

- How do you find the length of a linked list?
- How do you reverse a linked list?
- How do you find the third node from the end?
- How are duplicate nodes removed in an unsorted linked list?

Strings

- How do you check if a string contains only digits?
- How can a given string be reversed?
- How do you find the first non-repeated character?
- How do you find duplicate characters in strings?

Binary Trees

- How are all leaves of a binary tree printed?
- How do you check if a tree is a binary search tree?
- How is a binary search tree implemented?
- Find the lowest common ancestor in a binary tree?

Graph

- How to detect a cycle in a directed graph?
- How to detect a cycle in an undirected graph?
- Find the total number of strongly connected components?
- Find whether a path exists between two nodes of a graph?
- Find the minimum number of swaps required to sort an array.

Dynamic Programming

1. Find the longest common subsequence?
2. Find the longest common substring?
3. Coin change problem?
4. Box stacking problem?
5. Count the number of ways to cover a distance?
πŸ‘9