Java
xxxxxxxxxx
public class Reverse {
public static void main(String[] args) {
String sentence = "Go work";
String reversed = reverse(sentence);
System.out.println("The reversed sentence is: " + reversed);
}
public static String reverse(String sentence) {
if (sentence.isEmpty())
return sentence;
return reverse(sentence.substring(1)) + sentence.charAt(0);
}
}
The reversed sentence is: krow oG
Linux - كيفية تثبيت anc-api-tools
Linux - كيفية تثبيت curvedns
Python - تحقق مما إذا كان الرقم موجبًا أم سالبًا أم 0
Linux - كيفية تثبيت zenmap
C - عد عدد الأرقام في عدد صحيح
C++ - تحقق مما إذا كان الرقم أوليًا أم لا
C++ - تحقق من السنة الكبيسة
C - ابحث عن أكبر رقم باستخدام تخصيص الذاكرة الديناميكي
JavaScript - تحقق مما إذا كانت السلسلة تبدأ وتنتهي بأحرف معينة
Kotlin - عكس رقم
Linux - كيفية تثبيت xbitmaps
Linux - كيفية تثبيت zstd
Kotlin - تقريب رقم إلى n منازل عشرية
Python - كتابة ملفات إكسل (XLSX)
C++ - البحث عن الحاصل والباقي
Java - عكس رقم
Kotlin - أوجد عاملي العدد
Linux - كيفية تثبيت zfs-test
We have been online since 2021 and 1 millions of people around the globe have visited our website since then
More visitors every month