#java
Read more stories on Hashnode
Articles with this tag
Given an array of n integers. Find the minimum positive number to be inserted in array, so that sum of all elements of array becomes prime. Example...
Given two integers L, R, and digit X. Find the number of occurrences of X in all the numbers in the range (L, R) excluding L and R. Example...
There is a robot starting at the position (0, 0), the origin, on a 2D plane. Given a sequence of its moves, judge if this robot ends up at (0, 0)...
You are given an array of strings words and a string chars. A string is good if it can be formed by characters from chars (each character can only be...
A phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric characters, it reads the...
You are given a string s of even length. Split this string into two halves of equal lengths, and let a be the first half and b be the second half. Two...