Skip to content

Commit 0a76d10

Browse files
committed
Initial Commit
0 parents  commit 0a76d10

File tree

14 files changed

+52
-0
lines changed

14 files changed

+52
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
solveMeFirst a b = a + b
2+
3+
main = do
4+
val1 <- readLn
5+
val2 <- readLn
6+
let sum = solveMeFirst val1 val2
7+
print sum
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(print "Hello World")
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
(defn hello_word_n_times[n]
2+
(dotimes [_ n](println "Hello World"));
3+
)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
(fn[num lst]
2+
(doseq [item lst]
3+
(dotimes [_ num] (println item))
4+
)
5+
)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
(fn[delim lst]
2+
(doseq [item lst]
3+
(if (< item delim) (println item))
4+
)
5+
)
6+

1 - Introduction/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Introduction Challenges
2+
3+
1. Solve me first
4+
1. Hello World
5+
1. Hello World N Times
6+
1. List Replication
7+
1. Filter Replication

2 - Recursion/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Recursion Challenges

3 - Functional Structures/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Functional Structures Challenges

4 - Memoization and DP/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Memoization and DP Challenges

5 - Persistent Structures/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Persistent Structures Challenges

6 - Ad Hoc/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Ad Hoc Challenges

7 - Parsers/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Parsers Challenges
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Interpreter and Compilers Challenges

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Hacker Rank
2+
3+
### Functional Programming
4+
5+
### Como participar?
6+
Colocar a resolução do seu exercicio dentro da devida pasta com o nome usando a sua linguagem de preferencia (Estamos dando prioridade a elixir e haskell)
7+
8+
** Formato do arquivo **: (nomeNoGithub).ex
9+
10+
Ficando com uma estrutura assim:
11+
12+
* 1 - Introduction
13+
* 1 - Solve me first
14+
* anabastos.ex
15+
* joaozinho.hs
16+
* mariazinha.ex

0 commit comments

Comments
 (0)