Skip to content

transpose: add .md and .yml #285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 24, 2016
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
18 changes: 18 additions & 0 deletions transpose.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Write a program that takes input text and outputs it -- transposed.

Roughly explained, the transpose of a matrix:

```
ABC
DEF
```

is given by:

```
AD
BE
CF
```

Rows become columns and columns become rows. See <https://en.wikipedia.org/wiki/Transpose>.
4 changes: 4 additions & 0 deletions transpose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
blurb: "Write a program that takes input text and outputs it transposed."
source: "Reddit r/dailyprogrammer challenge #270 [Easy]."
source_url: "https://www.reddit.com/r/dailyprogrammer/comments/4msu2x/challenge_270_easy_transpose_the_input_text"