Generating Random String Using PHP
Generate a random, unique, alpha-numeric string using PHP. Examples:...
read more
HashedIn Technologies Interview Experience for Front End Developer (2-6 years Experienced)
I received the mail from the recruiter via Jobs Portal. Then in Telephonic Round, few general questions were asked. I am 1.8 months experienced and below are the ROUNDS....
read more
PHP | hash_equals() Function
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 not.Syntax:...
read more
Count of elements not divisible by any other elements of Array
Given an array arr[], the task is to determine the number of elements of the array which are not divisible by any other element in the given array. Examples:...
read more
Javascript Program to Count pairs with given sum
Given an array of integers, and a number ‘sum’, find the number of pairs of integers in the array whose sum is equal to ‘sum’....
read more
Javascript program for counting frequencies of array elements
In this article, we are given an array that may contain duplicate values. We will print all elements and their frequencies if the duplicates exist. We can do this by using two methods:...
read more
Javascript Program to Find all triplets with zero sum
Given an array of distinct elements. The task is to find triplets in the array whose sum is zero....
read more
Php Program for Count pairs with given sum
Given an array of integers, and a number ‘sum’, find the number of pairs of integers in the array whose sum is equal to ‘sum’....
read more
Javascript Program to Find if there is a subarray with 0 sum
Given an array of positive and negative numbers, find if there is a subarray (of size at-least one) with 0 sum....
read more
PHP | hash_algos() Function
The hash_algos() function is an inbuilt function in PHP which is used to return a list of registered hashing algorithms....
read more
Php Program for Range Queries for Frequencies of array elements
Given an array of n non-negative integers. The task is to find frequency of a particular element in the arbitrary range of array[]. The range is given as positions (not 0 based indexes) in array. There can be multiple queries of given type. Examples:...
read more
IdentityHashMap putAll() Method in Java
The java.util.IdentityHashMap.putAll() is an inbuilt method of IdentityHashMap class that is used for the copy operation. The method copies all of the elements i.e., the mappings, from one map into another....
read more