Crack Accenture : Must-Know Array Coding Solutions (Part 1)

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • Prepare for your Accenture interview with this comprehensive guide to array coding questions. In Part 1, we cover essential array problems along with their step-by-step solutions to help you master the technical rounds.
    GitHub Repo: github.com/yas...
    What You'll Learn:
    Common array coding questions in Accenture interviews
    Detailed solutions and explanations for each problem
    Tips for approaching array problems effectively
    Strategies for optimizing your code
    Key Topics Covered:
    1. Understanding Array Problems:
    Types of array questions asked in Accenture interviews
    Common patterns and techniques for solving array problems
    2. Detailed Solutions:
    Step-by-step explanations of each solution
    Code optimization tips
    Common mistakes to avoid
    3. Interview Preparation Tips:
    How to practice array problems effectively
    Important concepts to focus on
    Time management strategies for coding interviews
    Prime Coding LinkedIn: / primecoding
    Prime Coding Instagram: / primecoding
    Subscribe, like the channel and leave a comment!
    Interview preparation playlists:
    Interview Preparation: • Interview Preparation
    TCS: • TCS Interview Playlist
    Accenture: • Accenture
    Wipro: • Wipro
    Tech Mahindra: • Tech Mahindra
    🖥️ Prime Coding Community (Notes/Hiring Updates/Ask Doubt):
    Join telegram: t.me/+z0_jpru_...
    1:1 Mentorship Program: www.primecodin...
    Join us on social media:
    📷 All links: linktr.ee/adit...
    📧 For more info, contact us at - contactprimecoding@gmail.com
    Don't forget to like, comment, and subscribe for more updates and preparation tips!
    #accenture #arraycoding #codingquestions #interviewprep #primecoding #codinginterview #arraysolutions #jobprep #technicalinterview #careerprep
    The topics covered in this video are(tags)
    TCS hiring
    Off campus drive
    new off campus opportunities
    off campus jobs 2021
    tcs hiring
    software hiring
    data engineer intern
    hiring for interns 2021
    jobs freshers
    fresher hiring
    hiring challenges 2021
    new job opportunities 2021
    freshers hiring
    Hiring freshers
    STEP internship
    product company
    full time job
    tcs nqt score
    off campus placement
    off campus internship
    off campus recruitment
    off campus hiring
    accenture 20 july 2023 questions
    accenture 20 july question solution
    accenture 2023 exam paper
    accenture questions paper
    accenture 2023 paper solution
    off campus drive 2021
    off campus updates
    off campus 2021 batch
    off campus interview
    off campus jobs for freshers
    off campus jobs updates
    off campus jobs latest
    off campus recruitment 2021
    latest off campus drive 2021
    Off campus drive 2021
    jobs 2021 latest
    internship opportunities 2021
    jobs for bca mca
    jobs for bca students 2021
    jobs for mca students 2021
    new off campus opportunities
    off campus jobs 2021
    amazon hiring freshers
    amazon internship 2021
    amazon hiring interns
    data science internship opportunity 2021
    hiring for interns 2021
    hiring challenges 2021
    new job opportunities 2021
    freshers hiring
    Hiring freshers
    STEP internship
    product company
    full time job
    job opportunities 2021
    summer internship
    Good income work from home
    private job vacancy 2021
    new job vacancies 2021
    private job notification 2021
    high paying work from home jobs
    work from home jobs no experience
    work from home jobs 2021
    how to find private job easily
    Latest Job Updates
    private company jobs
    how to find private jobs
    how to apply private compnay jobs
    how to apply jobs direct in comapny
    how to apply job in company at home
    Work from Home Customer support Job for all Freshers
    mitsogo previous year questions
    mitsogo aptitude round
    mitsogo previous year aptitude questions
    mitsogo aptitude questions
    Hashtags:
    #mitsogopreviousyearquestions
    #mitsogoaptituderound
    #mitsogopreviousyearaptitudequestions
    #mitsogoaptitudequestions
    #infosysterminate
    #infosysalary
    #salaryofinfosys
    #mindtreehiring
    #mindtreehiring2021
    #offcampusjobs
    #offcampushiring
    #workfromhome
    #2021jobs
    #hiring2021
    #offcampushiring2021
    #offcampushiring2022
    #offca
    #2022jobs
    #btechjobs
    #onlinelearning
    #ciscojobs
    #tcsnqtscore
    #whattodowithtcsnqtscore
    #cisco
    #freshersjobs
    #offcampushiring2022
    #offcampusjobs2022
    #offcampusdrivefor2022batch
    #parttimejob
    #parttimejobsforstudents
    #capgeminitechnicalmcq
    #tcsnqtinterview2024
    #tcsnqt2024result
    #tcsnqt2024resultout
    #parttimework
    tcs nqt 2024
    tcs nqt 2024 batch
    tcs nqt 2024 free
    tcs off campus 2024
    tcs off campus hiring for 2024 batch
    tcs free hiring 2024 batch
    tcs 26th april questions
    tcs 29th april questions
    tcs free hiring
    tcs hiring 2024 batch
    tcs hiring 2024
    tcs off campus drive for 2024 batch
    tcs recruitment 2024
    tcs nqt

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

  • @PrimeCoding19
    @PrimeCoding19  2 หลายเดือนก่อน +5

    Hello Prime Coders,
    I hope you like the video and share it with your friends.
    Many people are facing the problem and understanding the questions wrongly, it is very simple question if you have doubt then see the website reference:
    codewindow.in/accenture-coding-question-array-permutation-codewindow/
    Join the telegram group: t.me/+Di5pNs9VmuhkMjM1
    Thanks.

    • @-AKHILREDDYCHITYALA
      @-AKHILREDDYCHITYALA หลายเดือนก่อน

      Your function intersection is designed to find the intersection of two sorted arrays, but it seems you're using it with unsorted arrays. To make it work with unsorted arrays, you need to sort both arrays first.
      def intersection(arr1, arr2):
      arr1.sort()
      arr2.sort()

      i, j = 0, 0
      ans = []

      while i < len(arr1) and j < len(arr2):
      if arr1[i] < arr2[j]:
      i += 1
      elif arr1[i] > arr2[j]:
      j += 1
      else:
      ans.append(arr1[i])
      i += 1
      j += 1
      return ans
      arr1 = [1, 2, 3, 1]
      arr2 = [2, 1, 1, 3]
      print(intersection(arr1, arr2))
      @PrimeCoding19

  • @BhargaviNayudu-ky9qt
    @BhargaviNayudu-ky9qt 2 หลายเดือนก่อน +2

    //second largest number
    #include
    using namespace std;
    int second_largest(vectorarr){
    sort(arr.begin(),arr.end());
    for(int i=arr.size();i>=0;i--){
    return arr[i-2];
    }
    }
    int main(){
    vectorarr={3,6,4,7,9,2};
    int ans=second_largest(arr);
    cout

  • @priyankadhanasekaran7086
    @priyankadhanasekaran7086 19 วันที่ผ่านมา

    Another approach for removing duplicates in the array..
    iterate the array , if the ith element and the i-1th element of the array is equal , do nothing and skip the iteration(i.e., continue;) else add the element in the resultant array...finally return the resultant array...
    This program consist of no imbuild functions..If java, you will be using list for resultant array...thats it...
    I came around with this question in Bahwan Cybertek company in on campus placement ... This question was asked to me when i was sitting for my 2nd round known to be the code jam round.

  • @jhansikarri2451
    @jhansikarri2451 2 หลายเดือนก่อน +4

    bro consecutive numbers question lo vaadu 1 to 6 no echadu.i mean starting from 1.so manam formuulae use chesesam.if ala kakundaa from 31 to 36 echi 35 miss chesthey aa code work avvadhu.
    import java.util.*;
    public class Main
    {
    public static void main(String[] args) {
    Scanner sc=new Scanner(System.in);
    System.out.println("Enter the size of the array");
    int n=sc.nextInt();
    System.out.println("enter the elements of the array");
    int a[]=new int[n];
    int i;
    for(i=0;i

  • @allovermedia5872
    @allovermedia5872 2 หลายเดือนก่อน +3

    Hello Guys
    In the intersection between two array python code if i get input like two array which is
    #Find the intersection of two array
    #Find the intersection of two array
    i , j = 0, 0
    arr1 = [4,6,7,1]
    arr2 = [2,5,9,1]
    ans = []
    while i < len(arr1) and j < len(arr2):
    if arr1[i] < arr2[j]:
    i += 1
    elif arr2[j] < arr1[i]:
    j = j+1
    else:
    ans.append(arr1[i])
    i = i+1
    j = j+1
    print(ans)
    then output given is [] # which is blank array
    accepected output is [1]
    But Lovely content !!! Keep it up

    • @-AKHILREDDYCHITYALA
      @-AKHILREDDYCHITYALA หลายเดือนก่อน

      @PrimeCoding19 can u give the clarity, your code is not working for all the cases, is there any another way to get the answer?

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

      @@-AKHILREDDYCHITYALA The array needs to be sorted...right? Else double pointer won't work
      @allovermedia5872

  • @vishvavj07
    @vishvavj07 2 หลายเดือนก่อน +2

    #Occurence of each number
    a=[1,2,2,3,3,1,5,4]
    s={}
    for i in a:
    if i in s:
    s[i]+=1
    else:
    s[i]=1
    print(s)

  • @satishanny
    @satishanny 2 หลายเดือนก่อน +2

    This is highly demanded video. Thanks for helping us. WE WILL CRACK!

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      Welcome, stay tuned for more videos

  • @jashu2034
    @jashu2034 7 วันที่ผ่านมา

    Missing Number Code in Python:
    li=list(map(int,input().split()))
    for i in range(0,len(li)-1):
    if(li[i]+1==li[i+1]):
    pass
    else:
    print(li[i]+1)

  • @subramanya_l
    @subramanya_l 2 หลายเดือนก่อน +1

    To find second largest element:
    a=[1,2,3,4,5,8]
    l=max(set(a))
    mini=-9999
    for v in a:
    if miniO(1), set uses constant time to find element?

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      Great!

    • @jashu2034
      @jashu2034 7 วันที่ผ่านมา

      l1=list(map(int,input().split()))
      l1.sort()
      print(l1[-2])
      can we do this??

  • @yashchoudhary-rd1tb
    @yashchoudhary-rd1tb 2 หลายเดือนก่อน +1

    Thank you for making this series, this will help me crack the role. Keep Making!

  • @PrabhatKumar-kf6hn
    @PrabhatKumar-kf6hn 2 หลายเดือนก่อน +1

    Please upload this type of solution videos on a daily basis.

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน +1

      Stay tuned, part 2 will be uploaded today!

    • @PrabhatKumar-kf6hn
      @PrabhatKumar-kf6hn 2 หลายเดือนก่อน

      @@PrimeCoding19 Keep Up the Good Work 👍

  • @yeshu62
    @yeshu62 2 หลายเดือนก่อน

    Brother this video very helpful.
    By following your playlist for Accenture can we creack the coding round??

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      Definitely.. yes solve all coding question problem and see basics questions of dp!

  • @Foxxy_was_taken
    @Foxxy_was_taken 2 หลายเดือนก่อน +1

    hope u upload everything before company appear at our college

  • @harshitha431
    @harshitha431 2 หลายเดือนก่อน +2

    def intersection(arr1, arr2):
    set1 = set(arr1)
    set2 = set(arr2)
    return list(set1 & set2)
    arr1 = [1, 2, 3, 4, 5]
    arr2 = [4, 5, 6, 7, 8]
    result = intersection(arr1, arr2)
    print(result)

    • @JEESHITHAPAPOLU
      @JEESHITHAPAPOLU 2 หลายเดือนก่อน +1

      It's very easy
      Thank you

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      Please avoid using set inbuilt functions!

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      In interviews they won't let you use it because using sets increases time complexity.
      And yes this is the article you can use in OA but not in interview!

    • @harshitha431
      @harshitha431 2 หลายเดือนก่อน

      @@PrimeCoding19 ok sir...thank you

  • @Kalyanchakravarthy2599
    @Kalyanchakravarthy2599 2 หลายเดือนก่อน

    public class Main
    {
    public static void main(String[] args) {
    String str = "hello";
    String rev = "";
    for(int i=0;i

  • @naresh6764
    @naresh6764 2 หลายเดือนก่อน

    #countoccurance
    def count(li):
    dec={}
    for i in li:
    if i in dec:
    dec[i]+=1
    else:
    dec[i]=1
    return dec
    li=list(map(int,input().split()))
    print(count(li))

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

    Brother without using functions we can do the programming in c language.

  • @Birbal2607
    @Birbal2607 2 หลายเดือนก่อน

    Thanks Aditya for uploading the solution. Please release all solutions.

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      Welcome, Keep learning & Stay tune

  • @souravchowdhury9367
    @souravchowdhury9367 2 หลายเดือนก่อน

    Good Work Bro... please upload this series of important coding questions especially for Accenture

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      Already uploaded check the playlist.
      th-cam.com/play/PLravv7D3PJJb7vQeKGKGi9H4Pmv2RQVN2.html&si=7mni3y8IuXKR5xoX

  • @Fanofblisss
    @Fanofblisss 2 หลายเดือนก่อน

    I have doubt….will Accenture ask quant if they ask then plz tell us topics?? Plz reply coz having Accenture assessment exam this week

  • @Goldy30
    @Goldy30 2 หลายเดือนก่อน +1

    Wow, more is expected.Thanks

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      Stay tuned

    • @THARUNKSECE-B
      @THARUNKSECE-B 2 หลายเดือนก่อน

      Bro can we use python?​@@PrimeCoding19

  • @palnitin25
    @palnitin25 2 หลายเดือนก่อน

    Bro def function use krna mandatory hai ya bs output correct hona chaiya

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      @@palnitin25 output Correct hona chahiye,
      Code clarity ke liye habit bana Lo.

  • @BhargaviNayudu-ky9qt
    @BhargaviNayudu-ky9qt 2 หลายเดือนก่อน +3

    //count the occurance of each element
    #include
    using namespace std;
    int main() {
    vector nums = {1, 2, 2, 3, 4, 4, 5};
    map mp;
    for(int i = 0; i < nums.size(); i++) {
    mp[nums[i]]++;
    }
    map::iterator it;
    for(it = mp.begin(); it != mp.end(); it++) {
    cout first

  • @vloggerbuddy24
    @vloggerbuddy24 2 หลายเดือนก่อน

    Is this for the ase role?

  • @varunr9530
    @varunr9530 2 หลายเดือนก่อน

    Can we use Linkedhashset for removing duplicates from an array?

  • @anantasasane7927
    @anantasasane7927 2 หลายเดือนก่อน

    Can I use methods in online coding round to reverse a array like collections.reverse(arr) basically this is in java

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      Yes you need to import first

  • @shivanigoyal4192
    @shivanigoyal4192 2 หลายเดือนก่อน +2

    /Reverse String
    #include
    using namespace std;
    void ReverseString(char ch[],int size){
    int start=0;
    int end=size-1;
    while(start

  • @SLAYER77769
    @SLAYER77769 2 หลายเดือนก่อน

    Bro can we use list function to convert string into list and use reverse function and print using for and end=""

  • @saibabu.yt.8998
    @saibabu.yt.8998 2 หลายเดือนก่อน

    Please make videos on daily u only there explaining in python language

  • @ayushnagdeote9708
    @ayushnagdeote9708 2 หลายเดือนก่อน

    sir what are important topic for coding test

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      Overall, I have included many patterns (topics) in this sheet so try to solve each and every question!

  • @lleviuchiha5565
    @lleviuchiha5565 2 หลายเดือนก่อน

    Sir can I solve Accenture coding assessment exam in javascript..... ?because in their company page they only mentioned c,c++,java, python languages....

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน +1

      I do not recommend you to use JavaScript.

    • @lleviuchiha5565
      @lleviuchiha5565 2 หลายเดือนก่อน +2

      @@PrimeCoding19 thanks for giving answer for question sir.....
      sir I know only front end technologies like react,js,CSS,html....and started learning back-end technologies as well as DB .....so what types of companies exams I do .....
      Is there another exam or ways for MERN STACK developers to join this companies

  • @saivarshithkharade5026
    @saivarshithkharade5026 2 หลายเดือนก่อน

    To reverse a string
    def rev(x):
    return x[::-1]
    print(rev("varshith"))

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน +2

      without using slicing.

  • @koppoluhanumathsrichakrava7110
    @koppoluhanumathsrichakrava7110 หลายเดือนก่อน +1

    def duplicates(n):
    return list(dict.fromkeys(n))
    print(duplicates([1, 2, 2, 3, 4, 4]))
    In Python, dictionaries cannot have duplicate keys, so this automatically removes any duplicate elements from the list.

    • @-AKHILREDDYCHITYALA
      @-AKHILREDDYCHITYALA หลายเดือนก่อน

      we should not use pre-defined functions your code consists of pre-defined function dict.fromkeys()
      @koppoluhanumathsrichakrava7110

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

    s="hello"
    print(s[::-1])
    o/p:"olleh"

  • @aryanmishra199
    @aryanmishra199 2 หลายเดือนก่อน

    waiting for part-2

  • @yogendramahurkar2428
    @yogendramahurkar2428 17 วันที่ผ่านมา

    Where is the part 2

  • @Kiranruthala
    @Kiranruthala 2 หลายเดือนก่อน +1

    Thank you brother ❤

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน +1

      Most welcome, Stay tuned

  • @snehashriambore7525
    @snehashriambore7525 2 หลายเดือนก่อน

    sir please provide the list of important coding questions for Accenture 2025

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน +1

      Check on Prime Coding Channel I have uploaded the video of Accenture Coding Sheet

  • @brocode749
    @brocode749 2 หลายเดือนก่อน

    Thanks for sharing solution ❤

  • @aadithyasanthosh952
    @aadithyasanthosh952 2 หลายเดือนก่อน

    def reverse_string(s):
    rev=s[::-1]
    print(rev)
    s="Hello"
    print(reverse_string(s))

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน +1

      Solve without using slicing!

  • @shivamhajare1701
    @shivamhajare1701 2 หลายเดือนก่อน

    agar itna kiya tooh sufficient hain na ??

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      Complete this, then you can focus on other questions, this is your best bet

  • @Itsvikky13
    @Itsvikky13 2 หลายเดือนก่อน

    For the 1st Question the logic to reverse a string is wrong, it should be iterate from s.length-1 to greater than 0 i-- in for loop
    your code prints exactly same string not the reversed String

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      Please dry run the solution or check the github link. Try running the program and see the results. I'm sure it's right.
      Please focus on your basics.

  • @kornugovind2421
    @kornugovind2421 2 หลายเดือนก่อน

    Thank you so much ❤😊

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      Welcome, keep learning.

  • @6_months_DSA
    @6_months_DSA 2 หลายเดือนก่อน

    What is approximately date for Online assignment ? For 2025

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      1 week of aug

    • @6_months_DSA
      @6_months_DSA 2 หลายเดือนก่อน

      @@PrimeCoding19 bhaiya ? Mera 12th (2019) me or Clg ( 2021-25 ) , I’m eligible or not for Accenture?

  • @rajgaming7636
    @rajgaming7636 2 หลายเดือนก่อน +6

    Telegram link is fake

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน +1

      t.me/+Di5pNs9VmuhkMjM1

    • @rajgaming7636
      @rajgaming7636 2 หลายเดือนก่อน

      @@PrimeCoding19 it is not opening

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      @@rajgaming7636 try to paste the link in chrome.

    • @rajgaming7636
      @rajgaming7636 2 หลายเดือนก่อน

      @@PrimeCoding19 chrome, edge, brave, safari, tried all but not opening 😞

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

    Str=str(::-1)

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

    code solutions in C & C#

  • @charan2687
    @charan2687 2 หลายเดือนก่อน

    Where is the application link sir

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      They started recruitment in campus but for 2024 batch watch my accenture hiring video on channel.

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

    give the github link for codes

  • @mrunknown2499
    @mrunknown2499 2 หลายเดือนก่อน

    bro these array series questions are enough to on campus coding road

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน +1

      Yes, the Accenture Sheet and TCS Coding Videos are enough and you are done.
      Add DBMS and SQL 1 shot questions and videos are available, do it and crack the interview.

  • @huehue007
    @huehue007 2 หลายเดือนก่อน

    helpful

  • @SanDY-vb9ty
    @SanDY-vb9ty 2 หลายเดือนก่อน

    Telegram link is not working

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      www.primecoding.in
      Click Contact Us, then click on the Telegram icon in the bottom right corner.

  • @kannanm6168
    @kannanm6168 2 หลายเดือนก่อน

    thanks bro

  • @ShalinkGupta
    @ShalinkGupta 25 วันที่ผ่านมา

    bhaiya thankyou for your efforts par aap intersection wala question ache sey nhi samjha paaye

  • @2Roshan9
    @2Roshan9 2 หลายเดือนก่อน

    Literally mai comment kar diya tha ..then deleted my comment ...ki plz mention time complexity and space complexity in further vedios
    Good bro 😂

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน +1

      I always mention TC and SC in my video!

  • @chad._life
    @chad._life 2 หลายเดือนก่อน

    we can reverse a string with two pointer approach l and r
    put them on start and end then start swapping till l

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน

      Yes, you can use it. I taught a new perspective.
      In Python this will not work because strings are immutable in Python.

  • @2Roshan9
    @2Roshan9 2 หลายเดือนก่อน

    What is bingo brother😂
    Naya aaya kya market me ...or me is new 😂

    • @PrimeCoding19
      @PrimeCoding19  2 หลายเดือนก่อน +1

      Slang 😂 keep learning!