Php Program for Last duplicate element in a sorted array
We have a sorted array with duplicate elements and we have to find the index of last duplicate element and print index of it and also print the duplicate element. If no such element found print a message. Examples:...
read more
Javascript Program to Check if strings are rotations of each other or not | Set 2
Given two strings s1 and s2, check whether s2 is a rotation of s1. Examples:...
read more
Php Program to Print uncommon elements from two sorted arrays
Given two sorted arrays of distinct elements, we need to print those elements from both arrays that are not common. The output should be printed in sorted order. Examples :...
read more
How to Setup All In One SEO(AIOSEO) Plugin for WordPress?
All in One SEO (AIOSEO) is a powerful WordPress SEO plugin that enables you to optimize your website for search engines and social media platforms effortlessly. In this article, we will guide you on how to install and set up All in One SEO correctly, which will help you improve your SEO rankings....
read more
How to install and Setup Yoast SEO Plugin in WordPress ?
Yoast SEO is a popular and powerful WordPress plugin that simplifies SEO tasks for users of all levels. Search Engine Optimization (SEO) plays a vital role in ensuring your website ranks high on search engine results pages (SERPs). WordPress plugins are like mobile apps for your website, adding innovative features and increasing functionality. With plugins, you can easily customize and improve your website....
read more
Machine Learning and Analysis of Site Position Data
The content has been removed as per the author’s request....
read more
Php Program to Find a triplet such that sum of two equals to third element
Given an array of integers, you have to find three numbers such that the sum of two elements equals the third element.Examples:...
read more
Javascript Program to Find k maximum elements of array in original order
Given an array arr[] and an integer k, we need to print k maximum elements of given array. The elements should printed in the order of the input.Note : k is always less than or equal to n....
read more
Php Program for Maximum difference between groups of size two
Given an array of even number of elements, form groups of 2 using these array elements such that the difference between the group with highest sum and the one with lowest sum is maximum.Note: An element can be a part of one group only and it has to be a part of at least 1 group. Examples:...
read more
Javascript Program to Find a triplet such that sum of two equals to third element
Given an array of integers, you have to find three numbers such that the sum of two elements equals the third element.Examples:...
read more
Javascript Program to Check Majority Element in a sorted array
Question: Write a function to find if a given integer x appears more than n/2 times in a sorted array of n integers. Basically, we need to write a function say isMajority() that takes an array (arr[] ), array’s size (n) and a number to be searched (x) as parameters and returns true if x is a majority element (present more than n/2 times)....
read more
Php Program To Check If A String Is Substring Of Another
Given two strings s1 and s2, find if s1 is a substring of s2. If yes, return the index of the first occurrence, else return -1....
read more