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.