PinnedSudarshan KasarEvaluation Rules in ScalaHow scala evaluates variable decaltions1 min read·Dec 11, 2020----
Sudarshan KasarFind the substring and its length which is in alphabetical order1 min read·Feb 21, 2024----
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…1 min read·Feb 20, 2024----
Sudarshan KasarPrint unique character and its count in a given string#Scala #tailrec @tailrec #tailrecursion #problemsolving1 min read·Feb 13, 2024----
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.1 min read·Jan 5, 2021----
Sudarshan KasarFind Next Decimal With Same Digits and Same number of Digits (i.e. input 112 output will be 151)2 min read·Dec 29, 2020----
Sudarshan KasarPrint n Longest LinesProgram to Print longest n lines from n+ lines1 min read·Dec 28, 2020----