Skip to content

Pavol Pidanič

I can count to 1023 with 10 fingers

  • About
  • Šaral – Šariš Algorithmic Language
  • Slovak public holidays
  • Tschingt
  • Hackerrank solutions
  • Blog

Hackerrank – Looping and Skipping

11. October 20155. April 2017 Pavol PidaničComments are off for this post.

Problem Statement
A description of the problem can be found on Hackerrank.

Solution

Solution
Shell
1
2
3
4
5
6
#!/bin/bash
 
for i in {1..99..2}
do
  echo $i
done

All solutions are also available on my GitHub.

Tagged as: bash, hackerrank, linux

Categorised in: Hackerrank

Post navigation

Hackerrank – Let’s Echo
Hackerrank – A Personalized Echo

Decode Theme by Macho Themes

  • EnglishEnglish
  • SlovenčinaSlovenčina

Search in my Page

Recent Posts

  • What is Java to JavaScript? 30. November 2023
  • There are 2 types of people – Those who have worked in a Saas company and those who have not 2. October 2023
  • 7 NPM packages you may (never) use 7. April 2021
  • Recursion in Šaral programming language 16. May 2018
  • Hackerrank – Making Anagrams 8. January 2018

Categories

  • Aspect-oriented programming (1)
  • Design Patterns (1)
  • Hackerrank (252)
  • Programming (2)
  • Queal (1)
  • Saral (3)
  • Scala (1)
  • Uncategorized (2)

Posts Archives

  • November 2023 (1)
  • October 2023 (1)
  • April 2021 (1)
  • May 2018 (1)
  • January 2018 (5)
  • December 2017 (9)
  • November 2017 (1)
  • October 2017 (10)
  • June 2017 (26)
  • April 2017 (2)
  • December 2016 (24)
  • November 2016 (2)
  • October 2016 (5)
  • September 2016 (12)
  • August 2016 (4)
  • May 2016 (3)
  • April 2016 (9)
  • February 2016 (25)
  • January 2016 (72)
  • November 2015 (4)
  • October 2015 (35)
  • September 2015 (7)
  • August 2015 (1)
  • July 2015 (1)

Tags

bash coding humor compare contest factorial factorization fibonacci filter functional programming gcd grep hackerrank interview java javascript Job jvm kaprekar lambda linked list linux map math modulo npm oracle palindrome priority queue programming programming language project euler queal recursion regex ruby saral scala sort specification sql string split sum tree word play xor