• Register

Recent posts tagged reverse

12 0 3 min.
Hello reader, Welcome to my post :) In this post, we shall see how we can reverse a string in java without using the inbuilt reverse method. There are a number of ways by which a string can be reversed in java. As far as this post is concerned, we wo...
posted Jul 12 kesav.eee 275 points
13 1 1 min.
Overview  Today we are going to talk about a very important topic, how to use the reverse function in Python. As you may have known by now that all the functions of Python are very simple.  Similarly, reverse also means to invert somet...
posted Jul 8 Tania 800 points
21 2 3 min.
Hello reader, Welcome to my post :)In this post, we shall discuss the various approaches that could be adopted in order to reverse a linked list. We would first see some basics about the linked list and then we shall see how we can reverse the elemen...
posted Jun 15 kesav.eee 275 points
6 0 1 min.
Reverse a string in c without using functionUsing strrev() functionThe function is used for reversing a string.The reversed string will be stored in the same string.Syntaxstrrev (string)Before working on reversing the string without using function, l...
posted May 20 Sanjana Sagar 499 points
0 0 1 min.
The Algorithm:To reverse a number, follow the steps given below:First, we find the remainder of the given number by using the modulo (%) operator.Multiply the variable reverse by 10 and add the remainder into it.Divide the number by 10.Repeat the abo...
posted May 17 muliemes 100 points
0 0 2 min.
Today I will teach you that how we can reverse any string in java hope that you will learn it.Java Program to reverse each word in String, This program reverses every word of a string and display the reversed string as an output. For example, if...
posted Oct 9, 2020 Hasnain_khan 100 points
0 0 1 min.
In this article we will understand the approach and program to reverse each word in a string javascript. There will be only approach, program and the output, so this article won’t be long enough to read.For example: Just assume the input string...
posted Oct 8, 2020 Lalit Kumar 1,240 points
0 0 1 min.
Given a vector containing elements {1, 45, 54, 74, 54, 12} and we have to reverse it. It means we have to change its order to {12, 54, 74, 54, 45, 1}. And today in this article we will be taking a look at the approach and the program itself. &nb...
posted Jun 19, 2020 Lalit Kumar 1,240 points
0 0 2 min.
Methods of reversing an array in C++ arereverse() methodIn-place implementationUsing recursion reverse() method C++ provides a header file algorithm.h which contains function reverse(). This helps in reversing the elements of an array. This...
posted May 27, 2020 Lalit Kumar 1,240 points
0 0 1 min.
For reversing a string in c++ we can use the inbuilt function, printing reverse string and by creating our own function. In this article, we are going to learn how to reverse a vector?ExampleI am assuming that you already know about the vectors. Here...
posted May 22, 2020 Lalit Kumar 1,240 points
0 0 2 min.
How reversing the string works in C++? Assume we have a string as “exam” the reverse form of this string will be “maxe”. There are some methods to reverse a string in c++ and we will be learning them in this article. &nbs...
posted May 19, 2020 Lalit Kumar 1,240 points
To see more, click for the full list of questions or popular tags.