Docsity

data structure sheet for placement, Exercises of Data Structures and Algorithms

Partial preview of the text

Download data structure sheet for placement and more Exercises Data Structures and Algorithms in PDF only on Docsity!

DSA/CC - Skill Develo

Day Topic Difficulty

Arrays and logic buildin

Day 1 Easy Medium Day 2 Hard

Linked Lists

Day 3

Linked Lists

Easy Medium Day 4 Hard

Divide and Conquer

Day 5

Divide and Conquer

Easy Medium Day 6 Hard Arrays and logic building

Sorting and Searching Day 7 Easy Medium Day 8 Hard Trees Day 9

Trees

Easy Day 10 Medium Dynamic Programming Day 11 Easy Day 12 Medium Day 13 Hard Day 14 Greedy Day 15

Greedy

Easy Medium Day 16 Hard

Sorting and

Searching

Dynamic

Programming

DSA/CC - Skill Development

Topic WIse Most Important Questions

Question

Arrays and logic building

Remove duplicates from a sorted array CW Implementing insertion sort CW Contains duplicate HW Two Sum CW Jump Game HW Majority Element HW Valid Palindrom CW Jump Game 2 HW 3Sum HW Set Matrix zeroes CW Longest substring withput repeating characters HW Finding duplicate number HW

Linked Lists

Print linked list CW Remove duplicates from a sorted list CW Reverse a linked list CW Delete middle node of a list CW Merge two sorted linked lists CW Remove duplicates from sorted lists 2 CW Detect a cycle in a linked list CW Reverse linked list 2 CW rotate a list CW Merge k sorted lists CW Sort List HW Merge k sorted lists CW

Divide and Conquer

Longest Nice Substring CW

Reverse Bits CW

Number of 1 bits HW

Max Subarray CW

Search 2d matrix 2 CW

Super Pow CW

Beautiful Array CW

The Skyline Problem CW

Reverse Pairs CW

Longest increasing subsequence 2 CW

Sorting and Searching

Merge Sorted Array CW

First Bad Version CW

Sort Colors CW

Top K frequent elements HW

Kth Largest element in an array HW

Find Peak Element CW

Search For a range CW

Merge Intervals CW

Search in Rotated Sorted Array CW

Search a 2D Matrix II CW

Wiggle Sort 2 HW

Kth smallest element in a sorted matrix HW

Median of Two Sorted Arrays CW

Trees

Maximum Depth of Binary Tree CW

Validate Binary Search Tree CW

Symmetric Tree HW

Binary Tree Level Order Traversal CW

Convert Sorted Array to Binary Search Tree CW

Binary Tree Inorder Traversal CW

Binary Zigzag Level Order Traversal HW

Construct Binary Tree from Inorder and PostorderCW

Kth Smallest element in a BST HW

Populating Next Right Pointers in Each Node CW

Dynamic Programming

Climbing Stairs CW

Best Time to Buy and Sell a Stock CW

Maximum Subarray CW

House Robber HW

Jump Game HW

Unique Paths CW

Coin Change CW

Longest Increasing Subsequence CW

Maximum Product Subarray HW

Decode Ways CW

Best time to buy and Sell a Stock with Cooldown CW

Perfect Squares HW

Word Break CW

Word Break 2 CW

Greedy

Max Units on a Truck CW

Min Operations to make array incresing HW

Remove stones to Maximize total CW

Max Score from removing substrings HW

Min operations to make a subsequence HW

evelopment

Link Last Appeared Status

building

Uber completed

Uber

Google completed

Adobe completed

Netflix

Netflix

Twitter

Microsoft

Twitter

Google

Google

Amazon

s

Adobe

Adobe

Facebook

Apple

Amazon

Adobe

Google

LinkedIn

Amazon

Uber

Facebook

Twitter

quer

Microsoft

Amazon

Microsoft

Amazon

Twitter

Amazon

Microsoft

Twitter

Uber

Apple

https://leetcode.com/problems/remove-duplicates-from-sorted-array/ https://www.geeksforgeeks.org/problems/insertion-sort/ https://leetcode.com/problems/contains-duplicate/description/ https://leetcode.com/problems/two-sum/ https://leetcode.com/problems/jump-game/ https://leetcode.com/problems/majority-element https://leetcode.com/problems/valid-palindrome/ https://leetcode.com/problems/jump-game-ii https://leetcode.com/problems/3sum/ https://leetcode.com/problems/set-matrix-zeroes/ https://leetcode.com/problems/longest-substring-without-repeating-characters/description/ https://leetcode.com/problems/find-the-duplicate-number/description/ https://www.geeksforgeeks.org/problems/print-linked-list-elements/ https://leetcode.com/problems/remove-duplicates-from-sorted-list https://leetcode.com/problems/reverse-linked-list/ https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii https://leetcode.com/problems/linked-list-cycle https://leetcode.com/problems/reverse-linked-list-ii https://leetcode.com/problems/rotate-list https://leetcode.com/problems/merge-k-sorted-lists/ https://leetcode.com/problems/sort-list/description/ https://leetcode.com/problems/merge-k-sorted-lists/

https://leetcode.com/problems/longest-nice-substring/description

https://leetcode.com/problems/reverse-bits/description/?envType=problem-list-v2&envId=divide-and-conquer

https://leetcode.com/problems/number-of-1-bits/description/?envType=problem-list-v2&envId=divide-and-conque

https://leetcode.com/problems/maximum-subarray/description/?envType=problem-list-v2&envId=divide-and-conq

https://leetcode.com/problems/search-a-2d-matrix-ii/description/?envType=problem-list-v2&envId=divide-and-con

https://leetcode.com/problems/super-pow/description/?envType=problem-list-v2&envId=divide-and-conquer

https://leetcode.com/problems/beautiful-array/description/?envType=problem-list-v2&envId=divide-and-conquer

https://leetcode.com/problems/the-skyline-problem/description/?envType=problem-list-v2&envId=divide-and-con

https://leetcode.com/problems/reverse-pairs/description/?envType=problem-list-v2&envId=divide-and-conquer

https://leetcode.com/problems/longest-increasing-subsequence-ii/description/?envType=problem-list-v2&envId=d

rching

Twitter

Uber

Uber

Twitter

Uber

Uber

Netflix

Google

Facebook

Amazon

Microsoft

Microsoft

Microsoft

Microsoft

Amazon

Twitter

Microsoft

Amazon

Amazon

Microsoft

Twitter

Uber

Apple

mming

Adobe

Adobe

Uber

Amazon

LinkedIn

Netflix

Netflix

Apple

Adobe

Netflix

Twitter

Amazon

Adobe

Adobe

Amazon Amazon Nvidia Adobe Adobe

https://leetcode.com/problems/merge-sorted-array/

https://leetcode.com/problems/first-bad-version/

https://leetcode.com/problems/sort-colors/

https://leetcode.com/problems/top-k-frequent-elements/

https://leetcode.com/problems/kth-largest-element-in-an-array/

https://leetcode.com/problems/find-peak-element/

https://leetcode.com/problems/search-for-a-range/

https://leetcode.com/problems/merge-intervals/

https://leetcode.com/problems/search-in-rotated-sorted-array/

https://leetcode.com/problems/search-a-2d-matrix-ii/

https://leetcode.com/problems/wiggle-sort-2/

https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/

https://leetcode.com/problems/median-of-two-sorted-arrays/

https://leetcode.com/problems/maximum-depth-of-binary-tree/

https://leetcode.com/problems/validate-binary-search-tree/

https://leetcode.com/problems/symmetric-tree/

https://leetcode.com/problems/binary-tree-level-order-traversal/

https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/

https://leetcode.com/problems/binary-tree-inorder-traversal/

https://leetcode.com/problems/binary-zigzag-level-order-traversal/

https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal/

https://leetcode.com/problems/kth-smallest-element-in-a-bst/

https://leetcode.com/problems/populating-next-right-pointers-in-each-node/

https://leetcode.com/problems/climbing-stairs/

https://leetcode.com/problems/best-time-to-buy-and-sell-a-stock/

https://leetcode.com/problems/maximum-subarray/

https://leetcode.com/problems/house-robber/description/

https://leetcode.com/problems/jump-game/

https://leetcode.com/problems/unique-paths/

https://leetcode.com/problems/coin-change/

https://leetcode.com/problems/longest-increasing-subsequence/

https://leetcode.com/problems/maximum-product-subarray/

https://leetcode.com/problems/decode-ways/

https://leetcode.com/problems/best-time-to-buy-and-sell-a-stock-with-cooldown/

https://leetcode.com/problems/perfect-squares/

https://leetcode.com/problems/word-break/

https://leetcode.com/problems/word-break-2/

https://leetcode.com/problems/maximum-units-on-a-truck/description/?envType=problem-list-v2&envId=greedy

https://leetcode.com/problems/minimum-operations-to-make-the-array-increasing/description/?envType=problem

https://leetcode.com/problems/remove-stones-to-minimize-the-total/?envType=problem-list-v2&envId=greedy

https://leetcode.com/problems/maximum-score-from-removing-substrings/?envType=problem-list-v2&envId=greedy

https://leetcode.com/problems/minimum-operations-to-make-a-subsequence/?envType=problem-list-v2&envId=g