Skip to content

Commit f7d2402

Browse files
Create question.txt
1 parent ef7360d commit f7d2402

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Reverse string in place/question.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Write a program to reverse a String in place in Java, without using additional memory.
2+
You cannot use any library classes or methods like e.g. StringBuilder to solve this problem. This restriction is placed because StringBuilder and StringBuffer class define a reverse() method which can easily reverse the given String.

0 commit comments

Comments
 (0)