Accenture Java Coding Interview | Solve any Java Problem in this way

Sdílet
Vložit
  • čas přidán 9. 09. 2022
  • In this video, we covered Accenture Coding Interview Questions. The candidate got selected in the company with the offer of 8.5 LPA.
    We solved two problems.
    1.) Replace all the occurrences of the given character from the string
    2.) Check if two arrays are equal
    (paid link)
    Recommended Books:
    =====================================
    -Programming with Java - amzn.to/3CqBLEw
    -Clean Code - amzn.to/3SQHtoy
    (paid link)
    Computer & Monitor
    =====================================
    -Dell Laptop - amzn.to/3e0BNK6
    -Samsung Monitor - amzn.to/3Cq3LrP

Komentáře • 73

  • @tanvighildiyal8068
    @tanvighildiyal8068 Před rokem +4

    Thank you for making video on accenture interview. i WANT TO GET PLACED IN ACCENTURE but through a comeptition challenge , accenture innovation challenge

  • @pankaj90241
    @pankaj90241 Před rokem

    This is a great channel bro.

  • @onlythereal333
    @onlythereal333 Před rokem +5

    Eassy one but you explanation in good way...🤗📌

  • @rushikesh3532
    @rushikesh3532 Před rokem +8

    public static void RemoveChar(String str, char ch){
    for(int i=0; i

  • @hindiwood1447
    @hindiwood1447 Před rokem +4

    I seen in your channel your video 😂 all .this person interview is everywhere

    • @cloudtech5260
      @cloudtech5260  Před rokem +1

      Yes, this are the mock interviews with real time interview questions.

  • @rajashekharbaligar3735

    Instead of using string concatenation bcoz it will create new string every + so better use mutable class like string buffer or builder

  • @chiragdusad2015
    @chiragdusad2015 Před rokem +7

    Is the Accenture coding round is that easy??
    I don't think so beacuse these are the most basic questions
    If I am wrong please correct me

  • @noahchen1994
    @noahchen1994 Před rokem +2

    easily

  • @start1learn-n171
    @start1learn-n171 Před 3 měsíci

    Tq

  • @pranavdharkar
    @pranavdharkar Před rokem +25

    I can solve this easily still i have just started my programming journey before 2- 3 months.

    • @saikumar5160
      @saikumar5160 Před rokem +1

      @pranav Dharkar
      Can u see ur programming journey from which resources are u learning and from where are u practicing problems

    • @pranavdharkar
      @pranavdharkar Před rokem

      @@saikumar5160 hey friend chill I am now 17 years old and iam just familiar with c and cpp and soon I will start with basic dsa but i can solve this problems by my c language logics and all you know .
      But its not like that i can solve any 🤣problem I have just started with basics i want to learn more advance advanced

    • @Vthemost
      @Vthemost Před rokem +4

      @@pranavdharkar hey good one but don't think it is easy. Because working in it firm in a project is a lot different than writing a code at your home .

    • @pranavdharkar
      @pranavdharkar Před rokem

      @@Vthemost thanks for your well wish advice👌

    • @divakarpandey9094
      @divakarpandey9094 Před rokem +1

      They don't ask these kind of easy questions.. They are making that up

  • @ashadahmad651
    @ashadahmad651 Před rokem +4

    Arrays.equals could've been used in the 2nd problem.

    • @hcbros105
      @hcbros105 Před rokem

      We shouldn't use inbuilt methods ig.

    • @ashadahmad651
      @ashadahmad651 Před rokem +2

      @@hcbros105 Why use Arrays.sort then

    • @heathens2867
      @heathens2867 Před rokem

      @@ashadahmad651 he could've used dictionary to solve it

  • @jeevanjyotibehera4729

    This video only i saw for tcs interview,Wipro interview and now Accenture interview. 😂😂 Actually whose company interview is it actually?? I got confused 😂😂

  • @coolraviraj24
    @coolraviraj24 Před rokem +3

    apart from this what do the interviewer expect from us ?? like devlopment is also required?? or just a programming test is there ...pls provide me the answer...as i am a plsql developer and i am looking for a change in java or some other tech....

    • @cloudtech5260
      @cloudtech5260  Před rokem +2

      You can practice coding, interviewer checks your coding and problem solving skills

    • @coolraviraj24
      @coolraviraj24 Před rokem +2

      @@cloudtech5260 that is great ... should i start applying for JAVA developer then...

    • @coolraviraj24
      @coolraviraj24 Před rokem +2

      @@cloudtech5260 one thing i would like to share with you...few days back i applied for java role in wipro ..but they said that u dont have experience in the java dev role, although i have 2.5+ yeras of experience in PLSQL development...so what do u suggest for these type of scenario??

  • @sahilvij2859
    @sahilvij2859 Před rokem +4

    Why didn't you just used hashset won't that be easier. In 2nd question

    • @cloudtech5260
      @cloudtech5260  Před rokem +2

      Hi Sahil,
      HashMap can be used, with HashSet repeated character cannot be identified. 👍

    • @sahilvij2859
      @sahilvij2859 Před rokem +1

      @@cloudtech5260 hi you could first add first array in the set then while adding second array you have to remove the the common element from the set then if the length of set is greater than 0 then it will be false or it will be true

    • @cloudtech5260
      @cloudtech5260  Před rokem

      Yes. Perfect. Your approach will work well if there are no duplicates in the array.
      But in case there are duplicates, you can use Map
      Where you can store key as the element in the array and value as the count of that element in the array. And then while comparing second array, you can decrement the count from the Map. Finally if the HashMap has elements with zero count then two arrays are equal. 👍

    • @sahilvij2859
      @sahilvij2859 Před rokem

      @@cloudtech5260 yeah didn't thought it in that way thanks

    • @cloudtech5260
      @cloudtech5260  Před rokem

      Perfect thanks. 👍

  • @mohammedajazquadri7869
    @mohammedajazquadri7869 Před rokem +4

    This much easily questions wonr ask in interview

    • @cloudtech5260
      @cloudtech5260  Před rokem +1

      Hi Ajaz,
      This is to give idea about how to compare two array. Please try to solve the same problem with HashMap. It will be more challenging. 👍

    • @mohammedajazquadri7869
      @mohammedajazquadri7869 Před rokem

      @@cloudtech5260 ok no issues ..keep going this series i also have some interview questions
      Where can i share you

    • @cloudtech5260
      @cloudtech5260  Před rokem

      Please send the questions at jobreadytrainings22@gmail.com

  • @eazy_coding
    @eazy_coding Před rokem +3

    bhai ye fuddu fuddu question me 8.5 ka pakage lg jata hai kya ?

    • @dheemanjain8205
      @dheemanjain8205 Před rokem

      2.5 years ka exp ho to mil he jayega bhai (interview question 2-3 years walo k liye iss type k he hote hai MNC k liye) AB DSA to nahi puchnge 8.5 LPA pr

    • @itsfunnyshubh4000
      @itsfunnyshubh4000 Před rokem

      Actually interview time mai ismai bhi galti hone ke chance rehte hai... I cracked an 8LPA job with 22 months of experience. I cracked one product based company L1 round ( panel consists of 3 senior members) they just asked theory questions.

    • @niteshpandey8207
      @niteshpandey8207 Před rokem

      Ab kyaa tum sab se graph aur dp ke questions puche gye ..... Java ke concepts rhete haii. Java 8 ke features per discussion hota haii including spring spring boot concepts

  • @ameenahmad5986
    @ameenahmad5986 Před rokem +10

    Literally, which company pays 8.5 LPA and asks these types of coding questions and that too for 2.5 years of experience? These are very basic coding questions. I have 1.5 years of experience and am giving frequent interviews. They prefer asking more technology based questions like Java, Spring Boot, SQL, Hibernate, Docker, CI/CD, etc. I didn't face an interview in which these much easy questions were asked.

    • @shubhamdeshmukh6769
      @shubhamdeshmukh6769 Před rokem

      I think it is old interview. Now hiring is slow so they might have increased the difficulty level

    • @rajgupta6738
      @rajgupta6738 Před rokem

      yes i think also same

    • @arjunchoudhary9025
      @arjunchoudhary9025 Před rokem

      It is for freshers I think.

    • @ameenahmad5986
      @ameenahmad5986 Před rokem

      @@arjunchoudhary9025 Which company gives 8.5 LPA to fresher?

    • @arjunchoudhary9025
      @arjunchoudhary9025 Před rokem

      For freshers the package we get is 3.8 to 4.5 LPA. They have misguided us may be

  • @dpgaming7193
    @dpgaming7193 Před rokem

    How to call the method

    • @dpgaming7193
      @dpgaming7193 Před rokem

      Because we can't change main method then how we call from main method

  • @abhishekshrivastava8514
    @abhishekshrivastava8514 Před měsícem

    Q.2 ABCD == CDAB ?
    public static void main(String[] args)
    {
    String str1 = "ABCDEF";
    String str2 = "EFCDAB";
    String str1New = str1+str1;//AACC AACC + ABCD ABCD
    int count = 0;
    for(int i=0,j=0;i

  • @eldho9768
    @eldho9768 Před rokem +1

    2.5yrs 8LPA only my company can pay far better than this.

  • @PVarshney
    @PVarshney Před rokem

    Are you serious 8.5 for these questions

  • @squadgang1678
    @squadgang1678 Před rokem

    Why is the interviewer the same in all the videos?

    • @cloudtech5260
      @cloudtech5260  Před rokem +1

      Hi,
      Because these are mock interviews. 👍

    • @squadgang1678
      @squadgang1678 Před rokem

      @@cloudtech5260 i see but these videos are really helpful.. can also also upload videos on DSA and Sorting algorithm.. I know the conceptual level things but when it comes to implementation of Data structure in real time problems I can't find the answers it would be really helpful if you could upload videos on it. I really like your explanation 😃

  • @sano9633
    @sano9633 Před rokem

    Ye bccho wale questions to nhi aate sayed🙂

  • @sujitkumar2196
    @sujitkumar2196 Před rokem

    Interview de rha hai majak kar rha hai.. Ye jo interview le rha hai capgemini Or Accenture dono jagah work karta hai

  • @radhikagadve
    @radhikagadve Před rokem

    it was all good till he said "chu" and not "two"🤣

  • @bharathr7841
    @bharathr7841 Před rokem

    loudteh

  • @mahadevdhoble3855
    @mahadevdhoble3855 Před rokem

    Har bar interviewer same rahata hai kya Bhai

    • @cloudtech5260
      @cloudtech5260  Před rokem

      Hello,
      Yes. We conduct mock interview bhai to give students idea about how to solve problems. 👍

    • @mahadevdhoble3855
      @mahadevdhoble3855 Před rokem

      @@cloudtech5260 i appreciate that good work keep it up 👍🤝❣️

  • @srimanthkare11
    @srimanthkare11 Před rokem +4

    What about below code
    String s = "Jhon";

    s = s.replace("J", "");


    System.out.println(s);
    }}

    • @pranas2493
      @pranas2493 Před rokem

      In interview never used in built method untill they say yes

    • @saipranithsunny
      @saipranithsunny Před rokem

      Epic 🤣, but it's inbuilt method

  • @WebMaster600
    @WebMaster600 Před rokem +1

    class HelloWorld {
    static boolean diff(int [] arr1,int [] arr2){
    int count=0;
    int [] arr3 = new int[arr1.length];
    int index=0;
    if(arr1.length!=arr2.length){
    return false;
    }
    for(int i=0;i