GFG Weekly Coding Contest - 174 Post Analysis | GeeksforGeeks Practice

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ต.ค. 2024
  • Join us for a post-contest analysis with Geetesh Yadav where we will discuss the problems from the GFG Weekly Coding Contest - 174. In this session, Geetesh will share his approach to solving problems and provide valuable insights on approaching similar problems in the future.
    Whether you participated in the contest or not, this session is a great opportunity to learn new problem-solving techniques and deepen your understanding of data structures and algorithms. You'll have the chance to ask questions and interact with other participants, making this a fun and engaging learning experience.
    🏆 Register for the Upcoming GFG Weekly Coding Contest 174: practice.geeks...
    -----------------------------------------------------------------------------------------
    📆 Solve PROBLEM OF THE DAY Daily: practice.geeks...
    📖 Master Competitive Programming: practice.geeks...
    -----------------------------------------------------------------------------------------
    Follow us and stay updated on everything happening in the world of geeks:
    📱 Twitter- / geeksforgeeks
    📝 LinkedIn- / geeksforgeeks
    🌐 Facebook- / geeksforgeeks.org
    📷 Instagram- www.instagram....
    #GFGPractice #GeeksforGeeks #WeeklyCodingContest #CodingQuestions
    #WeeklyCodingContest174 #GeeteshYadav

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

  • @dhananjoydey1337
    @dhananjoydey1337 7 วันที่ผ่านมา +2

    Really good editorial! Liked this type of explanation. No need to hurry and finish the video within 20 mintes.

  • @ITACHIUCHIHA-dr8sz
    @ITACHIUCHIHA-dr8sz 7 วันที่ผ่านมา +1

    Come on gfg, due to weak tests O(n^3) where n = 1500 passes for problem 3, i dismissed that solution idea due to this during contest and went with a O(n ^ 2) hashing approach which tled due to high constant factor

  • @keeplearning6770
    @keeplearning6770 7 วันที่ผ่านมา +1

    Why mod u have taken I didn't get it

  • @loveleshbhagat1114
    @loveleshbhagat1114 5 วันที่ผ่านมา

    int longestSubarray(int n, vector &arr, int k) {
    unordered_maprem;
    int ans=0;
    long long sum=0;
    rem[0]=-1;
    for(int i=0;i0 && arr[i-1]>arr[i]){
    sum=0;
    rem.clear();
    rem[0]=i-1;
    }
    sum+=arr[i];
    int r=sum%k;
    if(rem.find(r)!=rem.end()){
    ans=max(ans,i-rem[r]);
    }else rem[r]=i;
    }
    return ans;
    } 2nd Question

  • @MelvilleAlbert-h2j
    @MelvilleAlbert-h2j 5 วันที่ผ่านมา

    Taylor Jennifer Martin Brenda Jones Nancy

  • @tharunreddy7453
    @tharunreddy7453 6 ชั่วโมงที่ผ่านมา

    explanation is very poor

  • @subhamsaha3810
    @subhamsaha3810 วันที่ผ่านมา

    Poor explanation

  • @kodurisaivishnu4916
    @kodurisaivishnu4916 2 วันที่ผ่านมา

    bad explanation question 2 anyone suggest better video

  • @AnandSharma-ei1fv
    @AnandSharma-ei1fv 6 วันที่ผ่านมา

    very bad explaination of 2nd question ..