## Ad-hoc, Inclusion, Parametric & Coercion Polymorphisms

When we talk about Polymorphism in C++, we come to hear the following four types: Discussing these in details: Ad-hoc Polymorphism, also called as Overloading… Read More »

- How can one become good at Data structures and Algorithms easily?
- Minimum steps to reach target by a Knight | Set 2
- Minimum number of items to be delivered
- Quick Sort vs Merge Sort
- Samsung Semiconductor Institute of Research(SSIR Software) intern/FTE | Set-3
- Sum of similarities of string with all of its suffixes
- Reach the numbers by making jumps of two given lengths
- Shannon-Fano Algorithm for Data Compression
- Print the nodes of binary tree as they become the leaf node
- Find maximum in a stack in O(1) time and O(1) extra space
- Find the number of distinct islands in a 2D matrix
- Maximize the total profit of all the persons
- Smallest power of 2 which is greater than or equal to sum of array elements
- Cracking Technical Interviews
- Sort the array of strings according to alphabetical order defined by another string
- Program for SSTF disk scheduling algorithm
- Dijkstra's shortest path with minimum edges
- Program to print the Zigzag pattern
- Number of array elements derivable from D after performing certain operations
- Largest perfect square number in an Array
- Find elements of array using XOR of consecutive elements
- Smallest Pair Sum in an array
- Cristian's Algorithm
- Count all possible position that can be reached by Modified Knight
- Minimum cost to reach the top of the floor by climbing stairs
- Count distinct substrings that contain some characters at most k times
- Number of sub-strings which are anagram of any sub-string of another string
- Print array elements in alternatively increasing and decreasing order
- Code Optimization Technique (logical AND and logical OR)
- Berkeley's Algorithm

When we talk about Polymorphism in C++, we come to hear the following four types: Discussing these in details: Ad-hoc Polymorphism, also called as Overloading… Read More »

Given an integer K and a matrix of N rows and M columns, the task is to find the minimum number of operations required to… Read More »

Given the length L and breadth B of a sheet of paper, the task is to find the maximum number of rectangles with given length… Read More »

Given a non-negative integer represented in the form of a numeric string str. Remove zero or more characters from the string such that the number… Read More »

Given N segments (or ranges) represented by two non-negative integers L and R. Divide these segments into two non-empty groups such that there are no… Read More »

What is Extrapolation? Extrapolation is the process in mathematics where the required value is estimated beyond the range the of the given variable range. Extrapolation… Read More »

Given an integer N, the task is to check whether the number is divisible by the sum of its digits or not. If divisible, then… Read More »

Given a starting position ‘k’ and two jump sizes ‘d1’ and ‘d2’, our task is to find the minimum number of jumps needed to reach… Read More »

If you ever wanted to write a large program or software, the most common rookie mistake is to jump in directly and try to write… Read More »

Given initial values of two positive integers X and Y, Find the final value of X and Y according to below alterations: 1. If X=0… Read More »

Given two integers X and Y and an array of N integers. Player A can decrease any element of the array by X and Player… Read More »

Given an integer n, the task is to find the number of possible values of 0 ≤ x ≤ n which satisfy n XOR x… Read More »

Given an integer N where . The task is to check whether the number is not divisible by any of its digit. If the given… Read More »

Given a pattern pat and a string array sArr[], the task is to count the number of strings from the array that ends with the… Read More »

Given an integer area, the task is to find the length and breadth of a rectangle with the given area such that the difference between… Read More »