Skip to content
Gblog 7 Ways To Make Programming More Interesting For Beginners
How to make programming more interesting, exciting, and fun…?? It is indeed the common query of almost every programmer, especially the beginner ones. Let’s find… Read More
What is Recursion? The process in which a function calls itself directly or indirectly is called recursion and the corresponding function is called as recursive function.… Read More
Constraints are the rules that we can apply on the type of data in a table. That is, we can specify the limit on the… Read More
Given a Binary Matrix. The task is to find the pair of row in the Binary matrix that has maximum bit difference Examples:Attention reader! Don’t… Read More
Given a string, the task is to count the number of pairs whose elements are at same distances as in the English alphabets. Note : Absolute… Read More
Recently i attended interview at amazon hyderabad for SDE-1. Written round Two questionsHey geek! It's time to become a success story instead of reading them. Check… Read More
Given a string of length n of lowercase alphabet characters, we need to count total number of distinct substrings of this string. Examples:   Input : str… Read More
Given an array of n integers. Each array element is obtained by adding either +1 or -1 to previous element i.e absolute difference between any… Read More
As the name suggests it is a terminology been used to construct something in our programs. So basically if we think deeper we always were… Read More
Given a paper of size, A x B. Task is to cut the paper into squares of any size. Find the minimum number of squares… Read More
Given an array of N integers. There will be Q queries, each include two integer of form q and x, 0 <= q <= 1.… Read More
Write a C (or C++) program to ZOOM (magnify) the digits of an integer. It should take an integer from the user and display each… Read More
Given a set of integers, find a distinct sum that can be generated from the subsets of the given sets and print them in increasing… Read More
Inplace Operators – Set 1, Set 2Normal operators do the simple assigning job. On other hand, Inplace operators behave similarly to normal operators except that… Read More
Given an even number (greater than 2 ), print two prime numbers whose sum will be equal to given number. There may be several combinations… Read More
Variadic templates are class or function templates, that can take any variable(zero or more) number of arguments. In C++, templates can have a fixed number… Read More