List of Integers to Int (Add for odd, multiply for even)Problem statement — * Read the elements a and b from the given stream or array * Perform multiplication if the index is even. (a*b) for…Feb 20Feb 20
Print unique character and its count in a given string#Scala #tailrec @tailrec #tailrecursion #problemsolvingFeb 13Feb 13
Auxiliary Constructor Usages ScalaAn Auxiliary constructor is a method with this name, which is used to create an instance without passing all the required parameters.Jan 5, 2021Jan 5, 2021
Find Next Decimal With Same Digits and Same number of Digits (i.e. input 112 output will be 151)Dec 29, 2020Dec 29, 2020