🌟 Day 39 of #geekstreak2024 🚀
Challenge: Search in a Row-Wise Sorted Matrix 🔍
📜 Given a n x m matrix that is row-wise sorted and an integer x, check if x is present in the matrix.
#gfg160@geeksforgeeks
🌟 Day 37 of #geekstreak2024 🚀
Challenge: Rotate Matrix by 90 Degrees ↩️
🔄 Given a square matrix of size n x n, rotate it 90 degrees anticlockwise in place. No extra space is allowed.
#geekstreak2024#gfg160@geeksforgeeks
🌟 Day 35 of #geekstreak2024 🚀
Challenge: Kth Missing Positive Number in a Sorted Array ➕🔢
🔍 Given a sorted array of distinct positive integers, find the k-th missing positive number from the sequence.
#gfg160@geeksforgeeks
🌟 Day 34 of #geekstreak2024 🚀
Challenge: Allocate Minimum Pages 📚👩🎓
🔍 Given an array of books with page counts and k students, allocate books to minimize the maximum pages assigned to any student, following the rules of contiguous assignment.
#gfg160@geeksforgeeks
🌟 Day 33 of #geekstreak2024 🚀
Challenge: Aggressive Cows 🐄🏠
🔍 Task: Given stall positions and k aggressive cows, maximize the minimum distance between any two cows when placed in the stalls.
#geekstreak2024#gfg160@geeksforgeeks
🌟 Day 32 of #geekstreak2024 🚀
Challenge: K-th Element of Two Sorted Arrays 🔗
🔍 Task: Find the k-th smallest element in the combined sorted array formed from two sorted arrays a[] and b[].
#geekstreak2024#gfg160@geeksforgeeks
🌟 Day 31 of #geekstreak2024 🚀
Challenge: Peak Element 🔗
🔍 Task: Locate a peak element index in an array where adjacent elements differ. A peak is greater than its neighbors. The solution will be correct if it identifies any valid peak index.
#gfg160@geeksforgeeks
🌟 Day 30 of #geekstreak2024 🚀
Challenge: Search in Rotated Sorted Array 🔗
🔍 Task: Utilize binary search in a rotated sorted array to find the index of a target key efficiently. Return -1 if the key is not present.
#geekstreak2024#gfg160@geeksforgeeks
🌟 Day 29 of #geekstreak2024 🚀
Challenge: Sorted and Rotated Minimum 🔗
🔍 Task: Identify the minimum element in a sorted and rotated array using binary search to maintain efficiency.
#geekstreak2024#gfg160@geeksforgeeks
🌟 Day 28 of #geekstreak2024 🚀
Challenge: Number of Occurrences 🔗
🔍 Task: Find the count of a target number in a sorted array using efficient lower and upper bound techniques.
#geekstreak2024#gfg160@geeksforgeeks
🌟 Day 27 of #geekstreak2024 🚀
Challenge: Merge Without Extra Space 🔗
🔍 Task: Merge two sorted arrays without using extra space. Adjust the arrays so one contains the smallest elements and the other the largest.
#geekstreak2024#gfg160@geeksforgeeks
🌟 Day 26 of #geekstreak2024 🚀
Challenge: Non-overlapping Intervals 🔗
🔍 Task: Find the minimum number of intervals to remove from a list of intervals to ensure no overlaps remain.
#geekstreak2024#gfg160@geeksforgeeks
🌟 Day 25 of #geekstreak2024 🚀
Challenge: Insert Interval 🔗
🔍 Task: Insert a new interval into a sorted array of non-overlapping intervals, ensuring the array remains sorted and non-overlapping.
#gfg160@geeksforgeeks
🌟 Day 24 of #geekstreak2024 🚀
Challenge: Overlapping Intervals 🔗
🔍 Task: Given an array of intervals arr[][], your task is to merge all overlapping intervals.
#gfg160@geeksforgeeks
🌟 Day 23 of #geekstreak2024 🚀
Challenge: Count Inversions 🔢
🔍 Task: Given an array of integers, your task is to find the Inversion Count. An inversion is formed when two elements arr[i] and arr[j] satisfy arr[i] > arr[j] and i < j.
#gfg160@geeksforgeeks
🌟 Day 22 of #geekstreak2024 🚀
Challenge: Find H-Index 📚
🔍 Task: Determine the H-Index from a given array of citation counts. The H-Index represents the maximum number of papers with at least that many citations! 📊
#gfg160@geeksforgeeks
🌟 Day 21 of #geekstreak2024 🚀
Challenge: Sort 0s, 1s, and 2s 🔢
🔍 Task: Rearrange the elements of an array containing only 0s, 1s, and 2s into ascending order using an efficient sorting approach! 🎯
#gfg160@geeksforgeeks
🌟 Day 20 of #geekstreak2024 🚀
Challenge: Strings Rotations of Each Other 🔄
🔍 Task: Verify if one string is a rotated version of another. By exploring rotations, uncover the connection between these string twins! 🌀
#gfg160@geeksforgeeks
🌟 Day 19 of #geekstreak2024 🚀
Challenge: Minimum Characters to Add at Front for Palindrome 🧵
🔍 Task: Find the minimum characters required to prepend to the given string to transform it into a palindrome. Let the symmetry begin! 🔄
#gfg160@geeksforgeeks