26th April Shift 1- Coding Questions & Solutions | TCS NQT 2024 |

Поділитися
Вставка
  • Опубліковано 17 січ 2025

КОМЕНТАРІ • 41

  • @PrimeCoding19
    @PrimeCoding19  8 місяців тому +2

    Hello Everyone, I hope you understood the concept. If you have any doubts please write in into comments. All the best.

  • @alanjohnsmathew4062
    @alanjohnsmathew4062 8 місяців тому +10

    int maxSubArray(int* nums, int numsSize) {
    int count_sum=0;
    int max=INT_MIN;
    for(int i =0; i

  • @alanjohnsmathew4062
    @alanjohnsmathew4062 8 місяців тому +6

    int uniquePaths(int m, int n) {
    int arr[m][n];
    for(int i =0;i

  • @TalachutlaSatyavathi
    @TalachutlaSatyavathi 3 місяці тому +1

    a=list(map(int,input().split()))
    t=int(input())
    for i in range(len(a)):
    for j in range(i+1,len(a)):
    s=a[i:j]
    if sum(s)==t:
    print(s,end='
    ')

  • @asrinidhi299
    @asrinidhi299 3 місяці тому

    The best explanation ever 👏👏.... Hats off to your effort.

  • @mukeshmanral1327
    @mukeshmanral1327 4 місяці тому +2

    @12:31 wrong , second if condition will also go arr[startIndex : i+1] (1,3,3) is wrong, (3,3,1) is correct group

    • @PrimeCoding19
      @PrimeCoding19  4 місяці тому

      Improvement will have to be done. I will start a series where I will update all of these questions

  • @Hitman45453
    @Hitman45453 6 місяців тому +6

    Dude to be honest these questions weren't asked in Oracle interview only....the first one is recursion backtracking and the second one is a dp....wtf...

    • @PrimeCoding19
      @PrimeCoding19  5 місяців тому

      Oracle hiring is different then tcs hiring!

  • @CS090Srikanth
    @CS090Srikanth 3 місяці тому

    Bro in the first 5:26 time complexity will actually be n^3 because slicing an array takes O(n) in worst case and it also creates a seperate array on each time you slice so the space complexity will not be O(1).
    Correct if iam wrong

  • @SobithaRani
    @SobithaRani 5 місяців тому +1

    Where can I find the codes which u explained in this video?

  • @anuragnagvanshi7595
    @anuragnagvanshi7595 8 місяців тому +3

    Sir I have heard the student who tried solved these problems on 26th were facing problem while taking input. There are videos for C++ and java regarding the issue but none for python language . So please upload a video regarding that.

    • @PrimeCoding19
      @PrimeCoding19  8 місяців тому +2

      Tomorrow most probably Will upload the answers for shift 2 questions. There I am taking user input and discussed different ways to take input.
      Stay tuned.

    • @btecharya
      @btecharya 7 місяців тому +2

      Yes we faced issue cause they don't say to write function only but all the code from start to end and the input was sufficient to write the function 😢

  • @KaranRathod-ji3nu
    @KaranRathod-ji3nu 3 місяці тому

    sir you need to use the white color marker

    • @PrimeCoding19
      @PrimeCoding19  3 місяці тому

      Yes, I improved check the other videos

  • @prashantpundir7448
    @prashantpundir7448 8 місяців тому +1

    Hi Sir i hope yoy are fine i want to ask is it mandatory to do Aptitude as i am proficient in coding but i lack in aptitude if i will solve both questions without aptitude, will i qualify

    • @PrimeCoding19
      @PrimeCoding19  8 місяців тому +1

      Fortunately the answer is "yes". Most of the service based companies ask for qualification so you need to practice that. But the thing is that you only need passing marks if you are able to solve coding questions.
      The tip is to study only important topics and not all. So if the question comes from your strong area then you will attempt everything like time, work, clock direction etc.

    • @prashantpundir7448
      @prashantpundir7448 8 місяців тому

      @@PrimeCoding19 I dont have time now my exam will be on 30

  • @aryanmishra199
    @aryanmishra199 8 місяців тому

    Great video...

    • @PrimeCoding19
      @PrimeCoding19  8 місяців тому

      Thanks for your support.

    • @satishanny
      @satishanny 8 місяців тому

      Hi, Aryan ! Really its a great video and the effort put up by Aditya Mishra Sir is praiseworthy. no doubt.

    • @PrimeCoding19
      @PrimeCoding19  8 місяців тому

      @@satishanny thanks for commenting.

  • @acceleratedofficial1576
    @acceleratedofficial1576 8 місяців тому

    Please make vedio on taking how to take diff inputs like list, matrix sperated by spaces and even dictionary or anything else in python for these automatic test case many got eof error and invalid literal for int()

    • @PrimeCoding19
      @PrimeCoding19  8 місяців тому +1

      Definitely. I will do that. Most problem in today I will upload shift 2 solutions in that I am taking user inputs.

  • @compiled9787
    @compiled9787 8 місяців тому +1

    Aryan Mittal?

  • @basichackshindi7012
    @basichackshindi7012 8 місяців тому +1

    i wrote the same code in java but tcs compiler didn't print the answer

    • @PrimeCoding19
      @PrimeCoding19  8 місяців тому +2

      I guess you should return the answer instead of printing it. Or I saw students who are not able to take input properly.

    • @brotop2321
      @brotop2321 8 місяців тому +1

      @@PrimeCoding19 it wasnt even made sure what to output clearly

  • @thriveforsuccess27
    @thriveforsuccess27 8 місяців тому

    bhaiya 26th ka daal diya please ab 29th aur 30th ka bhi daal dena

    • @PrimeCoding19
      @PrimeCoding19  8 місяців тому

      Yes Today I will upload the solution of every shift as well as resources/live interaction all. Stay tune subscribe the channel

  • @Vishaaaaaaaaaal
    @Vishaaaaaaaaaal 6 місяців тому

    I can't find the link for 2.5 hr video

    • @PrimeCoding19
      @PrimeCoding19  6 місяців тому +1

      ua-cam.com/video/No6sw9xfww4/v-deo.htmlsi=2O7fv-ptzgPG6Q8I

  • @rksreepansh
    @rksreepansh 6 місяців тому

    I am mechanical,how can i crack this part of xam or how should i learn & what?? Please help😢🙏🏻

    • @PrimeCoding19
      @PrimeCoding19  6 місяців тому +1

      Watch 1 shot video on Array, Strings I have uploaded.
      Then 1 shot on DBMS, SQL.
      Solve all the tcs nqt 2024 shift question and you are good to go!