Skip to main content

GFG basic problems 0101-0200

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

Problem NameDifficultySolution Link
Sum of Binary TreeBasicView Solutions
Pattern 7BasicView Solutions
Find the Sum of Last N nodes of the Linked ListBasicView Solutions
Maximum product of two numbersBasicView Solutions
Sort in specific orderBasicView Solutions
Operating an arrayBasicView Solutions
Check if a number is power of another numberBasicView Solutions
Maximum in Struct ArrayBasicView Solutions
Anagram PalindromeBasicView Solutions
Merge two stringsBasicView Solutions
Print the Kth DigitBasicView Solutions
G.F SeriesBasicView Solutions
Modular NodeBasicView Solutions
Count Non-Leaf Nodes in TreeBasicView Solutions
Pattern 8BasicView Solutions
Extract MaximumBasicView Solutions
Keypad typingBasicView Solutions
Doubling the valueBasicView Solutions
Find unique elementBasicView Solutions
Smallest divisible numberBasicView Solutions
Finding PositionBasicView Solutions
Good or Bad stringBasicView Solutions
Zero Converter - PythonBasicView Solutions
Find Number of NumbersBasicView Solutions
Check set bitsBasicView Solutions
Total countBasicView Solutions
Remove consonants from a stringBasicView Solutions
Change the stringBasicView Solutions
Segregate Even and Odd numbersBasicView Solutions
Red OR GreenBasicView Solutions
Count zeros in a sorted matrixBasicView Solutions
Stack designerBasicView Solutions
Sort a StringBasicView Solutions
Minimum difference pairBasicView Solutions
Maximum repeating numberBasicView Solutions
Count the charactersBasicView Solutions
Print an array in Pendulum ArrangementBasicView Solutions
Data TypeBasicView Solutions
Pattern 11BasicView Solutions
Type of arrayBasicView Solutions
String with numbers at its endBasicView Solutions
Minimum Product of k IntegersBasicView Solutions
The Size ofBasicView Solutions
C++ Basic Data typesBasicView Solutions
Pattern 13BasicView Solutions
Permutations in arrayBasicView Solutions
Queue Push & PopBasicView Solutions
Professor and PartiesBasicView Solutions
Sort and Reverse VectorBasicView Solutions
Play with an arrayBasicView Solutions
Add two fractionsBasicView Solutions
Height of HeapBasicView Solutions
Matching PairBasicView Solutions
longest substring containing '1'BasicView Solutions
Circular Linked List TraversalBasicView Solutions
Java 1-d and 2-d ArrayBasicView Solutions
Count pair sumBasicView Solutions
Sort the string in descending orderBasicView Solutions
Reverse sub arrayBasicView Solutions
Positive and negative elementsBasicView Solutions
Remove Duplicates from unsorted arrayBasicView Solutions
Logical OperatorsBasicView Solutions
Half N by MBasicView Solutions
C++ STL | Set 1 (vector)BasicView Solutions
Toggle bits in the given rangeBasicView Solutions
Set the rightmost unset bitBasicView Solutions
Absolute Difference of 1BasicView Solutions
Sum of primesBasicView Solutions
Decimal to binaryBasicView Solutions
Thief trying to escapeBasicView Solutions
Anshuman's Favourite NumberBasicView Solutions
Alternative SortingBasicView Solutions
Product is even or odd?BasicView Solutions
Remove repeated digits in a given numberBasicView Solutions
Odd to EvenBasicView Solutions
Front to BackBasicView Solutions
Pairwise Consecutive ElementsBasicView Solutions
Sum of distinct elementsBasicView Solutions
Repetitive Addition Of DigitsBasicView Solutions
Find duplicates under given constraintsBasicView Solutions
Check if the door is open or closedBasicView Solutions
Remainder with 7BasicView Solutions
The Penalty ShootoutBasicView Solutions
Sum of f(a[i], a[j]) over all pairs in an array of n integersBasicView Solutions
Middle PatternBasicView Solutions
Welcome aboard - PythonBasicView Solutions
Check if divisible by 4BasicView Solutions
Minimum Difference among KBasicView Solutions
Squares in a MatrixBasicView Solutions
Nth Even Fibonacci NumberBasicView Solutions
Last index of a character in the stringBasicView Solutions
Inverse PermutationBasicView Solutions
Unique NumbersBasicView Solutions
Sums of i-th row and i-th columnBasicView Solutions
Midori and chocolatesBasicView Solutions
Power of FourBasicView Solutions
Check if the number is FibonacciBasicView Solutions
Encrypt the string - 1BasicView Solutions
Remove all characters other than alphabetsBasicView Solutions
Rearrange the arrayBasicView 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.