<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>slices on Progmeister</title>
    <link>https://progmeister.ch/categories/slices/</link>
    <description>Recent content in slices on Progmeister</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 30 Apr 2020 00:00:00 +0200</lastBuildDate>
    
	<atom:link href="https://progmeister.ch/categories/slices/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Slices</title>
      <link>https://progmeister.ch/blog/problems/slices/</link>
      <pubDate>Thu, 30 Apr 2020 00:00:00 +0200</pubDate>
      
      <guid>https://progmeister.ch/blog/problems/slices/</guid>
      <description>Implement a function func removeEven(s []int) []int that removes even numbers from the input slice, and returns a new slice with the remaining numbers in the same order as a result.
Example:
removeEven([]int{5, 2, 3, 6, 2, 3}) -&amp;gt; []int{5, 3, 3} removeEven([]int{1, 3, 5}) -&amp;gt; []int{1, 3, 5} removeEven([]int{2, 4, 6}) -&amp;gt; []int{}   Implement a function func generateFibonacci(n int) []int that returns a slice containing the first n elements of the Fibonacci sequence (wiki).</description>
    </item>
    
  </channel>
</rss>