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 20, 2024Feb 20, 2024
Print unique character and its count in a given string#Scala #tailrec @tailrec #tailrecursion #problemsolvingFeb 13, 2024Feb 13, 2024
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