Lesson 17 of 23
String के सवाल: Reverse, Palindrome, Frequency
11 min 30 XP
Interviews में strrev जैसे library helpers के बिना string कोड लिखने को कहा जाता है। दो tricks ज़्यादातर सवाल हल करती हैं: दोनों सिरों से swap (two pointers) और 26 size का count array।
Example: edit me and press Run
Output Loading C (first time takes a few seconds)
Press Run to see the result here.