All Medium Articles
In this article, we will know HTML Geolocation getCurrentPosition() Method, various parameters, & their implementation through the examples. HTML5 provides us the Geolocation API which… Read More
Given a range [L, R], we need to find the count of total numbers of prime numbers in the range [L, R] where 0 <=… Read More
Given a string s containing lowercase English alphabet characters. The task is to calculate the number of distinct strings that can be obtained after performing… Read More
Given integers N, K, X and Y. The task is to find the maximum possible N-digit number in K steps starting from 0. Using the… Read More
Round 1 (Screening Round): This was a HackerRank test with 4 coding questions to be solved in 90 min. It had 1 easy, 2 medium,… Read More
Goldman Sachs conducted 3 rounds of tests for the position of summer intern 2022 through their Engineering Campus Hiring Program. The hiring process started in… Read More
Given an array arr[]. The array contains numbers from 0 to N-1 only, where N is the size of arr[]. The task is to modify… Read More
Given two vectors, a and b of different sizes, where array a has m number of elements and array b has n number of elements.… Read More
Given a binary array arr[N], (where N = 2) of size two having at least one element as zero. The task is to write a… Read More
Given a n x n matrix. The problem is to sort the matrix row-wise and column wise.Examples:   Input : mat[][] = { {4, 1, 3},… Read More
Given a directed acyclic graph of N nodes, the task is to find the smallest set of vertices from which the complete graph can be… Read More
Given string str of size N consisting of uppercase and lowercase English letters. The task is to find all unique substrings containing only vowels. Examples:… Read More
Sentiment Analysis is a natural language processing technique used to determine emotions from textual data. It’s often performed to know customer requirements, study product sentiment… Read More
Fibonacci sequence is the sequence of numbers 1, 1, 2, 3, 5, 8, 13, 21, …, and each number of in the Fibonacci sequence, after… Read More
Given an integer N and a N x N matrix, the task is to convert the given matrix into a symmetric matrix by replacing (i,… Read More
Given two strings in the form of linked lists, the task is to check if one string is the anagram of the other. Print Yes… Read More
Given a n × m binary matrix, count the number of sets where a set can be formed one or more same values in a… Read More
Given N points in K dimensional  space in a 2D array Points[][], where 1≤ N ≤ 105 and 1 ≤ K ≤ 5. The task… Read More
In linear algebra, the characteristic polynomial of a square matrix is a polynomial that is invariant under matrix similarity and has the eigenvalues as roots.… Read More
Given an array arr[] containing N positive integers. The task is to find all the elements which are smaller than all the elements to their… Read More