Lesson 22 of 34

String പ്രശ്നങ്ങൾ: Reverse, Palindrome, Count

10 min 30 XP

charAt(i) അല്ലെങ്കിൽ toCharArray() ഉപയോഗിച്ച് String-ൽ അക്ഷരം അക്ഷരമായി loop ചെയ്യൂ. Reverse, palindrome, vowels എണ്ണൽ എന്നിവ campus interviews-ന്റെ പ്രിയപ്പെട്ടവയാണ്.

Example: edit me and press Run

Output Loading Java (first time takes a few seconds)
Press Run to see the result here.

Example: edit me and press Run

Output Loading Java (first time takes a few seconds)
Press Run to see the result here.

Character.isDigit(ch), Character.isLetter(ch), Character.isUpperCase(ch) എന്നിവ അക്ഷരം ഏത് തരമാണെന്ന് പറയുന്നു.

Challenge

+30 XP

ഒരു വാക്ക് വായിക്കൂ. പിന്നിൽ നിന്ന് വായിച്ചാലും അതുതന്നെയെങ്കിൽ "Palindrome", അല്ലെങ്കിൽ "Not palindrome" print ചെയ്യൂ. Capital letters അവഗണിക്കൂ (Madam ഒരു palindrome ആണ്).

Output Loading Java (first time takes a few seconds)
Press Run to see the result here.