"Problem of the Day"
Solve this question to get points.
Given a string S that consists of only alphanumeric characters and dashes. The string is separated into N + 1 groups by N dashes. Also given an integer K.
Full Problem: https://bit.ly/3S38KUP
Solve this question to get points.
Given a string S that consists of only alphanumeric characters and dashes. The string is separated into N + 1 groups by N dashes. Also given an integer K.
Full Problem: https://bit.ly/3S38KUP
practice.geeksforgeeks.org
License Key Formatting | Practice | GeeksforGeeks
Given a string S that consists of only alphanumeric characters and dashes. The string is separated into N + 1 groups by N dashes. Also given an integer K.
We want to reformat the string S, such th
We want to reformat the string S, such th
π3π₯°1
Angular is a client-side TypeScript-based front-end web framework, that helps in building attractive, steady, and utilitarian web pages and web applications.
This Angular Cheat Sheet will provide you with the content at a glance with some quick accurate ready-to-use code snippets that will help you to build a fully-functional web application.
Start learning now: https://bit.ly/3S3paN9
This Angular Cheat Sheet will provide you with the content at a glance with some quick accurate ready-to-use code snippets that will help you to build a fully-functional web application.
Start learning now: https://bit.ly/3S3paN9
π4
Did you participate in Job-a-thon 13? Here's your chance to analyze your mistakes and improve. β
Join this live stream π΄at 10:30 PM IST, where Striver will provide you with the solutions and deep analysis of the Job-A-Thon 13.
To watch the live stream: https://youtu.be/EkIv4HuGGcQ
Join this live stream π΄at 10:30 PM IST, where Striver will provide you with the solutions and deep analysis of the Job-A-Thon 13.
To watch the live stream: https://youtu.be/EkIv4HuGGcQ
π2
"Problem of the Day"
Solve this question to get points.
Due to the rise of covid-19 cases in India, this year BCCI decided to organize knock-out matches in IPL rather than a league.
Full Problem: https://bit.ly/3LFQwq7
Solve this question to get points.
Due to the rise of covid-19 cases in India, this year BCCI decided to organize knock-out matches in IPL rather than a league.
Full Problem: https://bit.ly/3LFQwq7
practice.geeksforgeeks.org
IPL 2021 - Match Day 2 | Practice | GeeksforGeeks
Due to the rise of covid-19 cases in India, this year BCCI decided to organize knock-out matches in IPL rather than a league.
Today is matchday 2 and it is between the most loved team Chennai Super Kings and the most underrated team - Punjab King
Today is matchday 2 and it is between the most loved team Chennai Super Kings and the most underrated team - Punjab King
Docker is an open-source container management service and one of the most popular tools of DevOps.
It's a good practice to push your images to the docker hub profile as you donβt have to create it again and you can pull those images in your system as well as in the cloud with all your work saved in it.
With this video, let's delve into the docker concepts, learn to create a custom image, push it to the profile hub, and a lot more.
To watch the video now: https://bit.ly/3UwQ29K
It's a good practice to push your images to the docker hub profile as you donβt have to create it again and you can pull those images in your system as well as in the cloud with all your work saved in it.
With this video, let's delve into the docker concepts, learn to create a custom image, push it to the profile hub, and a lot more.
To watch the video now: https://bit.ly/3UwQ29K
π4
Ace DSA concepts with this 04 hours live stream.
Learn everything you need to know about strings, with our in-house mentors at 10:00 PM IST only on our youtube channel.
To watch the live stream: https://www.youtube.com/watch?v=a2MTyeZS_20
Learn everything you need to know about strings, with our in-house mentors at 10:00 PM IST only on our youtube channel.
To watch the live stream: https://www.youtube.com/watch?v=a2MTyeZS_20
π3
"Problem of the Day"
Solve this question to get points.
Geek has a string Sof size Nconsisting of characters from '0'to '9'. He wants to minimise the length of the string.
Full Problem: https://bit.ly/3C0Lp0C
Solve this question to get points.
Geek has a string Sof size Nconsisting of characters from '0'to '9'. He wants to minimise the length of the string.
Full Problem: https://bit.ly/3C0Lp0C
practice.geeksforgeeks.org
Reverse a String | Practice | GeeksforGeeks
You are given a string s. You need to reverse the string.
Example 1:
Input:
s = Geeks
Output: skeeG
Example 2:
Input:
s = for
Output: rof
Your Task:
You only need to complete the function reverseWord() that takes s as para
Example 1:
Input:
s = Geeks
Output: skeeG
Example 2:
Input:
s = for
Output: rof
Your Task:
You only need to complete the function reverseWord() that takes s as para
π5
So what do you think a resume requires, to grab the attention of any recruiter?
In every resume out there, you will find skills, relevant experience, and education, but what does it take to stand out from others? Well, this article is surely going to help you with it.
Here, we have listed down the best resume tips you must consider.
Check the article now: https://bit.ly/3xNqGux
In every resume out there, you will find skills, relevant experience, and education, but what does it take to stand out from others? Well, this article is surely going to help you with it.
Here, we have listed down the best resume tips you must consider.
Check the article now: https://bit.ly/3xNqGux
Hey GEEK ARMY, π€©
We are back with our 04th contest of CODE FESTA CHALLENGE.
Some Rules To Follow:
β This is the 2nd of the fourth contest
β The result will be calculated after the completion of all 4 contests every week and taking the average of all 4 contest ranks.
β It is a must to participate in all 4 contests to be eligible for rewards.
β The result will be calculated according to the number of questions solved in 40 minutes during the event timeline.
β This is a timed contest. Do not press back during this time as your responses will not be considered.
β If two people solve the same number of questions then the person who submitted earlier will on top.
β You will get only one chance to submit your response.
β Copying of solutions is strictly prohibited.
Starting from Today at Midnight! π
To stay updated click on the below link
CLICK HERE: https://discord.gg/NdGvxyHG?event=1017395675606044672
We are back with our 04th contest of CODE FESTA CHALLENGE.
Some Rules To Follow:
β This is the 2nd of the fourth contest
β The result will be calculated after the completion of all 4 contests every week and taking the average of all 4 contest ranks.
β It is a must to participate in all 4 contests to be eligible for rewards.
β The result will be calculated according to the number of questions solved in 40 minutes during the event timeline.
β This is a timed contest. Do not press back during this time as your responses will not be considered.
β If two people solve the same number of questions then the person who submitted earlier will on top.
β You will get only one chance to submit your response.
β Copying of solutions is strictly prohibited.
Starting from Today at Midnight! π
To stay updated click on the below link
CLICK HERE: https://discord.gg/NdGvxyHG?event=1017395675606044672
π1
"Problem of the Day"
Solve this question to get points.
Two players, Player 1 and Player 2, are given an integer N to play a game. The rules of the game are as follows π΄
Full Problem: https://bit.ly/3UBqAAc
Solve this question to get points.
Two players, Player 1 and Player 2, are given an integer N to play a game. The rules of the game are as follows π΄
Full Problem: https://bit.ly/3UBqAAc
practice.geeksforgeeks.org
The Bit Game | Practice | GeeksforGeeks
Two players, Player 1 and Player 2, are given an integer N to play a game. The rules of the game are as follows :
1. In one turn, a player can swap any 2 bits of N in its binary representation to make a new N.
2. In one turn, a player has to make a
1. In one turn, a player can swap any 2 bits of N in its binary representation to make a new N.
2. In one turn, a player has to make a
π1
Time for a self-evaluation! π
Know if you're placement ready with the Placement Assessment Test,β from 24th Sept to 25th Sept.
Also, stand a chance to get a scholarship on our Complete Interview Preparation course. π€©
To know more in detail and Participate Now: https://bit.ly/3r99cVC
Know if you're placement ready with the Placement Assessment Test,β from 24th Sept to 25th Sept.
Also, stand a chance to get a scholarship on our Complete Interview Preparation course. π€©
To know more in detail and Participate Now: https://bit.ly/3r99cVC
π3
"Problem of the Day"
Solve this question to get points.
You are given a matrix of dimension n*n. All the cells are initially, zero. You are given Q queries, which contains 4 integers a b c d where (a,b) is the TOP LEFT cell and (c,d) is the Bottom Right cell of a submatrix
Full Problem: https://bit.ly/3UNZkyu
Solve this question to get points.
You are given a matrix of dimension n*n. All the cells are initially, zero. You are given Q queries, which contains 4 integers a b c d where (a,b) is the TOP LEFT cell and (c,d) is the Bottom Right cell of a submatrix
Full Problem: https://bit.ly/3UNZkyu
practice.geeksforgeeks.org
Queries on a Matrix | Practice | GeeksforGeeks
You are given a matrix of dimension n*n. All the cells are initially, zero. You are given Q queries, which contains 4 integers a b c d where (a,b) is the TOP LEFT cell and (c,d) is the Bottom Right cell of a submatrix. Now, all the cel
π3β€1
Hey Geeks, π
We really hope that our "Introduction to Programming Languages" module helped you in starting your journey.
Now, get ready to go from basics to advanced with our "Must Do-DSA Topics" module, specially curated for beginners. π€©
You can find all the details in this pdf like from which date πwe are going to start this module and which topic will be covered.
Don't forget to share it with your mates.π€
To know in detail about the module: https://bit.ly/3BBgUNg
We really hope that our "Introduction to Programming Languages" module helped you in starting your journey.
Now, get ready to go from basics to advanced with our "Must Do-DSA Topics" module, specially curated for beginners. π€©
You can find all the details in this pdf like from which date πwe are going to start this module and which topic will be covered.
Don't forget to share it with your mates.π€
To know in detail about the module: https://bit.ly/3BBgUNg
π22π₯1
"Problem of the Day"
Solve this question to get points.
Tom and Jerry being bored in this pandemic, decides to play a game. Given an integer N.
Full Problem: https://practice.geeksforgeeks.org/problems/tom-and-jerry1325/1
Solve this question to get points.
Tom and Jerry being bored in this pandemic, decides to play a game. Given an integer N.
Full Problem: https://practice.geeksforgeeks.org/problems/tom-and-jerry1325/1
practice.geeksforgeeks.org
Tom and Jerry | Practice | GeeksforGeeks
Tom and Jerry being bored in this pandemic, decides to play a game. Given an integer N. On each player's turn, that player makes a move by subtracting a divisor of current N (which is less than N) from current N, thus forming
π7
Day 1: Introduction to Arrays
An array is a collection of items of the same data type stored at contiguous memory locations. For simplicity, we can think of an array as a fleet of stairs where on each step is placed a value.
There are three types of indexing in arrays:
1) 0 (zero-based indexing)
2) 1 (one-based indexing)
3) n (N-based indexing)
Types of arrays :
1) One-dimensional array (1-D arrays)
2) Multidimensional array
To learn more about how arrays are initialized, and different operations on arrays, the advantages & disadvantages of Arrays: https://bit.ly/3rqJlZP
To delve more into Arrays, do check these out:
Arrays in C/ C++: https://bit.ly/3SA0Z8I
Arrays in Java: https://bit.ly/3xlOfKD
Arrays in Python: https://bit.ly/3RiI55g
Arrays in C#: https://bit.ly/3C794MS
Go through these topics, we'll be providing the practice problems associated with these topics real soon.
An array is a collection of items of the same data type stored at contiguous memory locations. For simplicity, we can think of an array as a fleet of stairs where on each step is placed a value.
There are three types of indexing in arrays:
1) 0 (zero-based indexing)
2) 1 (one-based indexing)
3) n (N-based indexing)
Types of arrays :
1) One-dimensional array (1-D arrays)
2) Multidimensional array
To learn more about how arrays are initialized, and different operations on arrays, the advantages & disadvantages of Arrays: https://bit.ly/3rqJlZP
To delve more into Arrays, do check these out:
Arrays in C/ C++: https://bit.ly/3SA0Z8I
Arrays in Java: https://bit.ly/3xlOfKD
Arrays in Python: https://bit.ly/3RiI55g
Arrays in C#: https://bit.ly/3C794MS
Go through these topics, we'll be providing the practice problems associated with these topics real soon.
π32π₯6β€4π4
"Problem of the Day"
Solve this question to get points.
There are given N ropes of different lengths, we need to connect these ropes into one rope.
Full Problem: https://bit.ly/3dJa0h9
Solve this question to get points.
There are given N ropes of different lengths, we need to connect these ropes into one rope.
Full Problem: https://bit.ly/3dJa0h9
practice.geeksforgeeks.org
Minimum Cost of ropes | Practice | GeeksforGeeks
There are given N ropes of different lengths, we need to connect these ropes into one rope. The cost to connect two ropes is equal to sum of their lengths. The task is to connect the ropes with minimum cost. Given N size array arr[] contain
Must Do-DSA Topics - Day 2
Arrays Rotation: The rotation of arrays simply means to shift the array elements to the specified positions.
Letβs understand this concept with the problem using two approaches.
Given an array of integers arr[] of size N and an integer, the task is to rotate the array elements to the left by d positions.
To delve into this concept and approaches used: https://bit.ly/3BMSK2y
To practice more, check these out.
Problem 2: Program to cyclically rotate an array by one: https://bit.ly/3C9RJD0
Arrangement Rearrangement: If youβve given an array of elements of length N, ranging from 0 to N β 1. All elements may not be present in the array. If the element is not present then there will be -1 present in the array.
Find the full problem here: https://bit.ly/3xUQVPR
To practice more,
Problem2: Rearrange positive and negative numbers with constant extra space: https://bit.ly/3LPDR3V
You can find more of these problems to understand and practice here: https://bit.ly/3xW4kqU
Arrays Rotation: The rotation of arrays simply means to shift the array elements to the specified positions.
Letβs understand this concept with the problem using two approaches.
Given an array of integers arr[] of size N and an integer, the task is to rotate the array elements to the left by d positions.
To delve into this concept and approaches used: https://bit.ly/3BMSK2y
To practice more, check these out.
Problem 2: Program to cyclically rotate an array by one: https://bit.ly/3C9RJD0
Arrangement Rearrangement: If youβve given an array of elements of length N, ranging from 0 to N β 1. All elements may not be present in the array. If the element is not present then there will be -1 present in the array.
Find the full problem here: https://bit.ly/3xUQVPR
To practice more,
Problem2: Rearrange positive and negative numbers with constant extra space: https://bit.ly/3LPDR3V
You can find more of these problems to understand and practice here: https://bit.ly/3xW4kqU
π14π1
"Problem of the Day"
Solve this question to get points.
Geek is playing an array game. He is weak in the concepts of arrays. Geek is given two arrays arr[ ] and brr[ ] of the same size n.
Full Problem: https://bit.ly/3LPLeZp
Solve this question to get points.
Geek is playing an array game. He is weak in the concepts of arrays. Geek is given two arrays arr[ ] and brr[ ] of the same size n.
Full Problem: https://bit.ly/3LPLeZp
practice.geeksforgeeks.org
Fitting The Array | Practice | GeeksforGeeks
Geek is playing an array game. He is weak in the concepts of arrays. Geek is given two arrays arr[ ] and brr[ ] of the same size n. The array arr[ ] will be said to fit in array brr[ ] if by arranging the elements of both arrays, there exists a solut
π6
Must Do-DSA Topics: Day 3
Order Statistics: An order statistic tree is a variant of the binary search tree (or more generally, a B-tree) that supports two additional operations beyond insertion, lookup, and deletion.
Letβs understand this concept by finding the K'th smallest/largest element in an unsorted array. Given that all array elements are distinct.
Find the implementation of the approach here: https://bit.ly/3SooxxU
Practice more with:
Kβth Smallest/Largest Element using STL: https://bit.ly/3rbHebZ
Range Queries:
MOβs algorithm: The idea of MOβs algorithm is to pre-process all queries so that result of one query can be used in the next query.
To delve into this concept, letβs look into this problem with given an array and a set of query ranges: https://bit.ly/3SjUM15
Sparse Table: It is used for fast queries on a set of static data. Understand it with a practice problem: https://bit.ly/3y0BTrX
You can find more of these practice problems here: https://bit.ly/3UNBGBW
Order Statistics: An order statistic tree is a variant of the binary search tree (or more generally, a B-tree) that supports two additional operations beyond insertion, lookup, and deletion.
Letβs understand this concept by finding the K'th smallest/largest element in an unsorted array. Given that all array elements are distinct.
Find the implementation of the approach here: https://bit.ly/3SooxxU
Practice more with:
Kβth Smallest/Largest Element using STL: https://bit.ly/3rbHebZ
Range Queries:
MOβs algorithm: The idea of MOβs algorithm is to pre-process all queries so that result of one query can be used in the next query.
To delve into this concept, letβs look into this problem with given an array and a set of query ranges: https://bit.ly/3SjUM15
Sparse Table: It is used for fast queries on a set of static data. Understand it with a practice problem: https://bit.ly/3y0BTrX
You can find more of these practice problems here: https://bit.ly/3UNBGBW
π5π₯2