Vishal PandeyCheck A number is palindrome or not in ruby without RecursionPalindrome:May 27, 2024May 27, 2024
Vishal PandeyWater Jug puzzle’sQ) You have an 8 litre jug full of water and two smaller jugs, one that contains 5 litres and the other 3 litres. None of the jugs have…May 27, 2024May 27, 2024
Vishal PandeyWrite a program that prints out groups of words that are anagrams.Write a program that prints out groups of words that are anagrams. Anagrams are words that have the same exact letters in them but in a…May 18, 2024May 18, 2024
Vishal PandeyWrite a program in ruby to returns the smallest positive integer (greater than 0) that does not…Given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A. For example, given A = [1…May 18, 2024May 18, 2024