Video není dostupné.
Omlouváme se.
Deloitte Interview experience Java Developer 2+ years experience
Vložit
- čas přidán 13. 09. 2023
- Java Developer Interview Questions and Answers 2+ years of experience in Deloitte company
Deloitte's first round question and answer
How to give a first-round interview
How to face the interview
How to give proper questions and answer as a java developer
java interview questions and answers
java 8 features
java interview questions
java interview
stream api in java 8
java interview questions and answers for freshers
Deloitte interview
Deloitte interview 2023
Deloitte interview questions and answers
Deloitte interview questions and answers for freshers
Deloitte interview question
Deloitte interview expriencs
Deloitte interview expriencs 2023
Deloitte interview for fresher
Deloitte interview process experienced
Deloitte interview preparation
Deloitte interview preparation 2022
Deloitte interview process for freshers
java interview
java interview questions
java interview questions and answers
java developer interview questions
java developer interview
java developer interview questions and answers,
This video is educational. I humbly request to you please don't give the wrong comment.
#interview #deloitte #java #javaprogramming
In the first coding question, he using array hashing and character ASCII value, since it was mentioned that we only have lowercase characters, so the person created a array of size 26 to denote the each character index values. He was substracting a because ASCII range for 65-90(a-z), so the hash array would look something like int [] hashArray = {0,0,0,......0} , 26 zeros on each index. Now when he gets the index of each char by substracting a. For example if we want index of b, it will be 66-65 = 1 and then incrementing the value at that index, after computation he would have an array in which index have count of the characters.
Now he could easily iterate through the array for each character and find if count of the char is 1 then return the index else if not found return -1;
👍
String str = "abcdcaf";
Map map = new HashMap();
for(int i=0; i
public class Practise {
public static int method1(String str) {
String s1=str;
int count=0;
int num=0;
for(int i=0;i
Can you please make vedio on Deloitte techno manegeral round for java developers
Use Streams if you are using 1.8
👍👍🙌
How many rounds of interview you had buddy?
How much package you had got from deloitte after 2 years exp.
11 LPA
Current interview Questions??
Yes bro. And u can see this video also czcams.com/video/_byMXtfsmxY/video.html
This is a real interview?
Bro is using chatgpt😂
He got selected or not?
Selected
This is real interview of Deloitte?
Yes buddy
@@krishnakantsharma2201 ok buddy. Continue upload this type videos
this is first question of answer
String sentence = "abcdcaf";
for (int i = 0; i < sentence.length(); i++) {
int count = 0;
for (int j = 0; j < sentence.length(); j++) {
if (sentence.charAt(i) == sentence.charAt(j)) {
count = count + 1;
}
}
if (count == 1) {
System.out.println(sentence.charAt(i));
break;
}
}
🙌🙌👍
so what about the return statement and the lowercase issues..
public class FirstNonRepeatingCharacter {
public static int firstNonRepeatingCharacter(String str) {
Map frequencyMap = str.chars()
.mapToObj(c -> (char) c)
.collect(Collectors.groupingBy(c -> c, LinkedHashMap::new, Collectors.counting()));
Optional firstNonRepeatingChar = frequencyMap.entrySet()
.stream()
.filter(entry -> entry.getValue() == 1)
.map(Map.Entry::getKey)
.findFirst();
return firstNonRepeatingChar.map(c -> str.indexOf(c)).orElse(-1);
}
public static void main(String[] args) {
String input = "abcdcafb";
int result = firstNonRepeatingCharacter(input);
System.out.println(result);
}
}