Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion exercises/practice/accumulate/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Hints
# Instructions append

## Hints

For this exercise the following F# feature comes in handy:

Expand Down
4 changes: 3 additions & 1 deletion exercises/practice/alphametics/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Hints
# Instructions append

## Hints

- To parse the text, you could try to use the [FParsec](http://www.quanttec.com/fparsec/tutorial.html) library.
- You can solve this exercise with a brute force algorithm, but this will possibly have a poor runtime performance.
Expand Down
2 changes: 2 additions & 0 deletions exercises/practice/anagram/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Instructions Append

## Note

You must return the anagrams in the same order as they are listed in the candidate words.
4 changes: 3 additions & 1 deletion exercises/practice/beer-song/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Hints
# Instructions append

## Hints

- Try to capture the structure of the song in your code, where you build up the song by composing its parts.
4 changes: 3 additions & 1 deletion exercises/practice/diamond/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Hints
# Instructions append

## Hints

- Testing this one can be tricky without simply hardcoding a bunch of inputs and outputs. [Property based testing](https://fsharpforfunandprofit.com/posts/property-based-testing/) is another way to think about testing that allows you to more easily test this type of algorithm.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Hints
# Instructions append

## Hints

For this exercise the following F# features come in handy:
- [(..) start finish](https://fsharp.github.io/fsharp-core-docs/reference/fsharp-core-operators.html#(..)) allows you to succinctly create a range of values.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Hints
# Instructions append

## Hints

For this exercise the following F# feature comes in handy:

Expand Down
4 changes: 3 additions & 1 deletion exercises/practice/food-chain/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Hints
# Instructions append

## Hints

- Try to capture the structure of the song in your code, where you build up the song by composing its parts.
4 changes: 3 additions & 1 deletion exercises/practice/grade-school/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Hints
# Instructions append

## Hints

For this exercise the following F# feature comes in handy:

Expand Down
4 changes: 3 additions & 1 deletion exercises/practice/grains/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Hints
# Instructions append

## Hints

For this exercise the following F# features come in handy:

Expand Down
4 changes: 3 additions & 1 deletion exercises/practice/house/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Hints
# Instructions append

## Hints

- Try to capture the structure of the song in your code, where you build up the song by composing its parts.
4 changes: 3 additions & 1 deletion exercises/practice/leap/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Notes
# Instructions append

## Notes

The [DateTime class][datetime] provides a built-in [IsLeapYear][datetime.isleapyear] method
which you should pretend doesn't exist for the purposes of implementing this exercise.
Expand Down
4 changes: 3 additions & 1 deletion exercises/practice/lens-person/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Hints
# Instructions append

## Hints

- This exercise expects you to use the [Aether](https://xyncro.tech/aether/) library, which adds _lenses_ functionality to F#. With lenses, you can quite easily read or update nested structures.
4 changes: 3 additions & 1 deletion exercises/practice/linked-list/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Hints
# Instructions append

## Hints

A [doubly linked list](https://en.wikipedia.org/wiki/Doubly_linked_list) is a mutable data structure. As F# is a functional-first language, immutability is generally preferred, but there are language features that allow the use of mutation where it is required.

Expand Down
4 changes: 3 additions & 1 deletion exercises/practice/nth-prime/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Hints
# Instructions append

## Hints

For this exercise the following F# feature comes in handy:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Hints
# Instructions append

## Hints

- The most simple way to check if a number is a palindrome is quite slow. To speed things up, you could implement a slighly more complex algorithm which uses mutable state.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Hints
# Instructions append

## Hints

For this exercise the following F# feature comes in handy:

Expand Down
4 changes: 3 additions & 1 deletion exercises/practice/poker/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Hints
# Instructions append

## Hints

- [Designing with types](http://fsharpforfunandprofit.com/series/designing-with-types.html) To come up with a clean and easy to read solution for this make sure to choose the right types to represent the different parts of the problem (think of suits, values, cards, etc)
4 changes: 3 additions & 1 deletion exercises/practice/proverb/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Hints
# Instructions append

## Hints

- Try to capture the structure of the song in your code, where you build up the song by composing its parts.
4 changes: 3 additions & 1 deletion exercises/practice/raindrops/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Hints
# Instructions append

## Hints

- Think of this in a generic way. If you're familiar with the (fizz buzz)[https://en.wikipedia.org/wiki/Fizz_buzz] problem this is similar except there are three conditions instead of two. How would you implement this knowing that one day we might want to extend to four, five, or even ten types of raindrops?
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Hints
# Instructions append

## Hints

For this exercise the following F# feature comes in handy:

Expand Down
4 changes: 3 additions & 1 deletion exercises/practice/space-age/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Hints
# Instructions append

## Hints

- Try to focus on minimizing the amount of code duplication. If you find yourself doing a lot of copy/paste take a step back and think about how the code can be refactored
- [Pattern matching](https://fsharpforfunandprofit.com/posts/match-expression/) is more idiomatic than using dictionaries to translate values
4 changes: 3 additions & 1 deletion exercises/practice/twelve-days/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Hints
# Instructions append

## Hints

- Try to capture the structure of the song in your code, where you build up the song by composing its parts.
4 changes: 3 additions & 1 deletion exercises/practice/wordy/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Hints
# Instructions append

## Hints

- To parse the text, you could try to use the [FParsec](http://www.quanttec.com/fparsec/tutorial.html) library.
- As an exercise, you could try to represent a question as an [Abstract Syntax Tree](https://en.wikipedia.org/wiki/Abstract_syntax_tree).
Loading