Skip to content

Tag Archives: Hash

Given an array arr[] of N integer elements and an integer K. The task is to count all distinct arr[i] such that arr[i] appears at… Read More
Given N bracket sequences, the task is to find the number of pairs of bracket sequences by joining which can be obtained a balanced bracket… Read More
Given an array of integers arr[], the task is to count all the pairs (arr[i], arr[j]) such that i + j = arr[i] + arr[j]… Read More
Given an array arr[], the task is to find the sum of all those elements from the given array whose square root is present in… Read More
Merkle tree also known as hash tree is a data structure used for data verification and synchronization. It is a tree data structure where each non-leaf… Read More
Given a string containing lowercase English alphabets. The task is to find the minimum number of characters needed to be removed so that the remaining string… Read More
Given an array A[] of integers. The task is to print all indices of this array such that after removing the ith element from the array,… Read More
Given an array of integers and an integer . For every integer of the array a[i], the task is to calculate the count of numbers in the… Read More
Given an array with N distinct elements. The task is to find the minimum number of elements to be changed in the array such that,… Read More
Given an array. The task is to find the length of the longest subsequence in which all elements must have at least one digit in… Read More
The hash_hmac_algos() function is an inbuilt function in PHP which is used to get the a list of registered hashing algorithms suitable for hash_hmac() function.… Read More
The hash_equals function() is an inbuilt function in PHP which is used to compares two strings using the same time whether they are equal or… Read More
The hash_copy() function is an inbuilt function in PHP which is used to get the copy of hashing context. Syntax: hash_copy( $context ) Parameters: This… Read More
The hash_algos() function is an inbuilt function in PHP which is used to return a list of registered hashing algorithms. Syntax: array hash_algos( void )… Read More
Given an integer . The task is to find all factors of N and print the product of four factors of N such that:   Sum of… Read More

Start Your Coding Journey Now!