Happy to help 😊!! How will you Compare? Solution:- class Comparator { boolean compare(int a, int b) { return a == b; } boolean compare(String a, String b) { return a.compareTo(b) == 0; } boolean compare(int[] a, int[] b) { if (a.length != b.length) { return false; } for (int i = 0; i < a.length; i++) { if (a[i] != b[i]) { return false; } } return true; }
Happy to help 😊!!
How will you Compare?
Solution:-
class Comparator {
boolean compare(int a, int b) {
return a == b;
}
boolean compare(String a, String b) {
return a.compareTo(b) == 0;
}
boolean compare(int[] a, int[] b) {
if (a.length != b.length) {
return false;
}
for (int i = 0; i < a.length; i++) {
if (a[i] != b[i]) {
return false;
}
}
return true;
}
thanks it is help us.
does the question repeats??
Does the questions repeat?
Sir same question repeat hta hai?
Multi sum?? Any one knows
Equals method hai string ke lia
s1 s2 ka error aa raha hai
voice is very low
for many correct answers certificate is given ??
all should be correcte
@@dev.19.community mg
if we fail first time, after how many exact week we can give the test again??
sorry but I dont know bro
30days
30days
@@happywhoopee 🙂
Thanks for your help. I also received your help in Insidesherpa Internship. What is your linkedin?
wait i will send
@@dev.19.community I am waiting
www.linkedin.com/in/mahadev-gopanpalli-4a7476194/
What is your result? Full correct of the test?
Yes,I hav got my certificate
Bro make a video on solution of javascript , angular , react and rest API of hacker rank platform as soon as possible
I need of JavaScript Solutions please
ohk..
Question : How to compare
class Comparator{
boolean compare(int a,int b){
if(a==b)
{ return true;}
return false;
}
boolean compare(String a,String b){
if(a.equals(b))
{ return true;}
return false;
}
boolean compare(int[] a,int[] b){
if(Arrays.equals(a, b))
return true;
return false;
}
}
Thx bro
13:21 English sudharna hai apun ko
😁
Sir! I need java all Solutions please?
There is my Hackerrank java series follow that
@@dev.19.community I also follow java serise sir
Certificate kitna din mein ata Hain??
1 din ke andar
@@dev.19.community maine kal 7pm ko Diya tha... Ajj tak mil jayega??
chk krlo aya hoga
Nehi.... Abhi tak toh nehi aya 😕😕
@@lopamudramukherjee6919 Same questions repeat everytime?