Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
public int findNumbers(int[] nums) { int counter = 0; for(int num: nums){ if(String.valueOf(num).length()%2==0){ counter++; } } return counter; }
what is for(int num: nums). Please can you help with that.
Thank Sir! most helpful approach 🤠
Most welcome :)
IN while loop, it should be greater than or equal to 1
Thank you brother
Without passing ans in parameter how ans return is possible ?
what is math.log10()?? how does it works?
but what does your math.log10 do?
great
public int findNumbers(int[] nums) {
int counter = 0;
for(int num: nums){
if(String.valueOf(num).length()%2==0){
counter++;
}
}
return counter;
}
what is for(int num: nums). Please can you help with that.
Thank Sir!
most helpful approach 🤠
Most welcome :)
IN while loop, it should be greater than or equal to 1
Thank you brother
Without passing ans in parameter how ans return is possible ?
what is math.log10()?? how does it works?
but what does your math.log10 do?
great