close
The Wayback Machine - https://web.archive.org/web/20220310210133/https://www.geeksforgeeks.org/gfg-sde-sheet-a-complete-guide-for-sde-preparation/
Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

GFG SDE SHEET – A Complete Guide for SDE Preparation

  • Difficulty Level : Easy

What is SDE Sheet?

GFG SDE Sheet is a list of the most important topics or the most popular questions that are asked in the Software Development Engineer Interviews.
 

GFG SDE Sheet

    How is this sheet different or better from others?

  • It doesn’t contain only coding questions.
  • It covers all the segments round-wise like MCQs, DSA (Coding Questions), CS Subjects, Puzzles, Design Pattern, Projects.
  • It is helpful for both – Freshers and Experienced.

Table of Contents/Roadmap

 
 

Build a Perfect Resume

The sole purpose of a resume is to make you land your dream job. It introduces your qualifications, skills, achievements, and everything regarding your expertise. It helps you land into your career. When you have a perfect resume, nothing can be a hindrance to the best job.
Create and Know how to build a perfect Resume – Free Resume Builder By GeeksforGeeks – Create Resume Online
 

Multiple Choice Questions (MCQs)

 

Data Structures and Algorithms

Arrays
An array is a collection of items stored at contiguous memory locations. The idea is to store multiple items of the same type together.
QuestionArticlePracticeVideo
Leaders in an arrayLinkLinkLink
Equilibrium pointLinkLinkLink
Sort an array of 0s, 1s and 2sLinkLinkLink
Reverse array in groupsLinkLinkLink
Convert array into Zig-Zag fashionLinkLinkLink
Rearrange array alternativelyLinkLinkLink
Missing number in arrayLinkLinkLink
K-th element of two sorted ArraysLinkLinkLink
Check if two arrays are equal or notLinkLinkLink
Kadane’s AlgorithmLinkLinkLink
Subarray with given sumLinkLinkLink
Trapping Rain WaterLinkLinkLink
Minimum PlatformsLinkLinkLink
Stock buy and sellLinkLinkLink
Largest Number formed from an ArrayLinkLinkLink
Largest subarray with 0 sumLinkLinkLink
Swapping pairs make sum equalLinkLinkLink

Searching and Sorting
QuestionArticlePracticeVideo
Binary SearchLinkLinkLink
Quick SortLinkLinkLink
Merge SortLinkLinkLink
Merge two sorted arraysLinkLinkLink
Inversion of ArrayLinkLinkLink
Search in a Rotated ArrayLinkLinkLink
Sorting Elements of an Array by FrequencyLinkLinkLink
Sum of Middle Elements of two sorted arraysLinkLinkLink
K’th smallest elementLinkLinkLink
Allocate minimum number of pagesLinkLinkLink

Hashing
QuestionArticlePracticeVideo
First element to occur k timesLinkLinkLink
Find the element that appears once in sorted arrayLinkLinkLink
Number of pairsLinkLinkLink
Find all pairs with a given sumLinkLinkLink
Common elementsLinkLinkLink
Find all four sum numbersLinkLinkLink
Count distinct elements in every windowLinkLinkLink
Array Pair Sum Divisibility ProblemLinkLinkLink
Longest consecutive subsequenceLinkLinkLink
Array Subset of another arrayLinkLinkLink
Zero Sum SubarraysLinkLinkLink
Relative SortingLinkLinkLink

Matrix
A matrix represents a collection of numbers arranged in an order of rows and columns. It is necessary to enclose the elements of a matrix in parentheses or brackets.
QuestionArticlePracticeVideo
Rotate a matrixLinkLinkLink
Spirally traversing a matrixLinkLinkLink
Search in a row wise and column wise sorted matrixLinkLinkLink
Print all palindromic paths from top left to bottom right in a matrixLinkLinkLink
Find the row with maximum number of 1sLinkLinkLink
Find median in row wise sorted matrixLinkLinkLink
Check if all rows of a matrix are circular rotations of each otherLinkLinkLink

String
Strings are defined as an array of characters. The difference between a character array and a string is the string is terminated with a special character ‘\0’.
QuestionArticlePracticeVideo
Find first repeated characterLinkLinkLink
Reverse words in a given stringLinkLinkLink
Check if string is rotated by two placesLinkLinkLink
Roman Number to IntegerLinkLinkLink
AnagramLinkLinkLink
Remove DuplicatesLinkLinkLink
Longest Distinct Characters in the stringLinkLinkLink
Implement AtoiLinkLinkLink
Implement strstrLinkLinkLink
Rabin Karp AlgorithmLinkLinkLink
KMP AlgorithmLinkLinkLink
Convert a Sentence into its equivalent mobile numeric keypad sequence.LinkLinkLink
Longest Common PrefixLinkLinkLink
Smallest window in a string containing all the characters of another stringLinkLinkLink
Uncommon charactersLinkLinkLink
Minimum indexed characterLinkLinkLink

Recursion and Backtracking

Recursion: The process in which a function calls itself directly or indirectly is called recursion and the corresponding function is called as recursive function.
Backtracking: Backtracking is an algorithmic-technique for solving problems recursively by trying to build a solution incrementally, one piece at a time, removing those solutions that fail to satisfy the constraints of the problem at any point of time (by time, here, is referred to the time elapsed till reaching any level of the search tree).
QuestionArticlePracticeVideo
Recursively remove all adjacent duplicatesLinkLinkLink
Tower Of HanoiLinkLinkLink
Special KeyboardLinkLinkLink
Permutations of a given stringLinkLinkLink
N-Queen ProblemLinkLinkLink
Solve the SudokuLinkLinkLink
Rat in a Maze ProblemLinkLinkLink
Word BoggleLinkLinkLink
Generate IP AddressesLinkLinkLink

Bit Manipulation
Bit Manipulation is a technique used in a variety of problems to get the solution in an optimized way.
QuestionArticlePracticeVideo
Find first set bitLinkLinkLink
Rightmost different bitLinkLinkLink
Check whether K-th bit is set or notLinkLinkLink
Toggle bits given rangeLinkLinkLink
Set kth bitLinkLinkLink
Power of 2LinkLinkLink
Bit DifferenceLinkLinkLink
Rotate BitsLinkLinkLink
Swap all odd and even bitsLinkLinkLink
Count total set bitsLinkLinkLink
Longest Consecutive 1’sLinkLinkLink
Sparse NumberLinkLinkLink
Alone in a coupleLinkLinkLink
Maximum subset XORLinkLinkLink

Stack and Queue

Stack: A stack is a linear data structure in which elements can be inserted and deleted only from one side of the list, called the top. A stack follows the LIFO (Last In First Out) principle.
Queue: A queue is a linear data structure in which elements can be inserted only from one side of the list called rear, and the elements can be deleted only from the other side called the front. The queue data structure follows the FIFO (First In First Out) principle.
QuestionArticlePracticeVideo
Parenthesis CheckerLinkLinkLink
Merge Overlapping IntervalsLinkLinkLink
Stock span problemLinkLinkLink
Next larger elementLinkLinkLink
Largest Rectangular Area in a HistogramLinkLinkLink
Queue using two StacksLinkLinkLink
Stack using two queuesLinkLinkLink
Get minimum element from stackLinkLinkLink
LRU CacheLinkLinkLink
Circular tourLinkLinkLink
First non-repeating character in a streamLinkLinkLink
Rotten OrangesLinkLinkLink
Maximum of all subarrays of size kLinkLinkLink

Linked List
A linked list is a linear data structure, in which the elements are not stored at contiguous memory locations.
QuestionArticlePracticeVideo
Finding middle element in a linked listLinkLinkLink
Reverse a linked listLinkLinkLink
Rotate a Linked ListLinkLinkLink
Reverse a Linked List in groups of given sizeLinkLinkLink
Intersection point in Y shaped linked listsLinkLinkLink
Detect Loop in linked listLinkLinkLink
Remove loop in Linked ListLinkLinkLink
n’th node from end of linked listLinkLinkLink
Flattening a Linked ListLinkLinkLink
Merge two sorted linked listsLinkLinkLink
Pairwise swap of a linked listLinkLinkLink
Add two numbers represented by linked listsLinkLinkLink
Check if Linked List is PalindromeLinkLinkLink
Implement Queue using Linked ListLinkLinkLink
Implement Stack using Linked ListLinkLinkLink
Given a linked list of 0s, 1s and 2s, sort itLinkLinkLink
Delete without head pointerLinkLinkLink

Binary Tree
A tree whose elements have at most 2 children is called a binary tree. Since each element in a binary tree can have only 2 children, we typically name them the left and right child.
QuestionArticlePracticeVideo
Height of Binary TreeLinkLinkLink
Number of leaf nodesLinkLinkLink
Check if given Binary Tree is Height Balanced or NotLinkLinkLink
Write Code to Determine if Two Trees are Identical or NotLinkLinkLink
Given a binary tree, check whether it is a mirror of itselfLinkLinkLink
Maximum Path SumLinkLinkLink
Print Left View of Binary TreeLinkLinkLink
Print Bottom View of Binary TreeLinkLinkLink
Print a Binary Tree in Vertical OrderLinkLinkLink
Diameter of a Binary TreeLinkLinkLink
Level order traversal in spiral formLinkLinkLink
Connect Nodes at Same LevelLinkLinkLink
Convert a given Binary Tree to Doubly Linked ListLinkLinkLink
Serialize and Deserialize a Binary TreeLinkLinkLink

Binary Search Tree
Binary Search Tree is a node-based binary tree data structure which has the following properties:
  • The left subtree of a node contains only nodes with keys lesser than the node’s key.
  • The right subtree of a node contains only nodes with keys greater than the node’s key.
  • The left and right subtree each must also be a binary search tree.
QuestionArticlePracticeVideo
Check for BSTLinkLinkLink
Lowest Common Ancestor in a BSTLinkLinkLink
Ceil in BSTLinkLinkLink
K-th Largest Element in BSTLinkLinkLink
Largest BST in Binary TreeLinkLinkLink
Merge Two Balanced Binary Search TreesLinkLinkLink
Sorted Array to Balanced BSTLinkLinkLink

Greedy Approach
Greedy is an algorithmic paradigm that builds up a solution piece by piece, always choosing the next piece that offers the most obvious and immediate benefit.
QuestionArticlePracticeVideo
Activity SelectionLinkLinkLink
N meetings in one roomLinkLinkLink
Coin PilesLinkLinkLink
Maximize ToysLinkLinkLink
Page Faults in LRULinkLinkLink
Largest number possibleLinkLinkLink
Minimize the heightsLinkLinkLink
Minimize the sum of productLinkLinkLink
Huffman DecodingLinkLinkLink
Minimum Spanning TreeLinkLinkLink

Dynamic Programming
Dynamic Programming is mainly an optimization over plain recursion. Wherever we see a recursive solution that has repeated calls for same inputs, we can optimize it using Dynamic Programming.
QuestionArticlePracticeVideo
Minimum number of CoinsLinkLinkLink
Longest Common SubstringLinkLinkLink
Longest Increasing SubsequenceLinkLinkLink
Longest Common SubsequenceLinkLinkLink
0 – 1 Knapsack ProblemLinkLinkLink
Maximum sum increasing subsequenceLinkLinkLink
Minimum number of jumpsLinkLinkLink
Edit DistanceLinkLinkLink
Coin Change ProblemLinkLinkLink
Subset Sum ProblemLinkLinkLink
Longest Palindrome in a StringLinkLinkLink
Form a PalindromeLinkLinkLink
Box StackingLinkLinkLink
Rod CuttingLinkLinkLink
Min Cost PathLinkLinkLink
Minimum sum partitionLinkLinkLink
Count number of ways to cover a distanceLinkLinkLink
Egg Dropping PuzzleLinkLinkLink

Heap
A Heap is a special Tree-based data structure in which the tree is a complete binary tree.
QuestionArticlePracticeVideo
Heap SortLinkLinkLink
Find median in a streamLinkLinkLink
Operations on Binary Min HeapLinkLinkLink
Rearrange charactersLinkLinkLink
Merge K sorted linked listsLinkLinkLink
Kth smallest element in a row-column wise sorted matrixLinkLinkLink

Graph
A Graph is a non-linear data structure consisting of nodes and edges. The nodes are sometimes also referred to as vertices and the edges are lines or arcs that connect any two nodes in the graph.
QuestionArticlePracticeVideo
Depth First TraversalLinkLinkLink
Breadth First TraversalLinkLinkLink
Detect cycle in undirected graphLinkLinkLink
Detect cycle in a directed graphLinkLinkLink
Topological sortLinkLinkLink
Find the number of islandsLinkLinkLink
Implementing DijkstraLinkLinkLink
Minimum SwapsLinkLinkLink
Strongly Connected ComponentsLinkLinkLink
Shortest Source to Destination PathLinkLinkLink
Find whether path existLinkLinkLink
Minimum Cost PathLinkLinkLink
Circle of StringsLinkLinkLink
Floyd WarshallLinkLinkLink
Alien DictionaryLinkLinkLink
Snake and Ladder ProblemLinkLinkLink

Trie
Trie is an efficient information retrieval data structure. Using Trie, search complexities can be brought to optimal limit (key length).
QuestionArticlePracticeVideo
Trie | (Insert and Search)LinkLinkLink
Trie | (Delete)LinkLinkLink
Print unique rows in a given Binary matrixLinkLinkLink
Counting the number of words in a TrieLinkLinkLink
Longest Common Prefix using TrieLinkLinkLink
Auto-complete feature using TrieLinkLinkLink
Boggle | Set 2 (Using Trie)LinkLinkLink
Minimum XOR Value PairLinkLinkLink
Palindrome pair in an array of words (or strings)LinkLinkLink

Operating System
An operating system acts as an intermediary between the user of a computer and computer hardware. The purpose of an operating system is to provide an environment in which a user can execute programs conveniently and efficiently.
Below links contains complete Operating System Study Material:

 

DBMS
Database is a collection of inter-related data which helps in efficient retrieval, insertion and deletion of data from database and organizes the data in the form of tables, views, schemas, reports etc.
Below links contains complete DBMS study Material:

 

SQL
SQL stands for Structured Query Language. It is a language used to interact with the database, i.e to create a database, to create a table in the database, to retrieve data or update a table in the database.
Below links contains complete SQL study Material:

 

Computer Networks
A computer network is a system that connects numerous independent computers in order to share information (data) and resources. The integration of computers and other different devices allows users to communicate more easily.
Below links contains complete Computer Networks study Material:

 

Puzzles
Puzzles are one of the ways to check your problem-solving skills. These are tricky questions that let you think logically.
Try to solve these 20 most popular puzzles asked in Interviews
 
Projects
Thoroughly revise all the work you have done till now in your projects. The grilling about projects can sometimes be very deep. Also, choose your words before you speak. Mention only those topics where you think you are fine to be grilled upon.
If you haven’t made a project then take an idea from GFG Projects and start working on it.
 
System Design
System Design is the process of designing the architecture, components, and interfaces for a system so that it meets the end-user requirements. System Design for tech interviews is something that can’t be ignored!
Almost every IT giant whether it be Facebook, Amazon, Google, or any other ask various questions based on System Design concepts such as scalability, load-balancing, caching, etc. in the interview.

This specifically designed System Design tutorial will help you to learn and master System Design concepts in the most efficient way from basics to advanced level.

Note: We will start uploading videos soon.


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!