ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
Greatly explained!👏
class Solution { public void moveZeroes(int[] arr) { int n = arr.length; int i = 0; // left pointer int j = 0; // right pointer while (j < n) { if (arr[j] != 0) { int temp = arr[i]; arr[i] = arr[j]; arr[j] = temp; i++; } j++; } }}
Thank you :) Great explanation mam
Hello mam, I am little bit stuck in the situation when you increament the countcan you explain it more please
👍👍👍👍
Shuk riya❤
More leetcode problem please
Will start uploading soon
Hindi Mai dalne chaiye video English DSA hard lagne laagta hai 😅
Vo bhi planned hai.... Because of some personal issue, pending hai..... Jald hi accha educational content aayega
Greatly explained!👏
class Solution {
public void moveZeroes(int[] arr) {
int n = arr.length;
int i = 0; // left pointer
int j = 0; // right pointer
while (j < n) {
if (arr[j] != 0) {
int temp = arr[i];
arr[i] = arr[j];
arr[j] = temp;
i++;
}
j++;
}
}
}
Thank you :) Great explanation mam
Hello mam, I am little bit stuck in the situation when you increament the count
can you explain it more please
👍👍👍👍
Shuk riya❤
More leetcode problem please
Will start uploading soon
Hindi Mai dalne chaiye video English DSA hard lagne laagta hai 😅
Vo bhi planned hai.... Because of some personal issue, pending hai..... Jald hi accha educational content aayega