Skip to main content

GFG basic problems 0301-0400

Start Practicing: https://www.geeksforgeeks.org/

Problem NameDifficultySolution Link
Ishaan's InternshipBasicView Solutions
Sort first half in ascending and second half in descendingBasicView Solutions
Sandwiched_VowelsBasicView Solutions
Repeated IDsBasicView Solutions
Countries at warBasicView Solutions
Special Series SumBasicView Solutions
Perfect Square StringBasicView Solutions
Parity of unsigned integerBasicView Solutions
Common DivisorsBasicView Solutions
Multiply 2 matricesBasicView Solutions
Fibonacci in the arrayBasicView Solutions
Count zeroBasicView Solutions
Java Collection | Set 3 (HashMap) Part-1BasicView Solutions
How many pizzas ?BasicView Solutions
Why is Melody so chocolaty?BasicView Solutions
Squares DifferenceBasicView Solutions
Perfect Reversible StringBasicView Solutions
Java IteratorBasicView Solutions
Check if divisible by 5BasicView Solutions
Maximum Perimeter of Triangle from arrayBasicView Solutions
Repeated sum of digitsBasicView Solutions
Tough CompetitorsBasicView Solutions
Equal Sum and XORBasicView Solutions
Sum of divisorsBasicView Solutions
A guy with a mental problemBasicView Solutions
Perfect ArrayBasicView Solutions
Find the position of M-th itemBasicView Solutions
C++ STL | Set 6 (set)BasicView Solutions
The OR GateBasicView Solutions
C++ STL | Set 8 (unordered set)BasicView Solutions
C++ STL | Set 4 (stack)BasicView Solutions
Sum of diagonalsBasicView Solutions
Pattern-1BasicView Solutions
Even occurring elementsBasicView Solutions
Check Binary StringBasicView Solutions
Elements before which no element is biggerBasicView Solutions
Product of factors of numberBasicView Solutions
Disarium NumberBasicView Solutions
Multiples PowerBasicView Solutions
Friendly ArrayBasicView Solutions
Find sum of even factors of a numberBasicView Solutions
Count Pairs Odd XorBasicView Solutions
Sum of Digits Prime/Non-Prime BasicView Solutions
Check if divisible by 36BasicView Solutions
Pronic NumberBasicView Solutions
Find The SequenceBasicView Solutions
Minimum sum of two elements from two arraysBasicView Solutions
Max-Min conversionBasicView Solutions
Find the remainder BasicView Solutions
The AND GateBasicView Solutions
Square DivisorsBasicView Solutions
One's ComplementBasicView Solutions
LCM of given array elementsBasicView Solutions
Tiger Zinda HaiBasicView Solutions
Composite SeriesBasicView Solutions
Special Odd Series SumBasicView Solutions
Jumpy BallBasicView Solutions
Count the characters in each word in a given sentenceBasicView Solutions
Find Substring from last of the Given StringBasicView Solutions
Geek's WeightBasicView Solutions
Factor OR MultipleBasicView Solutions
2's ComplementBasicView Solutions
Difference between sums of odd and even digitsBasicView Solutions
Factorial NumberBasicView Solutions
Triangle growing downwardsBasicView Solutions
Sum of large numbersBasicView Solutions
Wrong BallBasicView Solutions
Find number of days between two given datesBasicView Solutions
The XOR GateBasicView Solutions
Perfect Cubes in a RangeBasicView Solutions
Gray Code BasicView Solutions
Java InterfaceBasicView Solutions
TreeMap OperationsBasicView Solutions
The Modulo TaskBasicView Solutions
Maximum weight differenceBasicView Solutions
Evaluate the expressionBasicView Solutions
Total distance travelled in an arrayBasicView Solutions
K-th distinct elementBasicView Solutions
King's WarBasicView Solutions
XOR playBasicView Solutions
Stuffs DivisionBasicView Solutions
Trimorphic NumberBasicView Solutions
Sum the common elementsBasicView Solutions
Strange Sort - copyBasicView Solutions
Sum of ConsecutivesBasicView Solutions
Interesting PatternsBasicView Solutions
String of CommonsBasicView Solutions
C++ STL | Set 7 (unordered map)BasicView Solutions
TracksBasicView Solutions
Check whether two numbers differ at one bit position onlyBasicView Solutions
The MuskteersBasicView Solutions
Is digital root of N a prime?BasicView Solutions
Crazy StringBasicView Solutions
Corner Digits SumBasicView Solutions
Floating point number even or oddBasicView Solutions
set-bits and numberBasicView Solutions
Modulus of two double numbersBasicView Solutions
Distinct Elements in a StreamBasicView Solutions
Face off TournamentBasicView Solutions
Message decodingBasicView Solutions

Now, you can see the list of problems in a table format. You can click on the problem link to view the problem on the LeetCode website. You can also click on the solution link to view the solution of the problem.