"Problem of the Day"
Solve this question to get points
Given two strings A and B. Find minimum number of times A has to be repeated such that B is a Substring of it. If B can never be a substring then return -1.
Full Problem: https://practice.geeksforgeeks.org/problems/5ef42ba605fff6cd60b1b2dd2ee230ade1fa25b0/1
Solve this question to get points
Given two strings A and B. Find minimum number of times A has to be repeated such that B is a Substring of it. If B can never be a substring then return -1.
Full Problem: https://practice.geeksforgeeks.org/problems/5ef42ba605fff6cd60b1b2dd2ee230ade1fa25b0/1
practice.geeksforgeeks.org
Minimum times A has to be repeated such that B is a substring of it | Practice | GeeksforGeeks
Given two strings A and B. Find minimum number of times A has to be repeated such that B is a Substring of it. If B can never be a substring then return -1.
Example 1:
Input:
A = "abcd"
B = "cdabcdab"
Output:
Example 1:
Input:
A = "abcd"
B = "cdabcdab"
Output:
Data, Data Everywhere!
Data has become crucial for businesses to maintain consistency in the business. All it takes is the right data analytic tool and a professional data analyst to make the right approach.
But the question arises, how to choose the best analytical tool from the pool?
To get business in the right decision, here we have listed down the best Big Data Analytics tools: https://bit.ly/BigDataAnalyticsTools
Data has become crucial for businesses to maintain consistency in the business. All it takes is the right data analytic tool and a professional data analyst to make the right approach.
But the question arises, how to choose the best analytical tool from the pool?
To get business in the right decision, here we have listed down the best Big Data Analytics tools: https://bit.ly/BigDataAnalyticsTools
In this webinar, we have invited Shivani Reddy, Software Engineer at Paypal, to share her interview preparation strategies.
Join the live webinar for some useful tips, tricks, and to-do's that can prove to be helpful for you before your next tech interview. 💁♂️
We will also have a discussion on "How off-campus placements work" and "Is off-campus placement harder than on-campus?"
Watch the live🔴 stream at 7:00 PM IST today: https://youtu.be/MBoUWHTH_9s
Join the live webinar for some useful tips, tricks, and to-do's that can prove to be helpful for you before your next tech interview. 💁♂️
We will also have a discussion on "How off-campus placements work" and "Is off-campus placement harder than on-campus?"
Watch the live🔴 stream at 7:00 PM IST today: https://youtu.be/MBoUWHTH_9s
"Problem of the Day"
Solve this question to get points
Given an array arr[ ] of N positive integers, the task is to find the greatest element on the left of every element in the array which is strictly smaller than itself, if this element does not exist for an index print "-1".
Full Problem: https://practice.geeksforgeeks.org/problems/smaller-on-left20360700/1
Solve this question to get points
Given an array arr[ ] of N positive integers, the task is to find the greatest element on the left of every element in the array which is strictly smaller than itself, if this element does not exist for an index print "-1".
Full Problem: https://practice.geeksforgeeks.org/problems/smaller-on-left20360700/1
practice.geeksforgeeks.org
Smaller on Left | Practice | GeeksforGeeks
Given an array arr[ ] of N positive integers, the task is to find the greatest element on the left of every element in the array which is strictly smaller than itself, if this element does not exist for an index print "-1".
Example
Example
Identifying the Correct Command, Executing Multiple Commands at Once, History of the Executed Commands, and many more Linux Commands tips and tricks are listed in this blog. We have divided the following information into several parts. The first few are basics, others are directory-related, and the rest are advanced tips.
Read more here: https://www.geeksforgeeks.org/top-linux-command-line-tips-and-tricks/
Read more here: https://www.geeksforgeeks.org/top-linux-command-line-tips-and-tricks/
Do you wish to be in OLX? Time to take home tricks and tips that will help you in your next tech interviews.✍
We have just the right person here to help🤝 you with cracking OLX interviews. Watch Mr. Hukam Singh, SDE 2 at OLX, will not only guide you towards acing interviews. 💥
Join the live 🔴 stream at 7:00 PM IST today: https://youtu.be/fYtIdYhQxPE
We have just the right person here to help🤝 you with cracking OLX interviews. Watch Mr. Hukam Singh, SDE 2 at OLX, will not only guide you towards acing interviews. 💥
Join the live 🔴 stream at 7:00 PM IST today: https://youtu.be/fYtIdYhQxPE
"Problem of the Day"
Solve this question to get points
Given a singly linked list of size N, and an integer K. You need to swap the Kth node from the beginning and Kth node from the end of the linked list.
Full Problem: https://practice.geeksforgeeks.org/problems/swap-kth-node-from-beginning-and-kth-node-from-end-in-a-singly-linked-list/1
Solve this question to get points
Given a singly linked list of size N, and an integer K. You need to swap the Kth node from the beginning and Kth node from the end of the linked list.
Full Problem: https://practice.geeksforgeeks.org/problems/swap-kth-node-from-beginning-and-kth-node-from-end-in-a-singly-linked-list/1
practice.geeksforgeeks.org
Swap Kth nodes from ends | Practice | GeeksforGeeks
Given a singly linked list of size N, and an integer K. You need to swap the Kth node from the beginning and Kth node from the end of the linked list. Swap the nodes through the links. Do not change the content of the nodes.
&n
&n
Which Data Science Skills do You Want To Have?
Anonymous Poll
9%
Business & Communication
27%
Data Science / ML Tools/Methods
30%
Software Development
28%
SQL / Databases
14%
Big Data / Cloud
11%
Deep Learning
36%
All of the Above
Want to level up your DSA game? 🤩
Watch this mock interview to evaluate your strengths & weaknesses alike. A great way for self-examination, make sure to formulate your tactics before your next interview! 💁♂️
In this webinar, we have Himanshu Agrawal, a college student who will be interviewed by Mr. Siddhartha Hazra, the mentor at GeeksforGeeks.
Join the live 🔴stream at 7:00 PM IST today: https://youtu.be/f7XSFu4jFL0
Watch this mock interview to evaluate your strengths & weaknesses alike. A great way for self-examination, make sure to formulate your tactics before your next interview! 💁♂️
In this webinar, we have Himanshu Agrawal, a college student who will be interviewed by Mr. Siddhartha Hazra, the mentor at GeeksforGeeks.
Join the live 🔴stream at 7:00 PM IST today: https://youtu.be/f7XSFu4jFL0
"Problem of the Day"
Solve this question to get points
Given a string, find the minimum number of characters to be inserted to convert it to palindrome.
Full Problem: https://practice.geeksforgeeks.org/problems/form-a-palindrome2544/1
Solve this question to get points
Given a string, find the minimum number of characters to be inserted to convert it to palindrome.
Full Problem: https://practice.geeksforgeeks.org/problems/form-a-palindrome2544/1
www.geeksforgeeks.org
Form a palindrome | Practice | GeeksforGeeks
Given a string s, the task is to find the minimum number of characters to be inserted to convert it to a palindrome.
Note: A palindrome is a string that reads the same backward as forward for example, strings "aba", "abccba" are palindromes
Examples:
Note: A palindrome is a string that reads the same backward as forward for example, strings "aba", "abccba" are palindromes
Examples:
Most of the Android as well as iOS devices come with an inbuilt stopwatch application. In this video, we will be taking a look at creating a simple stopwatch application in a flutter.
This project on How to build a simple stopwatch application in flutter will surely help beginner or intermediate level Android developers to brush up and enhance their Android development skills.
To watch this video: https://www.geeksforgeeks.org/videos/build-a-simple-stopwatch-application-in-flutter/
This project on How to build a simple stopwatch application in flutter will surely help beginner or intermediate level Android developers to brush up and enhance their Android development skills.
To watch this video: https://www.geeksforgeeks.org/videos/build-a-simple-stopwatch-application-in-flutter/
Want to learn Data Science? 🤩
Here you go! We've made it really simple for you with our 5 Days Data Science Crash Course for Free. 🤝
You'll learn the components of Data Science and not only that you'll also make 2 projects on Data Analysis with our Custom Datasets.
Starting from 24th March 2022.
To Join the master BootCamp: https://practice.geeksforgeeks.org/courses/data-science-bootcamp
Here you go! We've made it really simple for you with our 5 Days Data Science Crash Course for Free. 🤝
You'll learn the components of Data Science and not only that you'll also make 2 projects on Data Analysis with our Custom Datasets.
Starting from 24th March 2022.
To Join the master BootCamp: https://practice.geeksforgeeks.org/courses/data-science-bootcamp
"Problem of the Day"
Solve this question to get points
Given an array A of N length. We need to calculate the next greater element for each element in a given array. If the next greater element is not available in a given array then we need to fill -10000000 at that index place.
Full Problem: https://practice.geeksforgeeks.org/problems/smallest-greater-elements-in-whole-array2751/1
Solve this question to get points
Given an array A of N length. We need to calculate the next greater element for each element in a given array. If the next greater element is not available in a given array then we need to fill -10000000 at that index place.
Full Problem: https://practice.geeksforgeeks.org/problems/smallest-greater-elements-in-whole-array2751/1
practice.geeksforgeeks.org
Smallest greater elements in whole array | Practice | GeeksforGeeks
Given an array A of N length. We need to calculate the next smallest greater element for each element in a given array. If the next greater element is not available in a given array then we need to fill -10000000 at that index place.
Example 1:
Example 1:
Are you hungry for an SDE job in Swiggy? Boost your preparation, confidence & knowledge to face the real interview with this week's interview series. Get yourself enrolled in it. Mark the date 27th March, 7:00 to 8:00 PM IST.
To get this item on your screens: https://bit.ly/IS_Swiggy
To get this item on your screens: https://bit.ly/IS_Swiggy
Heyyaa Geeks, 🙋♀️
Do you know what's coming your way to cool you down this summertime?? It's nothing but Geeks Summer Carnival.🤩
But before the main event we do have something for you, 🎊so enjoy this carnival to the fullest. Go to the link and grab your tickets in the pre-event. It's raining 🌧️ heavy discounts with much more fun than ever before. Starting from 26th March onwards. ✨
To grab the tickets now: https://bit.ly/GSC22Tickets
Do you know what's coming your way to cool you down this summertime?? It's nothing but Geeks Summer Carnival.🤩
But before the main event we do have something for you, 🎊so enjoy this carnival to the fullest. Go to the link and grab your tickets in the pre-event. It's raining 🌧️ heavy discounts with much more fun than ever before. Starting from 26th March onwards. ✨
To grab the tickets now: https://bit.ly/GSC22Tickets
"Problem of the Day"
Solve this question to get points
Given an array Arr of size N and a positive integer K, find the sub-array of length K with the maximum average.
Full Problem: https://practice.geeksforgeeks.org/problems/maximum-average-subarray5859/1
Solve this question to get points
Given an array Arr of size N and a positive integer K, find the sub-array of length K with the maximum average.
Full Problem: https://practice.geeksforgeeks.org/problems/maximum-average-subarray5859/1
practice.geeksforgeeks.org
Maximum average subarray | Practice | GeeksforGeeks
Given an array Arr of size N and a positive integer K, find the sub-array of length K with the maximum average.
Example 1:
Input:
K = 4, N = 6
Arr[] = {1, 12, -5, -6, 50, 3}
Output: 12 -5 -6 50
Explanation: Maximum average is
Example 1:
Input:
K = 4, N = 6
Arr[] = {1, 12, -5, -6, 50, 3}
Output: 12 -5 -6 50
Explanation: Maximum average is
"Problem of the Day"
Solve this question to get points
Given a string S which only contains lowercase alphabets. Find the length of the longest substring of S such that the characters in it can be rearranged to form a palindrome.
Full Problem: https://practice.geeksforgeeks.org/problems/longest-substring-whose-character-rearranged-can-form-a-palindrome/1
Solve this question to get points
Given a string S which only contains lowercase alphabets. Find the length of the longest substring of S such that the characters in it can be rearranged to form a palindrome.
Full Problem: https://practice.geeksforgeeks.org/problems/longest-substring-whose-character-rearranged-can-form-a-palindrome/1
practice.geeksforgeeks.org
Longest substring to form a Palindrome | Practice | GeeksforGeeks
Given a string S which only contains lowercase alphabets. Find the length of the longest substring of S such that the characters in it can be rearranged to form a palindrome.
Example 1:
Input:
S = "aabe"
Output:
3
Explanation
Example 1:
Input:
S = "aabe"
Output:
3
Explanation
🥰1
Most awaited QnA is here! 🤩
It's Meet & Greet 🤝 with none other than Mr. Sandeep Jain Sir, CEO and Founder at GeeksforGeeks.
Join the Insta live session at 6:00 PM IST today: https://www.instagram.com/gfg_campus_connect/
It's Meet & Greet 🤝 with none other than Mr. Sandeep Jain Sir, CEO and Founder at GeeksforGeeks.
Join the Insta live session at 6:00 PM IST today: https://www.instagram.com/gfg_campus_connect/
"Problem of the Day"
Solve this question to get points
Given a number X and two positions (from right side) in binary representation of x, write a program that swaps N bits at given two positions and returns the result.
Full Problem: https://practice.geeksforgeeks.org/problems/swap-bits5726/1
Solve this question to get points
Given a number X and two positions (from right side) in binary representation of x, write a program that swaps N bits at given two positions and returns the result.
Full Problem: https://practice.geeksforgeeks.org/problems/swap-bits5726/1
practice.geeksforgeeks.org
Swap bits | Practice | GeeksforGeeks
Given a number X and two positions (from right side) in binary representation of x, write a program that swaps N bits at given two positions and returns the result.
Example 1:
Input:
X = 47
P1 = 1
P2 = 5
N = 3
Output: 227
Example 1:
Input:
X = 47
P1 = 1
P2 = 5
N = 3
Output: 227