Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
GBlog
Three 90 Challenge: Bigger and Better
As we transit into the new phase, it's essential to fuel our inner drive for success. On popular demand, GeeksforGeeks is happy to announce that we are back with the Thre...
Read More
getopts Command in Linux with Examples
getopts is a very convenient bash script utility, which helps you to conveniently and gracefully handle the passing of flags(short version), and arguments in a clean, stan...
Read More
linux-command
Linux-Unix
Linux-misc-commands
SDH Full Form
SDH stands for Synchronous Digital Hierarchy and it refers to a multiplex technology used in the telecommunication. Synchronous Optical Network is internationally used and...
Read More
Computer Subject
Full Form
Digital Logic
Fluttertoast in Flutter
Fluttertoast is used to create a toast message by writing only one line of code. Below are some steps to create a Fluttertoast in Flutter. Basically here, we are creating ...
Read More
android
Flutter
Dart
Flutter UI-components
endDrawer Widget in Flutter
The endDrawer is the panel displayed to the side of the body (Scaffold Widget). It is generally hidden in mobile devices. We can open it by swiping in from right to left, ...
Read More
Flutter
Dart
Difference between Database Administrator (DBA) and Database Engineer
1. Database Administrator (DBA) : A database administrator is responsible for management of a database (DB). His/her duties involve administration, performance tuning, opt...
Read More
DBMS
Difference Between
Count of subarrays which forms a permutation from given Array elements
Given an array A[] consisting of integers [1, N], the task is to count the total number of subarrays of all possible lengths x (1 ? x ? N), consisting of a permutation of ...
Read More
Arrays
Greedy
Searching
Mathematical
permutation
subarray
DSA
Minimum flips required to convert given string into concatenation of equal substrings of length K
Given a binary string S and an integer K, the task is to find the minimum number of flips required to convert the given string into a concatenation of K-length equal sub-s...
Read More
Strings
Greedy
Pattern Searching
Searching
Mathematical
binary-string
substring
DSA
Find Second largest element in an array | Set 2
Given an array arr[] consisting of N integers, the task is to find the second largest element in the given array using N+log2(N) - 2 comparisons.Examples:Input : arr[] = {...
Read More
Arrays
Divide and Conquer
Searching
Mathematical
Competitive Programming
Recursion
DSA
Count of Reverse Bitonic Substrings in a given String
Given a string S, the task is to count the number of Reverse Bitonic Substrings in the given string.Reverse bitonic substring: A string in which the ASCII values of the ch...
Read More
Strings
Searching
bitonic
substring
strings
DSA
Count of substrings containing only the given character
Given a string S and a character C, the task is to count the number of substrings of S that contains only the character C.Examples:Input: S = "0110111", C = '1'Output: 9Ex...
Read More
Strings
Pattern Searching
Searching
Mathematical
substring
DSA
Subtraction of two large numbers using 10's complement
Given two strings str1 and str2 of given lengths N and M respectively, each representing a large number, the task is to subtract one from the other using 10's complement.E...
Read More
Strings
Algorithms
Mathematical
C++
School Programming
C++ Programs
DSA
Check if both halves of a string are Palindrome or not
Given a string str, the task is to check whether the given string can be split into two halves, each of which is palindromic. If it is possible, print Yes. Otherwise, prin...
Read More
Strings
Searching
palindrome
strings
DSA
Check if N leaves only distinct remainders on division by all values up to K
Given a two integers N and K, the task is to check if N leaves only distinct remainders when divided by all integers in the range [1, K]. If so, print Yes. Otherwise, prin...
Read More
Mathematical
Hash
Modular Arithmetic
School Programming
cpp-set
DSA
Smallest N digit number divisible by all possible prime digits
Given an integer N, the task is to find the smallest N digit number divisible by all possible prime digits, i.e, 2, 3, 5 and 7. Print -1 if no such number is possible.Exam...
Read More
Greedy
Mathematical
DSA
Check if a right-angled triangle can be formed by the given coordinates
Given three Cartesian coordinates, the task is to check if a right-angled triangle can be formed by the given coordinates. If it is possible to create a right-angled trian...
Read More
Mathematical
Geometric
triangle
School Programming
DSA
1
...
7489
7490
7491
...
11222