This was the best explanation ever thank u… everyone else vids talk about using an array then using the for loop and writing the expressions backwards … this vid was so much better explained
public class Hello { public static void main(String args[]) { String a="Oye kya"; int lent=a.length(); for(int i=lent-1;i>=0;i--) { char c = a.charAt(i); System.out.print(c); } } } I feel this easiler 😅 and simple 🤪
This was the best explanation ever thank u… everyone else vids talk about using an array then using the for loop and writing the expressions backwards … this vid was so much better explained
Thanks! Do subscribe to channel
i love you man, just subscribed !!
Just so simple to understand bro. Great work
Thank you so much. Here you gained new subscriber.
Thanks for the sub!
It's really very clear explanation 🤠
Thank you! Do like & Subscribe to channel 👍
Accha padaya Baccha!
what an explanation bro ! i'm totally impressed thanks subscribed
Thanks 👍
Nice
Thnx dude ... u gave an easy explanation but this ques is better if done with 2 pointer
still thnx
Super exaplantion sir
Good Explanation bro. I easily understood.
Amazing explanation ❤
Thankyou sir very helpfull💯
Most welcome
great explanation boss. Thank you
You got a new subscriber ❤
explanation is super 👌👌👌👌
Thanks 👍 do subscribe to channel
I understand very well tanq sir 🙏🙏
Thanks! Do subscribe to channel 👍
awesome explanation guru
Thank you so much 🙂
Thank u very much sir. Nice explaination keep doing sir
Thanks 👍
Good explanation ✨
nice brother
clear explanation
Thanks! Do subscribe to channel 👍
Really amazing.. keep going 👍
Thanks! Do Subscribe to channel 👍
Thank you so much for such great explaination
Glad it was helpful!
nice explanation
Thanks 👍
Thank you sooooo much❤
Good one bruh❤
Thanks! Do Subscribe to channel 👍
Good explanation dude
Thanks 👍
Good explanation,sir plz make a video on reverse an Array
Ok, Will upload it soon.
Thank you sir, if u make complete programming on Array it will b very helpful.
Nice bro
Do subscribe to channel
I wanted a String Builder Explanation with use of these question can you do this?
thankyouuuu😍
Thank you
Thank you u made it clear!
Thanks! Do subscribe to channel 👍
Can we solve this question without using another array
public class Hello {
public static void main(String args[]) {
String a="Oye kya";
int lent=a.length();
for(int i=lent-1;i>=0;i--)
{
char c = a.charAt(i);
System.out.print(c);
}
}
}
I feel this easiler 😅 and simple 🤪
Neither his solution nor your solution is the most efficient. Using two pointers would be more efficient
Bro can't we just decrement the string by 1
yes there's a way search online. It'll prolly also have i- - in the last phase
Bro upload string reverse using string builder and buffer please 👍
Thank you so much ❤