Skip to content

Sangram03/160DaysGFG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“œ Table of Contents ๐Ÿ“œ

For discussions, questions, or doubts related to this solution, please visit my Twitter : Any Questions. Thank you for your input, together, we strive to create a space where learning is a collaborative endeavor.

๐Ÿ”ฎYour feedback is valuable! Please consider leaving a ๐ŸŒŸ star ๐ŸŒŸ and sharing your thoughts in the comments.

Introduction

This repository contains solutions to daily problems from GeeksforGeeks. Each day, a new problem is provided along with its solution.

๐Ÿ“… December 2024 Problem of the Day Solutions ๐Ÿ“…

December Problem Name Java โ˜•
Day1 Non Repeating Character ๐Ÿ’ฅ๐Ÿ“Š๐Ÿ”ข Solution
Day 2 Search Pattern (KMP-Algorithm) ๐Ÿ”ข๐Ÿ”„๐Ÿ’ฅ Solution
Day 3 Min Chars to Add for Palindrome ๐Ÿ“ƒ๐Ÿ”„๐Ÿ’ฅ Solution
Day 4 Strings Rotations of Each Other ๐Ÿ“ƒ๐Ÿ’ฅ Solution
Day 5 Sort 0s, 1s and 2s ๐Ÿ“ƒ๐Ÿ’ฅ Solution
Day 6 Find H-Index ๐Ÿ“ƒ๐Ÿ’ฅ Solution
Day 7 Count Inversions ๐Ÿ˜€ ๐Ÿงก ๐ŸŒบ Solution
Day 8 Overlapping Intervals โค๏ธ ๐Ÿ”ฎ ๐Ÿถ Solution
Day 9 Insert Interval ๐ŸŒธ ๐Ÿ’Ž ๐Ÿ˜ƒ Solution
Day 10 Non-overlapping Intervals ๐Ÿ˜ƒ ๐ŸŒธ ๐Ÿฑ Solution
Day 11 Merge Without Extra Space ๐Ÿ˜€ โค๏ธ ๐ŸŒบ Solution
Day 12 Number of occurrence ๐Ÿ˜ƒ ๐ŸŒธ ๐Ÿถ Solution
Day 13 Sorted and Rotated Minimum โค๏ธ ๐ŸŒบ ๐Ÿ˜€ Solution
Day 14 Search in Rotated Sorted Array ๐Ÿ”ฎ ๐Ÿ˜ƒ ๐ŸŒบ Solution
Day 15 Peak element ๐Ÿ’Ž ๐Ÿงก ๐ŸŒธ Solution
Day 16 K-th element of two Arrays โญ๐Ÿ’ซโญ Solution
Day 17 Aggressive Cows ๐Ÿ”ฅโ˜˜๏ธ๐Ÿ Solution
Day 18 Allocate Minimum Pages ๐Ÿ“„๐Ÿ“„๐Ÿ“„ Solution
Day 19 Kth Missing Positive Number in a Sorted Array ๐Ÿ“œ๐Ÿ”ข๐ŸŽฏ Solution
Day 20 Spirally traversing a matrix ๐ŸŽฏ๐Ÿ”ข๐Ÿ“ƒ Solution
Day 21 Rotate by 90 degree ๐Ÿจ๐Ÿข๐Ÿ“ƒ Solution
Day 22 Search in a Row-Column sorted matrix ๐Ÿ“ƒ๐ŸŽฏ๐Ÿ”ข Solution
Day 23 Search in a row-wise sorted matrix ๐Ÿ”ฎ ๐Ÿฑ ๐Ÿ˜ƒ Solution

๐ŸŽ‰ Bonus Problems (Arrays)๐ŸŽ

Bonus Problem No. Problem Name Java โ˜•
NUM 1 Split Array in Three Equal Sum Subarrays ๐Ÿ’ฅ๐Ÿ“Š๐Ÿ”ข Solution
NUM 2 Repetitive Addition of Digits ๐Ÿ”ข๐Ÿ”„๐Ÿ’ฅ Solution
NUM 3 Maximize Number of 1's ๐Ÿ”ข๐Ÿ”ฅ๐Ÿ’ก Solution
NUM 4 Last Moment Before All Ants Fall Out of a Plank ๐Ÿœ๐ŸŒโณ Solution

๐ŸŽ‰ Bonus Problems (Strings)๐ŸŽ

Bonus Problem No. Problem Name Java โ˜•
NUM 1 Fizz Buzz ๐Ÿ’ฅ๐Ÿ“Š๐Ÿ”ข Solution
NUM 2 CamelCase Pattern Matching ๐Ÿš€๐Ÿ›ค๏ธ๐ŸŸฐ Solution
NUM 3 Palindrome Sentence โœ…๐Ÿ‘‘โœ… Solution
NUM 4 Minimum repeat to make substring ๐Ÿš€๐Ÿ‘‘โœ… Solution
NUM 5 Longest Prefix Suffix ๐Ÿ”ข๐Ÿ‘‘๐ŸŸฐ Solution
NUM 6 Integer to Words ๐Ÿ’ฅ๐ŸŽ๐Ÿš€ Solution

๐ŸŽ‰ 160 Days of GFG Challenge ๐ŸŽ


Here's the updated list with the problem days properly formatted in the solution folder:

Day Problem Name Java โ˜•
Day 1 Second Largest ๐Ÿ”ข๐Ÿ… Solution
Day 2 Move All Zeroes to End ๐Ÿ”„0๏ธโƒฃ Solution
Day 3 Reverse an Array ๐Ÿ”„๐Ÿ” Solution
Day 4 Rotate Array ๐Ÿ”„๐Ÿ”„ Solution
Day 5 Next Permutation ๐Ÿ”ข๐Ÿ”„ Solution
Day 6 Majority Element II ๐Ÿ”ข๐Ÿ‘ฅ Solution
Day 7 Stock Buy and Sell โ€“ Multiple Transactions Allowed ๐Ÿ“ˆ๐Ÿ’น Solution
Day 8 Stock Buy and Sell โ€“ Max One Transaction Allowed ๐Ÿ“‰๐Ÿ’ต Solution
Day 9 Minimize the Heights II โฌ†๏ธโฌ‡๏ธ Solution
Day 10 Kadane's Algorithm ๐Ÿ’ก๐Ÿ“Š Solution
Day 11 Maximum Product Subarray ๐Ÿ”ข๐Ÿ’ฅ Solution
Day 12 Max Circular Subarray Sum ๐Ÿ”๐Ÿ’ฏ Solution
Day 13 Smallest Positive Missing Number ๐Ÿ”ขโ“ Solution
Day 14 Implement Atoi ๐Ÿ”ข๐Ÿ’ป Solution
Day 15 Add Binary Strings 0๏ธโƒฃ1๏ธโƒฃโž• Solution
Day 16 Anagram ๐Ÿ”„โœ๏ธ Solution
Day 17 Non Repeating Character ๐Ÿ” โŒ Solution
Day 18 Search Pattern (KMP Algorithm) ๐Ÿ”๐Ÿ“œ Solution
Day 19 Min Chars to Add for Palindrome ๐Ÿ”๐Ÿ“ƒ Solution
Day 20 Strings Rotations of Each Other ๐Ÿ”๐Ÿ“ƒ Solution
Day 21 Sort 0s, 1s and 2s ๐Ÿ“ƒ๐Ÿ“โœ๏ธ Solution
Day 22 Find H-Index ๐Ÿ”ฎ ๐Ÿฑ ๐Ÿ˜ƒ Solution
Day 23 Count Inversions ๐Ÿ˜€ ๐Ÿงก ๐ŸŒบ Solution
Day 24 Overlapping Intervals โค๏ธ ๐Ÿ”ฎ ๐Ÿถ Solution
Day 25 Insert Interval๐ŸŒธ ๐Ÿ’Ž ๐Ÿ˜ƒ Solution
Day 26 Non-overlapping Intervals๐Ÿ˜ƒ ๐ŸŒธ ๐Ÿฑ Solution
Day 27 Merge Without Extra Space๐Ÿ˜€ โค๏ธ ๐ŸŒบ Solution
Day 28 Number of occurrence๐Ÿ˜ƒ ๐ŸŒธ ๐Ÿถ Solution
Day 29 Sorted and Rotated Minimumโค๏ธ ๐ŸŒบ ๐Ÿ˜€ Solution
Day 30 Search in Rotated Sorted Array๐Ÿ”ฎ ๐Ÿ˜ƒ ๐ŸŒบ Solution
Day 31 Peak element๐Ÿ’Ž ๐Ÿงก ๐ŸŒธ Solution
Day 32 K-th element of two Arraysโญ๐Ÿ’ซโญ Solution
Day 33 Aggressive Cows๐Ÿ”ฅโ˜˜๏ธ๐Ÿ Solution
Day 34 Allocate Minimum Pages๐Ÿ“„๐Ÿ“„๐Ÿ“„ Solution
Day 35 Kth Missing Positive Number in a Sorted Array๐Ÿ“œ๐Ÿ”ข๐ŸŽฏ Solution
Day 36 Spirally traversing a matrix๐ŸŽฏ๐Ÿ”ข๐Ÿ“ƒ Solution
Day 37 Rotate by 90 degree๐Ÿจ๐Ÿข๐Ÿ“ƒ Solution
Day 38 Search in a Row-Column sorted matrix๐Ÿ“ƒ๐ŸŽฏ๐Ÿ”ข Solution
Day 39 Search in a row-wise sorted matrix๐Ÿ”ฎ ๐Ÿฑ ๐Ÿ˜ƒ Solution

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •