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

Поділитися
Вставка
  • Опубліковано 9 вер 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

КОМЕНТАРІ • 73

  • @tanvighildiyal8068
    @tanvighildiyal8068 Рік тому +4

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

  • @onlythereal333
    @onlythereal333 Рік тому +5

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

  • @pankaj90241
    @pankaj90241 Рік тому

    This is a great channel bro.

  • @hindiwood1447
    @hindiwood1447 Рік тому +4

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

    • @cloudtech5260
      @cloudtech5260  Рік тому +1

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

  • @chiragdusad2015
    @chiragdusad2015 Рік тому +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

  • @rushikesh3532
    @rushikesh3532 Рік тому +8

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

  • @rajashekharbaligar3735
    @rajashekharbaligar3735 Рік тому

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

  • @coolraviraj24
    @coolraviraj24 Рік тому +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  Рік тому +2

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

    • @coolraviraj24
      @coolraviraj24 Рік тому +2

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

    • @coolraviraj24
      @coolraviraj24 Рік тому +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??

  • @pranavdharkar
    @pranavdharkar Рік тому +25

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

    • @saikumar5160
      @saikumar5160 Рік тому +1

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

    • @pranavdharkar
      @pranavdharkar Рік тому

      @@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 Рік тому +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 Рік тому

      @@Vthemost thanks for your well wish advice👌

    • @divakarpandey9094
      @divakarpandey9094 Рік тому +1

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

  • @noahchen1994
    @noahchen1994 Рік тому +2

    easily

  • @sahilvij2859
    @sahilvij2859 Рік тому +4

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

    • @cloudtech5260
      @cloudtech5260  Рік тому +2

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

    • @sahilvij2859
      @sahilvij2859 Рік тому +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  Рік тому

      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 Рік тому

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

    • @cloudtech5260
      @cloudtech5260  Рік тому

      Perfect thanks. 👍

  • @start1learn-n171
    @start1learn-n171 3 місяці тому

    Tq

  • @eazy_coding
    @eazy_coding Рік тому +3

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

    • @dheemanjain8205
      @dheemanjain8205 Рік тому

      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 Рік тому

      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 Рік тому

      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

  • @ashadahmad651
    @ashadahmad651 Рік тому +4

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

    • @hcbros105
      @hcbros105 Рік тому

      We shouldn't use inbuilt methods ig.

    • @ashadahmad651
      @ashadahmad651 Рік тому +2

      @@hcbros105 Why use Arrays.sort then

    • @heathens2867
      @heathens2867 Рік тому

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

  • @jeevanjyotibehera4729
    @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 😂😂

  • @dpgaming7193
    @dpgaming7193 Рік тому

    How to call the method

    • @dpgaming7193
      @dpgaming7193 Рік тому

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

  • @mohammedajazquadri7869
    @mohammedajazquadri7869 Рік тому +4

    This much easily questions wonr ask in interview

    • @cloudtech5260
      @cloudtech5260  Рік тому +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 Рік тому

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

    • @cloudtech5260
      @cloudtech5260  Рік тому

      Please send the questions at jobreadytrainings22@gmail.com

  • @ameenahmad5986
    @ameenahmad5986 Рік тому +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 Рік тому

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

    • @rajgupta6738
      @rajgupta6738 Рік тому

      yes i think also same

    • @arjunchoudhary9025
      @arjunchoudhary9025 Рік тому

      It is for freshers I think.

    • @ameenahmad5986
      @ameenahmad5986 Рік тому

      @@arjunchoudhary9025 Which company gives 8.5 LPA to fresher?

    • @arjunchoudhary9025
      @arjunchoudhary9025 Рік тому

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

  • @PVarshney
    @PVarshney Рік тому

    Are you serious 8.5 for these questions

  • @squadgang1678
    @squadgang1678 Рік тому

    Why is the interviewer the same in all the videos?

    • @cloudtech5260
      @cloudtech5260  Рік тому +1

      Hi,
      Because these are mock interviews. 👍

    • @squadgang1678
      @squadgang1678 Рік тому

      @@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 😃

  • @eldho9768
    @eldho9768 Рік тому +1

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

  • @abhishekshrivastava8514
    @abhishekshrivastava8514 Місяць тому

    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

  • @sujitkumar2196
    @sujitkumar2196 Рік тому

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

  • @mahadevdhoble3855
    @mahadevdhoble3855 Рік тому

    Har bar interviewer same rahata hai kya Bhai

    • @cloudtech5260
      @cloudtech5260  Рік тому

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

    • @mahadevdhoble3855
      @mahadevdhoble3855 Рік тому

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

  • @sano9633
    @sano9633 Рік тому

    Ye bccho wale questions to nhi aate sayed🙂

  • @radhikagadve
    @radhikagadve Рік тому

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

  • @bharathr7841
    @bharathr7841 Рік тому

    loudteh

  • @srimanthkare11
    @srimanthkare11 Рік тому +4

    What about below code
    String s = "Jhon";

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


    System.out.println(s);
    }}

    • @pranas2493
      @pranas2493 Рік тому

      In interview never used in built method untill they say yes

    • @saipranithsunny
      @saipranithsunny Рік тому

      Epic 🤣, but it's inbuilt method

  • @WebMaster600
    @WebMaster600 Рік тому +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