JavaScript Program---Credits :Priya Bagde. Code 1: Remove Duplicate characters from Stringfunction removeDuplicateCharacters() { var string='priya riya supriya' let result=… Read More
Google cloud VPS hostingIn this post, we'll take a look at Google Cloud VPS hosting. We'll explore what it is, how it works, and some of the benefits of using this type of hosting for your w… Read More
Youtube Likes:We've all seen the like and dislike buttons on youtube. There is a number that shows the count of total likes. Let's replicate that feature of Youtube and use it in our own soc… Read More
The US Google Store will start off its the huge shopping day after Thanksgiving 2022 limits one week from now, and the feature is $150 off the Pixel 7 Master.Google could limit the Pix… Read More
Shopping or Holiday?Lists are used very extensively to organize information. They can be ordered and un-ordereded. Let's make some of our own using HTML lists.Imagine you got a job from Newt… Read More
Favourite SongWhat's your current favourite song? Can you direct us to its youtube link through the anchor tag?Acceptance Criteria:- All the content should be inside div tag- Display t… Read More
Block or Inline?We have to identify whether the following elements are block or inline. To identify that, please render each element twice inside a block.html>head>head>body>&nbs&hell…Read More
Interview Questions HTML,CSS,JAVASCRIPT.Desh Chatterjee:what are the meta tags? explain them.Use of attributes (http - equiv ) in meta tagdesign a layout of javatpoints & GFG website. (… Read More
Count duplicates(Hashing)Problem StatementGiven an array of N elements, your task is to find the count of repeated elements. Print the repeated elements in ascending order along with t… Read More
Semantic IMDbCreate a simple HTML document. It should consist of your favorite movie, should have actors of the movie, and some quotes from the movie that you liked. Style your page as… Read More
Dog AdoptionRitesh is your friend and wants to adopt a dog. He likes them and wants to learn more about their breed. Please help him by linking these images to the respective breed's wiki pa… Read More
GCD Pairs (Contest)Problem StatementGiven an array Arr of N elements. Find the maximum value of GCD(Arr[i], Arr[j]) where i != j.import java.io.*; // for handling&n&hell…Read More
TravellingProblem StatementGiven N cities in a line and your initial position, you want to visit all the cities at least once. You can go to one coordinate P to P+D or P-D where D is t… Read More
Closest Buddy (Contest) Problem StatementYou are given an integer array A of size N. For each index i (1 Note: gcd(x, y) represents the the greatest common divisor of integers x and y… Read More
Distinct Vals (Hashing)Problem StatementGiven an array Arr of N elements. Find the minimum number of elements that you need to delete from this array such that all the elements in the… Read More
Unique number of characters(Hashing)Problem StatementGiven a string s, your task is to find the total number of unique characters in a string.import java.io.*; // for&nb&hell…Read More
Largest subarray with zero sum(Hashing)Problem StatementGiven an array A[], of length N containing values in the range of negative to positive integers. You need to find… Read More
Identical GroupsProblem StatementMyra has x red colour balls and y blue colour balls. She wants to distribute these balls into identical groups without any balls left. What is the larg… Read More
GCD frequencyProblem StatementGiven an integer array A of size N. Find the sum of GCD (Greatest Common Divisor) of all elements with their frequency.import java.io.*; // &hell…Read More
Is this prime?Problem StatementLet's assume some functional definitions for this problem.We take prime(x) as the set of all prime divisors of x. For example, prime(140)={2,5,7}, prime(… Read More
Nth number made of prime digitsProblem StatementGiven a number 'N'. The task is to find the Nth number whose each digit is a prime number(c++ code:#includebits/stdc++.h>using n… Read More
Generator - Super PrimeProblem StatementFor a given integer N, super primes are those integers from 1 to N whose multiples (other than themselves) do no exist in the range [1, N].Your… Read More
Prime SumProblem StatementGiven a range from l to r, Your task is to find the sum of the second last digit of the prime numbers between that range.import java.io.*; // f… Read More
Functions- primeProblem StatementGiven two integers N and M, your task is to print the number of primes present between N and M (both included).Note:- You have already provided a funct… Read More