TCS NQT Coding Questions & Answers | TCS NQT 2025 Free Preparation | Previous Exam Actual Questions

Поделиться
HTML-код
  • Опубликовано: 1 дек 2024

Комментарии • 17

  • @LokeshBagora
    @LokeshBagora  3 месяца назад +4

    Solutions: (C++, Java & Python)
    docs.google.com/document/d/13XTZidmm6HMmNZwGmI1_uZrEJ_u1LO6RxgsqZiElmUw/edit

  • @RohitSingh-pg1dq
    @RohitSingh-pg1dq 3 месяца назад +7

    Sir this is very easy level questions, plz solve some little hard questions as well 🙏

    • @lokeshthecodingguy7747
      @lokeshthecodingguy7747 3 месяца назад

      This is the actual question asked in examination we will definitely solve more questions stay tunned

  • @sandhyamehta7701
    @sandhyamehta7701 3 месяца назад +1

    Can we use all the STL functions in NQT exam after including it? Or does their compiler cause any error?n And i have also heard that students face error while taking the input. please clarify my doubt ?

  • @riteshbisht94
    @riteshbisht94 3 месяца назад +1

    Sir mai 2025 me tcs nqt dene wala hu
    Mai kab se start karu coding preparation ?

  • @vfact9655
    @vfact9655 3 месяца назад +1

    sir means tcs free nqt 2025 batch is announced yet?

  • @mahaboob0007
    @mahaboob0007 3 месяца назад

    Question 1:
    def sumoften(n,count=10):
    total_sum=0
    for i in range(1,count+1):
    total_sum+=n*i
    return total_sum
    n=10
    result=sumoften(n)
    print(result)

  • @fizzbuzz6
    @fizzbuzz6 3 месяца назад

    Sir is it possible to switch between two question in coding round? Or once i visited any questions then I can't come back to that old question ?

    • @lokeshthecodingguy7747
      @lokeshthecodingguy7747 3 месяца назад

      No switch is not possible you have to attempt it in order to move to next question and if you moved to next question then you can't come back to previous one

  • @harshupadhyay5509
    @harshupadhyay5509 3 месяца назад

    What is the timing for class ?

  • @ammankhan3370
    @ammankhan3370 3 месяца назад

    is this right approach for question no. 2?
    #include
    using namespace std;
    int main()
    {
    int n;
    int k;
    cin >> k;
    cin >> n;
    int arr[n];
    for (int i = 0; i < n; i++)
    {
    cin >> arr[i];
    }
    for (int i = 0; i arr[i])
    {
    max = arr[j];
    }
    }
    cout

    • @lokeshthecodingguy7747
      @lokeshthecodingguy7747 3 месяца назад

      Yes it is correct but it will now work since it brute force solution you have to optimise it you can check the optimise solution in video

  • @sohanghosh
    @sohanghosh 3 месяца назад +1

    import java.util.*;
    class HelloWorld {
    public static ArrayList func(int n,int k,int arr[]){
    ArrayList list = new ArrayList();
    int max=0;
    for(int i=0;i

    • @ammankhan3370
      @ammankhan3370 3 месяца назад

      is this right approach for question no. 2?
      #include
      using namespace std;
      int main()
      {
      int n;
      int k;
      cin >> k;
      cin >> n;
      int arr[n];
      for (int i = 0; i < n; i++)
      {
      cin >> arr[i];
      }
      for (int i = 0; i arr[i])
      {
      max = arr[j];
      }
      }
      cout