Skip to content

Problems solved from GeeksForGeeks. The problems are mostly under "MUST-DO" coding section for companies.

Notifications You must be signed in to change notification settings

demonpratapdemon/GeeksForGeeksProblems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeeksForGeeksProblems

Problems solved from GeeksForGeeks:

ARRAY

  1. Rotate the Array = https://practice.geeksforgeeks.org/problems/rotate-array-by-n-elements/0
  2. Subarray with given sum = https://practice.geeksforgeeks.org/problems/subarray-with-given-sum/0
  3. Count the Triplets = https://practice.geeksforgeeks.org/problems/count-the-triplets/0
  4. Kadane's Algorithm = https://practice.geeksforgeeks.org/problems/kadanes-algorithm/0
  5. Missing Number in Array = https://practice.geeksforgeeks.org/problems/missing-number-in-array/0
  6. Merge 2 Sorted Arrays(without extra space) = https://practice.geeksforgeeks.org/problems/merge-two-sorted-arrays/0/
  7. Number of pairs where (x^y > y^x) = https://practice.geeksforgeeks.org/problems/number-of-pairs/0/
  8. Inversions in array (using Merge Sort) = https://practice.geeksforgeeks.org/problems/inversion-of-array/0/
  9. Rearrange Array Alternately = https://practice.geeksforgeeks.org/problems/-rearrange-array-alternately/0/
  10. Kth Smallest Element = https://practice.geeksforgeeks.org/problems/kth-smallest-element/0
  11. Reverse array in groups = https://practice.geeksforgeeks.org/problems/reverse-array-in-groups/0
  12. Spirally Traversing a matrix = https://practice.geeksforgeeks.org/problems/spirally-traversing-a-matrix/0
  13. Chocolate Distribution Problem = https://practice.geeksforgeeks.org/problems/chocolate-distribution-problem/0
  14. Equilibrium point = https://practice.geeksforgeeks.org/problems/equilibrium-point/0
  15. Pythagorean Triplet = https://practice.geeksforgeeks.org/problems/pythagorean-triplet3018/1
  16. Largest Number Formed From an Array = https://practice.geeksforgeeks.org/problems/largest-number-formed-from-an-array1117/1#
  17. Stock Buy and Sell = https://practice.geeksforgeeks.org/problems/stock-buy-and-sell-1587115621/1

Dynamic Programming

  1. 0/1 Knapsack problem(Top Down Memoization and Bottom Up = https://practice.geeksforgeeks.org/problems/0-1-knapsack-problem/0
  2. Longest Common Subsequence(Bottom Up) = https://practice.geeksforgeeks.org/problems/longest-common-subsequence/0

STRINGS

  1. Reverse words in a given String = https://practice.geeksforgeeks.org/problems/reverse-words-in-a-given-string/0
  2. Anagram(Same characters, same frequency, different arrangements) = https://practice.geeksforgeeks.org/problems/anagram/0
  3. Form a Palindrome = https://practice.geeksforgeeks.org/problems/form-a-palindrome/0
  4. Longest Palindromic Substring(Using DP in O(n2 = https://practice.geeksforgeeks.org/problems/longest-palindrome-in-a-string/0#
  5. Remove all adjacent duplicates = https://practice.geeksforgeeks.org/problems/recursively-remove-all-adjacent-duplicates/0
  6. Remove duplicates = https://practice.geeksforgeeks.org/problems/remove-duplicates3034/1

LINKED LIST

  1. Finding middle element of a Linked List = https://practice.geeksforgeeks.org/problems/finding-middle-element-in-a-linked-list/1#
  2. Reverse a Linked List = https://practice.geeksforgeeks.org/problems/reverse-a-linked-list/1
  3. Rotate a Linked List = https://practice.geeksforgeeks.org/problems/rotate-a-linked-list/1
  4. Reverse a Linked List in groups of given size = https://practice.geeksforgeeks.org/problems/reverse-a-linked-list-in-groups-of-given-size/1
  5. Intersection Point in Y Shapped Linked Lists = https://practice.geeksforgeeks.org/problems/intersection-point-in-y-shapped-linked-lists/1/
  6. Detect Loop in linked list = https://practice.geeksforgeeks.org/problems/detect-loop-in-linked-list/1
  7. **Flattening a Linked List ** = https://practice.geeksforgeeks.org/problems/flattening-a-linked-list/1#
  8. Pairwise swap elements of a linked list = https://practice.geeksforgeeks.org/problems/pairwise-swap-elements-of-a-linked-list-by-swapping-data/1
  9. Add two numbers represented by linked lists = https://practice.geeksforgeeks.org/problems/add-two-numbers-represented-by-linked-lists/1#

STACK AND QUEUE

  1. Parenthesis Checker = https://practice.geeksforgeeks.org/problems/parenthesis-checker2744/1

TREE

  1. Level order traversal in spiral form(Zig-Zag) = https://practice.geeksforgeeks.org/problems/level-order-traversal-in-spiral-form/1#

HEAP

  1. Find median in a stream = https://practice.geeksforgeeks.org/problems/find-median-in-a-stream/0
  2. Rearrange characters = https://practice.geeksforgeeks.org/problems/rearrange-characters/0#
  3. Kth largest element in a stream = https://practice.geeksforgeeks.org/problems/kth-largest-element-in-a-stream/0

Bit Magic

  1. Find first set bit = https://practice.geeksforgeeks.org/problems/find-first-set-bit-1587115620/1
  2. **Rightmost different bit ** = https://practice.geeksforgeeks.org/problems/rightmost-different-bit-1587115621/1

LEETCODE

  1. Vertical Order Traversal of a Binary Tree = https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree/

About

Problems solved from GeeksForGeeks. The problems are mostly under "MUST-DO" coding section for companies.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages