When a node creates a packet and sends its copy to every node present in the same network even if they don’t want it, it is called broadcast routing. It can lead Read more →
Latest tutorials
505 postsGiven an array arr[] of size n. Three elements arr[i], arr[j] and arr[k] form an inversion of size 3 if a[i] > a[j] >a[k] and i < j < k. Find total Read more →
Given two strings str1 of size m and str2 of size n, check if the 2nd string can be obtained from the 1st string in the same order as in the 2nd Read more →
PL/SQL stands for Procedural Language structured Query Language. It is an extension of Structured Query Language (SQL) that is used in Oracle. PL/SQL allows the programmer to write code in a procedural Read more →
Given a set of N binary strings of different sizes , we can choose any two binary strings A , B and two valid indexes i , j in those string,we can Read more →
A palindrome is a word, phrase or sequence that reads the same backward as forwards. Given a palindrome write a program to print the sorted list of all palindrome that can be Read more →
Given a string S and two integer X, Y. We can perform only two types of operation any number of times. Remove a substring “01” from S and earn X coins. For Read more →
In a Directed Graph, we start at some random node and traverse the graph. If we reach a node that is terminal (that is, it has no outgoing directed edges), we stop. Read more →
Given an integer N ≥ 1, the task is to find the smallest and the largest product of two N digit numbers. Examples : Input : N = 1 Output : Largest Read more →
Given an array auction of positive amounts and a number bidding which initially needs to be found in the auction array. Our task is to find the final value of the bidding. Read more →