Skip to main content

53 docs tagged with "Arrays"

View all tags

4Sum II (LeetCode)

Given a string s, sort it in decreasing order based on the frequency of the characters. The frequency of a character is the number of times it appears in the string.

Card Flipping Game

This document provides a solution to the Card Flipping Game problem, where we need to find the smallest number that is on the front of a card and not on the back of any card.

Count Odd Even

This document covers methods to count the number of odd and even integers in an array.

Count The Zeros

A solution to the problem of counting the number of zeros in the array

Counting Bits

This is a solution to the Counting Bits problem on LeetCode.

Design an ATM Machine

This document provides solutions to this problem implemented in C++, Java, and Python.

Kth Smallest

This tutorial covers the solution to the Kth Smallest problem from the GeeksforGeeks.

Largest Element In Array

This tutorial covers the solution to the Largest Element In Array problem from the GeeksforGeeks website, featuring implementations in C++.

Majority Element II

This document provides a solution to the Majority Element II problem, where we need to find all elements that appear more than ⌊ n/3 βŒ‹ times.

Max Min

This document covers methods to find the maximum and minimum elements in an array using various programming languages.

Min Max Game

This document provides solutions to this problem implemented in C++, Java, and Python.

Minimum number of jumps

find the minimum number of jumps required to reach the end of an array, given that each element represents the maximum length of the jump that can be made from that position.

Plus One

This tutorial covers the solution to the Plus One problem from the GeeksforGeeks.

Reducing Dishes

This document provides a solution to the Reducing Dishes problem, where we need to maximize the sum of the satisfaction of dishes.

Rotate Array

This tutorial covers the solution to the Rotate Array problem from the GeeksforGeeks website, featuring implementations in C++.

Set Mismatch

This is a solution to the Set Mismatch problem on LeetCode.

Sort 0s, 1s And 2s

This tutorial covers the solution to the SSort 0s, 1s and 2s problem from the GeeksforGeeks website.

Special Array II

This document provides solutions to this problem implemented in C++, Java, and Python.