## Competitive Programming: Conquering a given problem

Programming is the process of developing and implementing sets of instructions to enable a computer to do a certain task.The programming contests like ACM… Read More »

- Make all numbers of an array equal
- Sum of XOR of all subarrays
- Nth number whose sum of digit is multiple of 10
- Make Binary Search Tree
- Count common characters in two strings
- Check if it is possible to reach a number by making jumps of two given length
- Merge K sorted arrays of different sizes | ( Divide and Conquer Approach )
- Given two arrays count all pairs whose sum is an odd number
- Operations required to make the string empty
- Java ArrayList to print all possible words from phone digits
- Sort an array without changing position of negative numbers
- Interactive Problems in Competitive Programming
- Color N boxes using M colors such that K boxes have different color from the box on its left
- Find minimum difference between any two elements | Set 2
- Check whether two strings contain same characters in same order
- Program to find the kth character after decrypting a string
- Find two numbers whose divisors are given in a random order
- Sum of bitwise AND of all subarrays
- Total number of possible Binary Search Trees using Catalan Number
- Remove characters from a numeric string such that string becomes divisible by 8
- Count of all possible values of X such that A % X = B
- Find sub-arrays from given two arrays such that they have equal sum
- Maximize the happiness of the groups on the Trip
- Find the minimum number of operations required to make all array elements equal
- Find the number of distinct pairs of vertices which have a distance of exactly k in a tree
- Spanning Tree With Maximum Degree (Using Kruskal's Algorithm)
- Maximum subarray sum by flipping signs of at most K array elements
- Find the minimum number of preprocess moves required to make two strings equal
- Check if a Queen can attack a given cell on chessboard
- Count how many times the given digital clock shows identical digits

Programming is the process of developing and implementing sets of instructions to enable a computer to do a certain task.The programming contests like ACM… Read More »

This is a question asked quite often as in which language should be preferred to be efficient in competitive programming. It is something one should… Read More »

This is one of the most used techniques in competitive programming. Let us first consider below simple question. What is the minimum time complexity to… Read More »

This article is a collection of various tips that would help beginners of Competitive programming to get an insight of things that should or shouldn’t… Read More »

There are many people for whom programming is like a haunted dream. Programming is nothing but an art of talking with machines and telling… Read More »

At the very beginning to competitive programming, barely anyone knows the coding style to be followed. Below is an example to help understand that style.… Read More »

In this post “Important top 10 algorithms and data structures for competitive coding “. Topics : Graph algorithms Dynamic programming Searching and Sorting: Number theory… Read More »

We have an array arr[0 . . . n-1]. We should be able to efficiently find the minimum value from index L (query start) to… Read More »