I think your counting occurrence code is wrong, first we should traverse string and count the occurrences. After that we can traverse the array in which stored occurrences then if any occurrence is 0 we can skip it, if any occurrence is less than 2 then we can treat it as 2 and add it to our result and for rest we can directly add occurrence to out result and finally return. public static int solve(String str){ int sum = 0; str = str.toLowerCase(); int[] alphabets = new int[26]; for(int i=0; i
Hey, which questions were asked in your capgemini coding round? From which topics the questions were from and what was the level of difficulty? I have the coding round tomorrow, please helpð
I am selected in capgemini coding round but tommorow is SVAR communication round so can I use lip sync because I have lip sync problem and ai sometimes can't detect my word correctly .So it is possible to lip sync and another people give answer
Yes you can do that It only detects the voice not lip syncing. Moreover can you share some insights about technical assessment mcqs what topics were there?
Can we use STL (C++) in Capgemini coding round as this problem can be easily solved using unordered map so is STL allowed in Capgemini?? please reply???
public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str=sc.nextLine(); int freq=0; int rem=0; for (char i = 'a'; i 0 ) { if (count==1) { freq += 2; } else if (count>1){ rem = count - 1; freq = freq +2 + rem; }
I think your counting occurrence code is wrong, first we should traverse string and count the occurrences. After that we can traverse the array in which stored occurrences then if any occurrence is 0 we can skip it, if any occurrence is less than 2 then we can treat it as 2 and add it to our result and for rest we can directly add occurrence to out result and finally return.
public static int solve(String str){
int sum = 0;
str = str.toLowerCase();
int[] alphabets = new int[26];
for(int i=0; i
@@anurag7782 as per i got the questions, its fine
Hey, which questions were asked in your capgemini coding round? From which topics the questions were from and what was the level of difficulty? I have the coding round tomorrow, please helpð
I am selected in capgemini coding round but tommorow is SVAR communication round so can I use lip sync because I have lip sync problem and ai sometimes can't detect my word correctly .So it is possible to lip sync and another people give answer
Bro can you share some insights like what coding questions were asked and which topics to prepare like that ?
Yes you can do that
It only detects the voice not lip syncing.
Moreover can you share some insights about technical assessment mcqs what topics were there?
can you share your coding questions that were asked
Hello
@@princerathore8973 find min x such that (x*N)%M returns 0, where N,M are input ints
Can we use STL (C++) in Capgemini coding round as this problem can be easily solved using unordered map so is STL allowed in Capgemini?? please reply???
Ask ur tnp once, it depends
Do we have to start coding from taking user input or there is function already in which I have implement logic?
Abhi list aai or chalu bhi hogyaðð
@@harshilsingh4913 tum v bhai ðĪĢðĪĢðĪĢ
Function already
@@teknouf Thanks
can. we use stl in coding round ?
import java.util.*;
public class duplify {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str=sc.nextLine();
int freq=0;
int rem=0;
for (char i = 'a'; i 0 )
{
if (count==1) {
freq += 2;
}
else if (count>1){
rem = count - 1;
freq = freq +2 + rem;
}
}
}
System.out.println(freq);
}
}
is it ok?
bro give tip about SVAR ROUND IN capgemini
I need help bro
Please tell me exam questions and patterns
How many test cases are there? And needed to be passes?
10
@@teknouf are all hidden?
can someone write correct c++ code for this question
can you share the other question the milkshake party one
Where i will get this pdf ??
Plz dm me - instagram.com/tekno.uf
âĪ how to get capgemini prime material...
Inbox me - instagram.com/tekno.uf
@@teknouf can you share the other question the milkshake party one
can we code in python or not?
No
No
Can we code in c++
Ys