## Introduction to Programming Languages

Are you aiming to become a software engineer one day? Do you also want to develop a mobile application that people all over the world… Read More »

- What is Competitive Programming and How to Prepare for It?
- Check which player visits more number of Nodes
- Make the list non-decreasing by changing only one digit of the elements
- Nth XOR Fibonacci number
- Write a function to get the intersection point of two Linked Lists | Set 2
- Number of substrings that start with "geeks" and end with "for"
- Find a pair (n,r) in an integer array such that value of nPr is maximum
- Check if a cycle of length 3 exists or not in a graph that satisfy a given condition
- Count occurrences of a prime number in the prime factorization of every element from the given range
- Reversing a Queue using another Queue
- Minimum increment or decrement operations required to make the array sorted
- Check if the rows of a binary matrix can be made unique by removing a single column
- Number of Subarrays with positive product
- Queries for the minimum element in an array excluding the given index range
- Longest Increasing Subsequence using Longest Common Subsequence Algorithm
- Color all boxes in line such that every M consecutive boxes are unique
- Print nodes having maximum and minimum degrees
- Minimize the sum of the array according the given condition
- Count of triples (A, B, C) where A*C is greater than B*B
- Find two co-prime integers such that the first divides A and the second divides B
- Sum of all natural numbers from L to R ( for large values of L and R )
- Largest sub-matrix with all equal elements
- Minimize the cost of partitioning an array into K groups
- Maximum length sub-array which satisfies the given conditions
- Find out the prime numbers in the form of A+nB or B+nA
- Check if the Matrix satisfies the given conditions
- Find a pair (n,r) in an integer array such that value of nCr is maximum
- Java | Handling TLE While Using Arrays.sort() Function
- Count of Multiples of A ,B or C less than or equal to N
- Sort elements by modulo with K

Are you aiming to become a software engineer one day? Do you also want to develop a mobile application that people all over the world… Read More »

Given a number N, create an array such the first half of the array is filled with odd numbers till N and second half of… Read More »

Given two binary strings. The task is to check if string s1 can be converted to string s2 by performing the given operations any number… Read More »

Given a large number N and the task is to check if any permutation of a large number is divisible by 8. Examples: Input: N… Read More »

Given the first two digits of a large number digit1 and digit2. Also given a number c and the length of the actual large number.… Read More »

Although computer programming was once seen as a skill reserved for geeks and computer nerds, it’s now regarded as an essential ability for 21st century… Read More »

Given two bracket sequences S1 and S2 consisting of ‘(‘ and ‘)’. The task is to check if the string obtained by concatenating both the… Read More »

Given an array of size N and Q queries, each query consists of L, R, and K(consider 1 based-indexing for L and R). The task… Read More »

Given n, find the nth number which is not a perfect square among natural numbers (1, 2, 3, 4, 5, 6, … ) Examples: Input… Read More »

Given a number N and the min and max range. Given N values of a and b respectively. The task is to count the number… Read More »

Given a string str, the task is to print the maximum count of characters which are greater than both its left and right character in… Read More »

Given as an input two strings, = , and = , output the alignment of the strings, character by character, so that the net penalty… Read More »

Given an array of n distinct integers and an integer k. Find out the number of sub-sequences of a such that , and . In… Read More »

Given a string, find count of number of larger alphabets for every character of the string. Examples: Input : str = “abcd” Output : 3… Read More »

Given three numbers a, b and m where 1<=a, m<=10^6. Given very large 'b' containing up to 10^6 digits and m is a prime number,… Read More »