<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>check palindrome</title><link>https://community.appian.com/discussions/f/general/28789/check-palindrome</link><description>write a program to check whether it is a palindrome or not ? 
 
 Input : 12321 
 output : it is a palindrome 
 
 input : mam 
 output : it is a palindrome 
 
 input : 12345 
 output: not a palindrome</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: check palindrome</title><link>https://community.appian.com/thread/129204?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 18:40:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:048a2b65-0eb3-46cb-ad2d-b791c2c056f4</guid><dc:creator>Boddupalli Bhargav</dc:creator><description>&lt;p&gt;/* two pointer approach */&lt;/p&gt;
&lt;p&gt;a!localVariables(&lt;br /&gt; local!text: &amp;quot;12121&amp;quot;,&lt;br /&gt; local!count: ceiling(len(local!text) / 2),&lt;br /&gt; and(&lt;br /&gt; a!forEach(&lt;br /&gt; items: enumerate(local!count),&lt;br /&gt; expression: local!text[fv!index] = local!text[len(local!text) - fv!index + 1]&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: check palindrome</title><link>https://community.appian.com/thread/114900?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 12:29:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b11e62f8-dd4c-480f-9370-c23b3ba85cd0</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;Then try it again. It still works perfectly for any palindrome.&lt;/p&gt;
&lt;p&gt;&lt;img height="62" src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1687523367598v1.png" width="272" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: check palindrome</title><link>https://community.appian.com/thread/114889?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 10:29:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2264c646-b94e-4556-af42-a4dc07683d57</guid><dc:creator>Amit Kumar</dc:creator><description>&lt;p&gt;I tried this logic, its not working for number like 121, 1331.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: check palindrome</title><link>https://community.appian.com/thread/113355?ContentTypeID=1</link><pubDate>Fri, 26 May 2023 14:55:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:81e77da7-bde4-4f5a-b839-ab2eb8908458</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;sigh, i&amp;#39;ve been avoiding trying this thing out, but...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: check palindrome</title><link>https://community.appian.com/thread/113325?ContentTypeID=1</link><pubDate>Fri, 26 May 2023 06:43:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1994af02-40f0-4220-adbf-a6f355a39688</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Use this -&amp;nbsp;&lt;a href="https://chat.openai.com/"&gt;https://chat.openai.com/&lt;/a&gt;&lt;br /&gt;Would save your and our time.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: check palindrome</title><link>https://community.appian.com/thread/113318?ContentTypeID=1</link><pubDate>Fri, 26 May 2023 06:21:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:931a22cd-5e45-47ef-844c-aee530e06447</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;Atleast give it a try before posting here.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;a!localVariables(
  local!input: char(code(ri!input)),
  local!reverse: reverse(local!input),
  and(local!reverse = local!input)
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: check palindrome</title><link>https://community.appian.com/thread/113316?ContentTypeID=1</link><pubDate>Fri, 26 May 2023 06:11:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:11869138-f4f6-4a02-8fca-a51985c2321a</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Another one ... really !?!?! What did your try so far?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>