<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>IBCS Warm Up by Mery Tellez</title>
      <link>https://padlet.com/mtellez4/qcgpdoh3ffutow7g</link>
      <description>Try to solve a programming problem as fast as possible as a warm-up.</description>
      <language>en-us</language>
      <pubDate>2021-08-10 05:27:06 UTC</pubDate>
      <lastBuildDate>2026-01-17 17:38:25 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>The Problem:</title>
         <author>mtellez4</author>
         <link>https://padlet.com/mtellez4/qcgpdoh3ffutow7g/wish/1673743586</link>
         <description><![CDATA[<div>Create a function that takes two numbers and a mathematical operator + - / * and will perform a calculation with the given numbers.<br><br></div><div><strong>Examples</strong></div><pre>calculator(2, '+', 2) ➞ 4
calculator(2, '*', 2) ➞ 4
calculator(4, '/', 2) ➞ 2</pre><div><strong>Note: </strong>If the input tries to divide by 0, return 0.<br><br><strong>Method heading:</strong></div><pre>public static int calculator(int num1, char operator, int num2) {

}</pre><div><a href="https://edabit.com/challenge/gyfsGx7KrGLscxFrD">https://edabit.com/challenge/gyfsGx7KrGLscxFrD</a>&nbsp;</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-08-10 05:27:06 UTC</pubDate>
         <guid>https://padlet.com/mtellez4/qcgpdoh3ffutow7g/wish/1673743586</guid>
      </item>
      <item>
         <title>The Problem:</title>
         <author>mtellez4</author>
         <link>https://padlet.com/mtellez4/qcgpdoh3ffutow7g/wish/1673759436</link>
         <description><![CDATA[<div>Write a function that finds the sum of an array. <strong>Make your function recursive.<br></strong><br></div><div><strong>Examples<br></strong><br></div><pre>sum([1, 2, 3, 4]) ➞ 10
sum([1, 2]) ➞ 3
sum([1]) ➞ 1
sum([]) ➞ 0</pre><div><strong>Note: </strong>Return 0 for an empty array.</div><div><br><strong>Method heading:</strong></div><pre>public static int sum(int[] arr) {
		
}</pre><div><a href="https://edabit.com/challenge/hf2THAoQRQbAx2jc9">https://edabit.com/challenge/hf2THAoQRQbAx2jc9</a></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-08-10 05:46:40 UTC</pubDate>
         <guid>https://padlet.com/mtellez4/qcgpdoh3ffutow7g/wish/1673759436</guid>
      </item>
      <item>
         <title>Siho - POST</title>
         <author>4117016</author>
         <link>https://padlet.com/mtellez4/qcgpdoh3ffutow7g/wish/1676425075</link>
         <description><![CDATA[<div>public static int calculator(int num1, char operator, int num2) { &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; int finalNum;<br>&nbsp; &nbsp; &nbsp; &nbsp; if (operator == '+') {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; finalNum = num1 + num2;<br>&nbsp; &nbsp; &nbsp; &nbsp; } else if (operator == '-') {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; finalNum = num1 - num2;<br>&nbsp; &nbsp; &nbsp; &nbsp; } else if (operator == '*') {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; finalNum = num1 * num2;<br>&nbsp; &nbsp; &nbsp; &nbsp; } else if (operator == '/') {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; finalNum = num1 / num2;<br>&nbsp; &nbsp; &nbsp; &nbsp; } else {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return 0;<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp; &nbsp; return finalNum;&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; }</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-08-12 05:06:55 UTC</pubDate>
         <guid>https://padlet.com/mtellez4/qcgpdoh3ffutow7g/wish/1676425075</guid>
      </item>
      <item>
         <title>Siho - POST</title>
         <author>4117016</author>
         <link>https://padlet.com/mtellez4/qcgpdoh3ffutow7g/wish/1676425389</link>
         <description><![CDATA[<div>public static int sum(int[] arr) {<br>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; if (arr.length == 0) {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return 0;<br>&nbsp; &nbsp; &nbsp; &nbsp; } else {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int[] arr2 = new int[arr.length - 1];<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (int i = 0; i &lt; arr.length - 1; i++) {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; arr2[i] = arr[i];<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return arr[arr.length - 1] + sum(arr2);<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br>		<br>&nbsp; &nbsp; }</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-08-12 05:07:16 UTC</pubDate>
         <guid>https://padlet.com/mtellez4/qcgpdoh3ffutow7g/wish/1676425389</guid>
      </item>
      <item>
         <title>Hamza</title>
         <author></author>
         <link>https://padlet.com/mtellez4/qcgpdoh3ffutow7g/wish/1676426116</link>
         <description><![CDATA[<div>var operators = map[rune]func(int, int) int {<br>	'+': func(a , b int) int { return a + b },<br>	'*': func(a , b int) int { return a * b },<br>	'/': func(a , b int) int { return a / b },<br>}<br><br>func calculator(a int, op rune, b int) int {<br>	return operators[op](a, b)<br>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-08-12 05:07:56 UTC</pubDate>
         <guid>https://padlet.com/mtellez4/qcgpdoh3ffutow7g/wish/1676426116</guid>
      </item>
      <item>
         <title>Hamza</title>
         <author></author>
         <link>https://padlet.com/mtellez4/qcgpdoh3ffutow7g/wish/1676427182</link>
         <description><![CDATA[<div>func recursiveSum(s []int) int {<br>	if len(s) == 0 {<br>		return 0<br>	}<br>	return s[0] + recursiveSum(s[1:])<br>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-08-12 05:09:05 UTC</pubDate>
         <guid>https://padlet.com/mtellez4/qcgpdoh3ffutow7g/wish/1676427182</guid>
      </item>
      <item>
         <title>Holden - Post</title>
         <author></author>
         <link>https://padlet.com/mtellez4/qcgpdoh3ffutow7g/wish/1676428233</link>
         <description><![CDATA[<div>public int calculator(int num1, char operator, int num2) {<br>&nbsp; &nbsp; &nbsp; &nbsp; if (operator == '+'){<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return num1+num2;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; } else if (operator == '-'){<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return num1-num2;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; } else if (operator == '*'){<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return num1*num2;<br>&nbsp; &nbsp; &nbsp; &nbsp; } else if (operator == '/'){<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return num1/num2;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; return -1;<br><br>&nbsp; &nbsp; }</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-08-12 05:10:14 UTC</pubDate>
         <guid>https://padlet.com/mtellez4/qcgpdoh3ffutow7g/wish/1676428233</guid>
      </item>
      <item>
         <title>Advait</title>
         <author></author>
         <link>https://padlet.com/mtellez4/qcgpdoh3ffutow7g/wish/1676429160</link>
         <description><![CDATA[<div>public class Challenge {<br>	public static int calculator(int num1, char operator, int num2) {<br>		if (operator == '+') {<br>			return num1 + num2;<br>		} else if (operator == '-'){<br>			return num1 - num2;<br>		} else if (operator == '*') {<br>			return num1 * num2;<br>		} else if (operator == '/'){<br>			if (num2 == 0){<br>				return 0;<br>			}<br>			return num1 / num2;<br>		} else {<br>			return 0;<br>		}</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-08-12 05:11:14 UTC</pubDate>
         <guid>https://padlet.com/mtellez4/qcgpdoh3ffutow7g/wish/1676429160</guid>
      </item>
   </channel>
</rss>
