<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Find the missing letter Archives - Onestring Lab</title>
	<atom:link href="https://onestringlab.com/tag/find-the-missing-letter/feed/" rel="self" type="application/rss+xml" />
	<link>https://onestringlab.com/tag/find-the-missing-letter/</link>
	<description>Kode Kreativitas Kopi</description>
	<lastBuildDate>Mon, 04 May 2026 08:38:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://onestringlab.com/wp-content/uploads/2021/10/cropped-osl-high-res-e1455499003866-32x32.jpg</url>
	<title>Find the missing letter Archives - Onestring Lab</title>
	<link>https://onestringlab.com/tag/find-the-missing-letter/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Belajar Bahasa C &#8211; Find the missing letter</title>
		<link>https://onestringlab.com/find-the-missing-letter/</link>
		
		<dc:creator><![CDATA[Rajo Intan]]></dc:creator>
		<pubDate>Wed, 30 Nov 2022 10:58:51 +0000</pubDate>
				<category><![CDATA[Codewars]]></category>
		<category><![CDATA[C Language]]></category>
		<category><![CDATA[Find the missing letter]]></category>
		<guid isPermaLink="false">https://onestringlab.com/?p=773</guid>

					<description><![CDATA[<p>Write a method that takes an array of consecutive (increasing) letters as input and that returns the missing letter in the array. You will always &#8230; </p>
<p>The post <a href="https://onestringlab.com/find-the-missing-letter/">Belajar Bahasa C &#8211; Find the missing letter</a> appeared first on <a href="https://onestringlab.com">Onestring Lab</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Write a method that takes an array of consecutive (increasing) letters as input and that returns the missing letter in the array.</p>



<p>You will always get an valid array. And it will be always exactly one letter be missing. The length of the array will always be at least 2. The array will always contain letters in only one case.</p>



<p><strong>Example</strong>:</p>



<pre class="wp-block-code"><code class="">['a','b','c','d','f'] -&gt; 'e'
['O','Q','R','S'] -&gt; 'P'</code></pre>



<p>(Use the English alphabet with 26 letters!) Have fun coding it and please don&#8217;t forget to vote and rank this kata! :-). I have also created other katas. Take a look if you enjoyed this kata!</p>



<p>The link problem is <a href="https://bit.ly/3Ff9h22" target="_blank" rel="noreferrer noopener">here</a>.</p>



<p><strong>Solution</strong>:</p>



<pre title="Find the missing letter" class="wp-block-code"><code lang="cpp" class="language-cpp line-numbers">char findMissingLetter(char array[], int arrayLength)
{
  char miss, start;
  int i;

  start = array[0];
  for (i = 0; i &lt; arrayLength; i++)
  {
    if (start != array[i])
    {
      miss = start;
      break;
    }
    start = start + 1;
  }
  return miss;
}</code></pre>
<p>The post <a href="https://onestringlab.com/find-the-missing-letter/">Belajar Bahasa C &#8211; Find the missing letter</a> appeared first on <a href="https://onestringlab.com">Onestring Lab</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
