 What's up guys, my name is Michael and welcome to my YouTube channel. Today we're going to do another Lico challenge called reverse string You're just giving a string reverse it. All right, this is actually really easy I'm gonna do it right now real quick. All you got to do is go through the middle We've done this so many times so many times go through the middle and Then swap it with the end. So I'm gonna create a char temp. This is gonna be the s at i Then we're gonna do s at i is gonna equal to s at s dot size minus i minus 1 Then we do s at s dot size Minus i minus 1 is going to equal to temp and then that's it, okay This is the mathematical function you could create s dot size minus i minus 1 That is the function that is Given the i that gets the last value so you don't have to do all this stuff We've done this so many times so might as well do it right now Let's submit and this should be very very should be accepted easy peasy lemon squeezy Basically, you could write this out this Function out yourself if you I go to the middle and then you take this little end of the year this length of the Ray minus i minus 1 Length minus 1 then minus i that would get you the end of the end of the array And of the end of the size of the character String so then you could swap these two This is how you create a temporary character get it pointed to the beginning Change the beginning to equal to the end let the big end equal to the temp character Which was a character we got from the beginning and that's it That's why you have to do Ray cops describe a check you guys later. Peace