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
Thank you for making video on accenture interview. i WANT TO GET PLACED IN ACCENTURE but through a comeptition challenge , accenture innovation challenge
Eassy one but you explanation in good way...🤗📌
This is a great channel bro.
I seen in your channel your video 😂 all .this person interview is everywhere
Yes, this are the mock interviews with real time interview questions.
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
public static void RemoveChar(String str, char ch){
for(int i=0; i
Instead of using string concatenation bcoz it will create new string every + so better use mutable class like string buffer or builder
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....
You can practice coding, interviewer checks your coding and problem solving skills
@@cloudtech5260 that is great ... should i start applying for JAVA developer then...
@@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??
I can solve this easily still i have just started my programming journey before 2- 3 months.
@pranav Dharkar
Can u see ur programming journey from which resources are u learning and from where are u practicing problems
@@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
@@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 .
@@Vthemost thanks for your well wish advice👌
They don't ask these kind of easy questions.. They are making that up
easily
Why didn't you just used hashset won't that be easier. In 2nd question
Hi Sahil,
HashMap can be used, with HashSet repeated character cannot be identified. 👍
@@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
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. 👍
@@cloudtech5260 yeah didn't thought it in that way thanks
Perfect thanks. 👍
Tq
bhai ye fuddu fuddu question me 8.5 ka pakage lg jata hai kya ?
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
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.
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
Arrays.equals could've been used in the 2nd problem.
We shouldn't use inbuilt methods ig.
@@hcbros105 Why use Arrays.sort then
@@ashadahmad651 he could've used dictionary to solve it
This video only i saw for tcs interview,Wipro interview and now Accenture interview. 😂😂 Actually whose company interview is it actually?? I got confused 😂😂
How to call the method
Because we can't change main method then how we call from main method
This much easily questions wonr ask in interview
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. 👍
@@cloudtech5260 ok no issues ..keep going this series i also have some interview questions
Where can i share you
Please send the questions at jobreadytrainings22@gmail.com
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.
I think it is old interview. Now hiring is slow so they might have increased the difficulty level
yes i think also same
It is for freshers I think.
@@arjunchoudhary9025 Which company gives 8.5 LPA to fresher?
For freshers the package we get is 3.8 to 4.5 LPA. They have misguided us may be
Are you serious 8.5 for these questions
Why is the interviewer the same in all the videos?
Hi,
Because these are mock interviews. 👍
@@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 😃
2.5yrs 8LPA only my company can pay far better than this.
ur company name?
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
Interview de rha hai majak kar rha hai.. Ye jo interview le rha hai capgemini Or Accenture dono jagah work karta hai
This is a mock interview 👍
Har bar interviewer same rahata hai kya Bhai
Hello,
Yes. We conduct mock interview bhai to give students idea about how to solve problems. 👍
@@cloudtech5260 i appreciate that good work keep it up 👍🤝❣️
Ye bccho wale questions to nhi aate sayed🙂
it was all good till he said "chu" and not "two"🤣
loudteh
What about below code
String s = "Jhon";
s = s.replace("J", "");
System.out.println(s);
}}
In interview never used in built method untill they say yes
Epic 🤣, but it's inbuilt method
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