How to read the input in coding console questions? | STDIN, STDOUT | HackerRank| Session With Sumit

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • In the video, we will try to understand, how we can read the input and write back the output for various #codingconsole based question. We will also try to understand the usage of Standard Input and the Standard Output for the case of Python.
    #STDIN #STDOUT
    Connect with me here:
    LinkedIn: / ssumitshukla
    Twitter: / swssumit
    Facebook: / sumitshuklasws

ความคิดเห็น • 40

  • @ayushbudhwani
    @ayushbudhwani 3 ปีที่แล้ว +25

    These fundamentals are extremely important that people tend to avoid learning. Thanks!

  • @luisrueda4476
    @luisrueda4476 2 ปีที่แล้ว +1

    Great explanation! much needed material for all jobseekers our there who will take Hackerrank tests in interviews.

  • @maxyang5143
    @maxyang5143 3 ปีที่แล้ว +3

    Thank you so much! I was really confused before listening to your explanation.

  • @shwetabhagat8920
    @shwetabhagat8920 3 ปีที่แล้ว +5

    Sir in hackerrank they provide us with some prewritten codes for some questions...so we have to follow that particular code and do coding or we can use our own logic....means if the haven't used functions in the prewritten code ...then can we use function or vice versa ?????

  • @sai_pranav_karri
    @sai_pranav_karri 3 ปีที่แล้ว +1

    thanks for making things clear...

  • @bornofdata
    @bornofdata ปีที่แล้ว

    This was helpful!

  • @PJ-hi1gz
    @PJ-hi1gz 2 ปีที่แล้ว

    Super helpful

  • @thisenekanayake2832
    @thisenekanayake2832 7 หลายเดือนก่อน

    Thank you so much❤

  • @enx1214
    @enx1214 2 ปีที่แล้ว

    never used this platform, I was in practices before a test and had no idea- thanks for your explanation - SO whatever

  • @bhaveshdalvi585
    @bhaveshdalvi585 3 ปีที่แล้ว +1

    Thanks ❤️

  • @hsoley
    @hsoley 2 ปีที่แล้ว

    great thank you!

  • @nilavanezhil8036
    @nilavanezhil8036 ปีที่แล้ว

    This is why people prefer leet code!

  • @andrewmaksimovich2432
    @andrewmaksimovich2432 2 ปีที่แล้ว +1

    How did you comment out multiple lines of code without erasing everything?

    • @Shiva_shankaran
      @Shiva_shankaran 10 หลายเดือนก่อน

      selct all and press ctrl + /

  • @sovon08
    @sovon08 2 ปีที่แล้ว

    How can I take input from STDIN using R (for Hackerrank Tests)?

  • @anithaanu3608
    @anithaanu3608 2 ปีที่แล้ว

    Thank you sooo much ❤️

  • @mohammedalmojtabamohammed488
    @mohammedalmojtabamohammed488 3 ปีที่แล้ว

    Good job

  • @user-nq5xe2ov1w
    @user-nq5xe2ov1w 6 หลายเดือนก่อน

    what to write to take input in C++

  • @abhideepsingh4484
    @abhideepsingh4484 3 ปีที่แล้ว

    Is there any remaining video?

  • @humanity2809
    @humanity2809 3 ปีที่แล้ว

    thanks

  • @Smart.Potato
    @Smart.Potato 3 ปีที่แล้ว

    thanks!

  • @ridwanamosun1435
    @ridwanamosun1435 2 ปีที่แล้ว

    have you done stdin using for loop

  • @chayae3740
    @chayae3740 3 ปีที่แล้ว

    Tqu sir

  • @AnonymousViz
    @AnonymousViz 10 หลายเดือนก่อน

    how did you un-comment code so fast?

  • @SriKanth-ws6ir
    @SriKanth-ws6ir 2 ปีที่แล้ว

    Bro final it's implement video plse cmplet

  • @haneulkim4902
    @haneulkim4902 3 ปีที่แล้ว +1

    how about when first input determine number of additional input?
    ex:
    1
    input1
    2
    input1
    input2

    • @pesisation
      @pesisation 2 ปีที่แล้ว +1

      t = int(input())
      for _ in range(t):
      s = input()

  • @nikitakeni9702
    @nikitakeni9702 3 ปีที่แล้ว +1

    How we can solve hidden tests? Anyone do respond

  • @cappucciofrancesco9483
    @cappucciofrancesco9483 3 ปีที่แล้ว

    How do you comment the lines?

  • @hirenvora8032
    @hirenvora8032 4 ปีที่แล้ว +1

    I have 2 questions:
    1. In Python, reading the input is easy but in C and C++ it is tricky so can you make one video on how to take input from C and C++??
    2. Now a days most of the companies will take coding round before they actual interview. So in coding round whatever platform they use, does they provide us a code to read input or we have to write it??

    • @SessionWithSumit
      @SessionWithSumit  4 ปีที่แล้ว +1

      Hi Hiren, Thanks for your comment.
      1. I am not good at C++, So can't help you with that.
      2. In coding rounds, some of them do provide the input already read but for some cases, you need to read the input. Since there are many coding platform that are available, we can't be very much sure, but the good part is the way we read the input for python on any coding console question will always remain same, as I have explained over the video.
      Hope this helps. Happy Learning. :)

    • @hirenvora8032
      @hirenvora8032 4 ปีที่แล้ว +1

      @@SessionWithSumit Thanks Sumit..

  • @KishanSingh-vn5yx
    @KishanSingh-vn5yx 2 ปีที่แล้ว

    bro buy genuine version of windows