First Time to Online Platform and I really need some help as to how to write code .


  • 0
    K

    *Though I know the solution for problems but I don't know whether here we write the header files while coding in C or "int main()" or while doing in Java whether we can write the Package name and lines like "scanf()" and "Inputstreamreader",bufferedRedaer,"public static void main" .
    Please guide me in submitting pattern for code.
    Thanks


  • 0

    @kchabra Hi, you do not need to write int main(), you just need to implement the function and that's it. No need to do scanf() to read the input.


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.