Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Misc
8.8K+ articles
Mathematical
7.8K+ articles
Strings
3.3K+ articles
Matrix
1.3K+ articles
Geometric
701+ articles
series
515+ articles
pattern-printing
171+ articles
area-volume-programs
132+ articles
Basic Coding Problems
371+ posts
Recent Articles
Popular Articles
XOR of Bitwise OR Pairs from Two Arrays
Last Updated: 31 December 2023
Given two integer arrays A[] and B[] of size N and M respectively. Another array C is formed of size N*M, containing Bitwise OR of all possible pairs of elements of A with...
read more
Bit Magic
Picked
DSA
Basic Coding Problems
Bitwise-XOR
Bitwise-OR
Sorting Array with Two Swaps
Last Updated: 08 December 2023
Given an array A[] that represents a permutation of the N numbers, the task is to determine if it's possible to sort the array using two swaps. If it is not possible retur...
read more
Sorting
Geeks Premier League
DSA
Basic Coding Problems
Geeks Premier League 2023
Program to convert float decimal to Octal number
Last Updated: 11 January 2024
Write a program that converts a floating-point decimal number into its octal format. The program should take a number and the precision for the octal fractional part as in...
read more
Mathematical
Picked
Geeks Premier League
DSA
Basic Coding Problems
Geeks Premier League 2023
Program to print double sided Stair-Case Pattern
Last Updated: 03 January 2024
Creating a double-sided staircase pattern is a fun and educational exercise that helps practice programming skills, especially loops and conditional statements. In this ar...
read more
Picked
Geeks Premier League
DSA
Basic Coding Problems
Geeks Premier League 2023
Solving Binary String Modulo Problem
Last Updated: 17 January 2024
Given a string "s" and an integer "m" your objective is to calculate the remainder "r" when the decimal value of binary string "s" is divided by "m".Examples: Input: s = "...
read more
Bit Magic
Geeks Premier League
DSA
Basic Coding Problems
math
Algorithms-Bit Algorithms
Geeks Premier League 2023
Program for removing i-th character from a string
Last Updated: 04 April 2024
Given a string S along with an integer i. Then your task is to remove ith character from S.Examples:Input: S = Hello World!, i = 7Output: Hello orld!Explanation: The Xth c...
read more
Strings
Picked
Geeks Premier League
DSA
Basic Coding Problems
Geeks Premier League 2023
Program to find Minkowski Distance
Last Updated: 22 January 2024
Given two arrays A[] and B[] as position vector of two points in n-dimensional space along with an integer p, the task is to calculate Minkowski Distance between these two...
read more
Algorithms
Picked
Basic Coding Problems
Geeks Premier League 2023
Find the Middle Element of an Array or List
Last Updated: 18 April 2024
Given an array or a list of elements. The task is to find the middle element of given array or list of elements. If the array size is odd, return the single middle element...
read more
Picked
DSA
Arrays
Basic Coding Problems
Wind Chill Factor(WCF) or Wind Chill Index(WCI)
Last Updated: 29 February 2024
Wind Chill Factor (WCF) or Wind Chill Index (WCI) is a meteorological concept that quantifies the cooling effect of the wind on the perceived temperature. It represents th...
read more
Picked
DSA
Basic Coding Problems
Geeks Premier League 2023
Sort the values of first list using second list
Last Updated: 07 March 2024
Given two lists, sort the values of one list using the second list.Examples: Input: list1 = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i'], list2 = [ 0, 1, 1, 0, 1, 2, 2, 0...
read more
Picked
Geeks Premier League
DSA
Arrays
Basic Coding Problems
counting-sort
Geeks Premier League 2023
C++ Program to Find Factorial of a Number Using Iteration
Last Updated: 09 February 2024
Factorial of a number n is the product of all integers from 1 to n. In this article, we will learn how to find the factorial of a number using iteration in C++.ExampleInpu...
read more
C++ Programs
C++
Picked
Basic Coding Problems
factorial
CPP Examples
C++ Program to Find Factorial Using Recursion
Last Updated: 08 February 2024
The factorial of a number is denoted by "n!" and it is the product of all positive integers less than or equal to n. In this article, we will learn how to find the factori...
read more
C++ Programs
C++
Picked
Basic Coding Problems
factorial
recursive-approach
CPP Examples
How to Find Maximum Value in an Array in C?
Last Updated: 22 February 2024
In C, arrays are data structures that allow the user to store a collection of data of the same type. In this article, we will learn how we can find the maximum value in an...
read more
C Programs
C Language
Picked
Basic Coding Problems
C-Arrays
C Basic Programs
C Examples
C++ Program to Find Speed of Combine Mass
Last Updated: 12 February 2024
A body with the mass M_1 and speed u_1 collides with the body of mass M_2 with speed u_2, and after collision, both bodies stick together and start moving. The surface is ...
read more
C++ Programs
Computer Subject
Computer Science Fundamentals
Basic Coding Problems
C++ Misc Programs
Physics- Concepts
How to Reverse a String in C++?
Last Updated: 19 March 2025
Reversing a string means replacing the first character with the last character, second character with the second last character and so on. In this article, we will learn ...
read more
C++ Programs
C++
Picked
Basic Coding Problems
cpp-string
CPP Examples
1
2
3
4
...
25
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !