Skip to content
Gblog 100 Days of Code – A Complete Guide For Beginners and Experienced
Do you want to become a successful software developer and dreaming about getting into the big tech companies? Are you someone who is already working… Read More
Given a binary tree and a integer value K, the task is to find all nodes in given binary tree having K leaves in subtree… Read More
Given an array, the task is to calculate the sum of lengths of contiguous subarrays having all elements distinct. Examples:  Input : arr[] = {1,… Read More
The First Round of test was taken online by Amazon on Hackerearth. First Round: 20 MCQs 2 Coding Questions: Find zeroes to be flipped so… Read More
FileOutputStream class belongs to byte stream and stores the data in the form of individual bytes. It can be used to create text files. A… Read More
Given an array of N distinct elements and a number x, arrange array elements according to the absolute difference with x, i. e., an element… Read More
The Union Clause is used to combine two separate select statements and produce the result set as a union of both the select statements. NOTE:… Read More
Find all numbers less than n, which are palindromic in base 10 as well as base 2. Examples: 33 is Palindrome in its decimal representation.… Read More
Find all numbers less than n, which are palindromic. Numbers can be printed in any order. Examples :  Input : n = 12 Output :… Read More
Given three stacks of the positive numbers, the task is to find the possible equal maximum sum of the stacks with the removal of top… Read More
Given an array of integers, find the minimum (or maximum) element and the element just greater (or smaller) than that in less than 2n comparisons.… Read More
In this post, a group chat application using MulticastSocket (Java Platform SE 7) class is discussed. A MulticastSocket is a (UDP) DatagramSocket, with additional capabilities… Read More
In C, array name represents address and when we pass an array, we actually pass address and the parameter receiving function always accepts them as… Read More
Graph Plotting in Python | Set 1    Subplots Subplots are required when we want to show two or more plots in same figure. We can… Read More
Given an array of n elements. The task is to find number of sextuplets that satisfy the below equation such that a, b, c, d,… Read More
Array in java is a group of like-typed variables referred to by a common name. Arrays in Java work differently than they do in C/C++.… Read More

Start Your Coding Journey Now!