Top "Reverse" questions

Rearranging the order of a sequence such that the final order is a mirror image of the original.

How to reverse a string in Go?

How can we reverse a simple string in Go?

string go reverse
Reversing a List in Prolog

I have finished a homework assignment for my programming class. I was supposed to create a Prolog program that reverses …

list prolog concatenation reverse head
Reverse a given sentence in Java

Can anyone tell me how to write a Java program to reverse a given sentence? For example, if the input …

java string reverse
How to reverse order a vector?

Suppose I have a vector v, how do I get its reverse, i.e. last element first? The first thing …

r sorting vector reverse
Reverse A Binary Tree (Left to Right)

I was looking at interview questions and I recently came upon one that asked you how to reverse a general …

java data-structures tree binary-tree reverse
php: converting number to alphabet and vice versa

So I have this function: function toAlpha($data){ $alphabet = array('a','b','c','d','e','f','g','h','i','j',…

php string function math reverse
Reverse Modulus Operator

Over 3 years after asking the question I found the solution. I have included it as an answer. I have an …

reverse modulus
Reverse Sorted Dictionary in .NET

Is there any way I can iterate backwards (in reverse) through a SortedDictionary in c#? Or is there a way …

c# .net dictionary iteration reverse
Can I loop through a javascript object in reverse order?

So I have a JavaScript object like this: foo = { "one": "some", "two": "thing", "three": "else" }; I can loop this like: …

javascript object for-loop properties reverse
Linux: Find all symlinks of a given 'original' file? (reverse 'readlink')

Consider the following command line snippet: $ cd /tmp/ $ mkdir dirA $ mkdir dirB $ echo "the contents of the 'original' file" > …

linux bash symlink reverse