Skip to content

Category Archives: GeeksforGeeks Initiatives

The Gamma distribution is specifically used to determine the exponential distribution, Erlang distribution, and chi-squared distribution. It is also referred to as the two-parameter family… Read More
Given an integer N, the task is to generate a permutation from 1 to N such that the bitwise XOR of differences between adjacent elements… Read More
Given an array arr[] of length N and integer K, the task is to print subarray ranges (starting index, ending index) of the array where… Read More
Given an integer N, the task is to generate an array of N distinct integers. Such that the GCD of all the elements of the… Read More
Given a binary tree and an integer K, the task is to print the level order traversal in such a way that first K levels… Read More
Given an array A of N integers, where: Each element of array represents the bit size of an imaginary unsigned integer datatype. If ith imaginary… Read More
Given two strings A and B that are anagrams of each other, the task is to convert A to B if possible in minimum number… Read More
Given an array arr[] of size N, the task is to find minimum number of steps required to reduce all Array elements to 0 except… Read More
Given an array of strings Arr[]. The task is to sort them in lexicographic order. Examples: Input: Arr[] = {“sort”, “this”, “list”}Output:  [list, sort, this]… Read More
Given a sorted array arr[] consisting of N integers without any duplicates, the task is to find the ranges of consecutive numbers from that array.… Read More
Given an array arr[ ] with even length N, the task is to find the number of cyclic shifts (rotations) possible for this array, such… Read More
Text input is a basic component that allows users to input text through the keyboard. It is widely used in mobile applications for taking usernames,… Read More
JavaScript is based on functional programming. Therefore, functions are fundamental building blocks of JavaScript. So the function is called first-class citizens in JavaScript. Syntax: Define… Read More
React Native doesn’t come with any FAB component built-in. A floating action button (FAB) is used whenever you want to display a button on the… Read More
A string is a sequence of characters enclosed within single or double-quotes. A string can also be looped through and modifications can be made to… Read More

Start Your Coding Journey Now!