Courses
Tutorials
Practice
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
Software Engineering
2.5K+ articles
Binary Tree
330+ articles
TCS-coding-questions
136+ articles
SQL-PL/SQL
128+ articles
Volkswagen IT Services
61+ articles
QA - Placement Quizzes-Data Interpretation
54+ articles
Intellipaat
30+ articles
In-house
+ articles
Scala-Arrays
30 posts
Recent Articles
Popular Articles
Fastest Horse Query in a Race
Last Updated: 25 January 2024
Given ‘N’ horses running in ‘N’ different lanes numbered from 1 to ‘N’. You are given an array “FINISHTIME” containing ‘N’ integers where “FINISHTIME[i]” represents the ti...
read more
Picked
Geeks Premier League
DSA
Arrays
array-range-queries
Goldman Sachs
Huawei
QA - Placement Quizzes-Data Interpretation
Scala-Arrays
Volkswagen IT Services
Geeks Premier League 2023
Make all Ones together by Shifting Ones.
Last Updated: 29 January 2024
Given, a binary string contains zeroes and ones. In one operation you can move one step character '1' to either left or right. Find the minimum number of operations requir...
read more
Strings
DSA
Greedy Algorithms
Scala-Arrays
Count Weird Triplets
Last Updated: 26 February 2024
Given an array A[] of integers. Your task is to output the count of triplets such that in each triplet, there can be at most 2 same elements.Examples: Input: A[] = [5, 5, ...
read more
Combinatorial
DSA
combinatorics
math
python-dict
Scala-Arrays
Geeks Premier League 2023
Optimizing Arithmetic Progressions in Subsequences
Last Updated: 29 January 2024
Given a string S, a string T is considered good if following 2 conditions hold: T is a subsequence of SThe indices of the subsequence T in S forms an arithmetic progressio...
read more
Strings
Competitive Programming
Picked
Geeks Premier League
DSA
Algorithms-Dynamic Programming
Scala-Arrays
Geeks Premier League 2023
Maths-DSA-and-CP
Rearrange array A[] in non-decreasing order by Swapping A[i] and C[j] if and only if B[i] equals to D[j]
Last Updated: 10 February 2024
Given arrays A[], B[], C[] and D[] of length N. The task is to output YES/NO by checking if A[] can be rearranged in non-decreasing order using below operation any number ...
read more
Android
Geeks Premier League
DSA
Arrays
QA - Placement Quizzes-Data Interpretation
Algorithms-InsertionSort
priority-queue
Scala-Arrays
Volkswagen IT Services
Geeks Premier League 2023
Restore the original array from another array generated by given operations
Last Updated: 05 February 2024
Given an array b. The array b is obtained initially by array a, by doing the following operations.Choose a fixed point x from array a.Cyclically rotate the array a to the ...
read more
Geeks Premier League
DSA
Arrays
Arrays
Algorithms-Greedy Algorithms
QA - Placement Quizzes-Data Interpretation
python-dict
Scala-Arrays
Volkswagen IT Services
Geeks Premier League 2023
Find the minimum cost of partitioning the given string S into contiguous substrings
Last Updated: 12 March 2024
Given a string S and an array of strings arr[]. The task is to find the minimum cost of partitioning the given string S into continuous substrings. If a substring is prese...
read more
Strings
Dynamic Programming
Geeks Premier League
DSA
QA - Placement Quizzes-Data Interpretation
Scala-Arrays
Volkswagen IT Services
Python numpy-Random
Geeks Premier League 2023
Maximum coins such that root to leaf path sum is positive
Last Updated: 24 February 2024
Given tree with N vertices rooted at node 0, edges given by array edges[][] and array arr[] of size N representing coins[] on each node. In one operation pick any node and...
read more
Tree
Geeks Premier League
DSA
Algorithms-Dynamic Programming
Scala-Arrays
Python numpy-Random
Geeks Premier League 2023
Minimize replacements to sort an array with elements 1, 2, and 3
Last Updated: 14 February 2024
Given an array arr[] of length N containing elements 1, 2 and 3. The task is to find the minimum number of operations required to make array sorted by replacing any elemen...
read more
Geeks Premier League
DSA
Arrays
Algorithms-Dynamic Programming
Scala-Arrays
Python numpy-Random
Geeks Premier League 2023
Minimize the maximum value in array by incrementing and decrementing.
Last Updated: 09 March 2024
Given array arr[] of size N, the task is to minimize the maximum value in given array by increasing arr[i] by 1 and decreasing arr[i + 1] by 1 any number of times.Examples...
read more
Geeks Premier League
DSA
Arrays
Binary Search
QA - Placement Quizzes-Data Interpretation
Scala-Arrays
Geeks Premier League 2023
Program to Print Right Half Pyramid Pattern (Star Pattern)
Last Updated: 29 January 2024
Given an integer N, print N rows of right half pyramid pattern. In right half pattern of N rows, the first row has 1 star, second row has 2 stars and so on till the Nth ro...
read more
DSA
pattern-printing
Scala-Arrays
Program to Print Inverted Full Pyramid Pattern (Star Pattern)
Last Updated: 12 February 2024
Given an integer N, the task is to print a pattern of N rows representing an inverted full pyramid. In this pattern, the first row has (2 * N - 1) stars, the second row ha...
read more
DSA
pattern-printing
Scala-Arrays
Program to print first 10 numbers of Fibonacci series
Last Updated: 21 February 2024
Find the first 10 numbers of Fibonacci series.The Fibonacci sequence is a sequence where the next term is the sum of the previous two terms. The first two terms of the Fib...
read more
DSA
Scala-Arrays
Volkswagen IT Services
NEET Exam Biology : Full Study Material and Syllabus
Last Updated: 17 April 2025
NEET Biology Syllabus and Study Material: NEET commonly refers to the National Eligibility cum Entrance Test in India. NEET is a national-level entrance examination for st...
read more
Picked
PHP
TCS
SBI
GPS
C++-Misc C++
python-dict
series-sum
SQL-PL/SQL
Scala-Arrays
TCS-coding-questions
Volkswagen IT Services
ES6
Groww
Axis Bank
Circle-Theorems
Power Factor Improvement
Last Updated: 27 February 2024
Power factor improvement is an indispensable piece of optimizing electrical systems for expanding effectiveness and diminished energy utilization. In the space of electric...
read more
Picked
Geeks Premier League
Tatvasoft
Visteon
C-Data Types
C++-Misc C++
Algorithms-Graph Traversals
QA - Placement Quizzes-Data Interpretation
Pigeonhole Principle
CouponMoto
CSS-Functions
VVDN Technologies
Scala-Arrays
B-Tree
Java-HijrahDate
Electrical Engineering
Geeks Premier League 2023
Electric circuits
1
2
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 !