Uses Reverse

স্ট্রিং উল্টানো
স্ট্রিং উল্টানো Crystal ট্র্যাকে
module ReverseString
  def self.reverse(input : String) : String
    input.reverse
  end
end

This is the simplest and most exemplary solution, using the built-in String#reverse method. Internally, it uses a very optimized implementation, using a buffer and working directly on the string's bytes. If curious, check the source code.

23 সেপ্টেম্বর 2026 · কাজে লেগেছে?

Crystal ট্র্যাকে স্ট্রিং উল্টানো অনুশীলনীর অন্য অ্যাপ্রোচগুলো

এই অনুশীলনীটি আমাদের কমিউনিটি যেভাবে অন্য ভাবেও সমাধান করেছে