PinnedSudarshan KasarEvaluation Rules in ScalaHow scala evaluates variable decaltionsDec 11, 2020Dec 11, 2020
Sudarshan KasarList 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
Sudarshan KasarPrint unique character and its count in a given string#Scala #tailrec @tailrec #tailrecursion #problemsolvingFeb 13Feb 13
Sudarshan KasarAuxiliary 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
Sudarshan KasarFind Next Decimal With Same Digits and Same number of Digits (i.e. input 112 output will be 151)Dec 29, 2020Dec 29, 2020
Sudarshan KasarPrint n Longest LinesProgram to Print longest n lines from n+ linesDec 28, 2020Dec 28, 2020