Skip to content

Commit 8220652

Browse files
committed
puzzle -> challenge
1 parent 798c701 commit 8220652

File tree

5 files changed

+27
-23
lines changed

5 files changed

+27
-23
lines changed

README.md

+26-22
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
1-
# Kotlin coding puzzles
1+
# Kotlin coding challenges
22

3-
This repository contains a set of [programming puzzles](#lets-solve-some-puzzles) that are solved using the
3+
This repository contains a set of [programming challenges](#lets-solve-some-challenges) that are solved using the
44
[Kotlin](https://kotlinlang.org/) language (hints, solutions tests and [useful links](#useful-links) are here as well).
5-
The purpose of this repository is to help you to practice coding and develop strong problem-solving skills. This will help
6-
you to become a better programmer and improve your chance of getting a new job by passing
5+
The purpose of this repository is to help you to practice coding and develop strong problem-solving skills. This will
6+
help you to become a better programmer and improve your chance of getting a new job by passing
77
[whiteboard coding](https://www.quora.com/What-is-whiteboard-coding) interviews.
88

9-
## Puzzle structure
9+
## Challenge structure
10+
11+
Each challenge is located in separate package and it contains 3 main
12+
files ([screen](./misc/image/challenge-structure.png)):
1013

11-
Each puzzle is located in separate package and it contains 3 main files ([screen](./misc/image/SampleTask.png)):
1214
- `desc.md` - the task description.
13-
- `desc.kt` - an empty method/class where puzzle should be solved. This file also contains set of test and ocasionally helper methods.
15+
- `desc.kt` - an empty method/class where challenge should be solved. This file also contains set of test and
16+
ocasionally helper methods.
1417
[JUnit](https://junit.org/junit4/) tests which verify that task was solved correctly.
1518
- `solution.kt` - a file containing one or more solutions.
1619

17-
Keep in mind that each puzzle will usually have more than one solution. Even simple puzzles like
20+
Keep in mind that each challenge will usually have more than one solution. Even simple challenges like
1821
[String reversal](src/test/kotlin/com/igorwojda/string/reverse/desc.md) can be solved in
1922
[10 different ways](https://eddmann.com/posts/ten-ways-to-reverse-a-string-in-javascript/). Usually, we compare various
2023
solutions using
@@ -25,17 +28,18 @@ determine space/time complexity and we look at code readability.
2528

2629
1. Install [IntelliJ IDEA](https://www.jetbrains.com/idea/)
2730
2. Import project by using IntelliJ IDEA menu: `File | New | Project From Version Control | Git`
28-
3. Choose a puzzle and code the [solution](https://github.com/igorwojda/kotlin-coding-puzzle/wiki/Solving-coding-chalenges)
29-
4. [Run the tests](https://github.com/igorwojda/kotlin-coding-puzzle/wiki/Running-tests) to verify your solution
31+
3. Choose a challenge and code
32+
the [solution](https://github.com/igorwojda/kotlin-coding-challenges/wiki/Solving-coding-chalenges)
33+
4. [Run the tests](https://github.com/igorwojda/kotlin-coding-challenges/wiki/Running-tests) to verify your solution
3034

31-
# Let's solve some puzzles
35+
# Let's solve some challenges
3236

33-
Puzzles below are segregated by different difficulties. The repository also contains puzzles grouped by
37+
Challenges below are segregated by different difficulties. The repository also contains challenges grouped by
3438
[problem type](misc/desc.md).
3539

36-
Some puzzles may contain a reference to other puzzles that should be solved before to have a better understanding of the
37-
problem. To succeed you need to practice often, repeat the same puzzles multiple times and be persistent over time. Take
38-
your time before you take a look at the presented solution. **Good luck!**
40+
Some challenges may contain a reference to other challenges that should be solved before to have a better understanding
41+
of the problem. To succeed you need to practice often, repeat the same challenges multiple times and be persistent over
42+
time. Take your time before you take a look at the presented solution. **Good luck!**
3943

4044
**New in Town**
4145

@@ -130,18 +134,18 @@ your time before you take a look at the presented solution. **Good luck!**
130134
- [Advent of code](https://adventofcode.com/2018/events) - one month of various programing problems released daily at
131135
the end of the year. Fortunately archive of past events is still there.
132136
- [Code Google Com Codejam](https://code.google.com/codejam/past-contests) - Google Code Jam, calls on programmers
133-
around the world to solve challenging, algorithmic puzzles against the clock. They publish all the past problems on
137+
around the world to solve challenging, algorithmic challenges against the clock. They publish all the past problems on
134138
their website.
135139
- [CoderByte](https://coderbyte.com/challenges) - 200+ challenges, data structures / algorithms / company interview
136140
problems segregated by difficulty. Unfortunately most of them are only available for premium users. Premium gives you
137141
access to premium step-by-step solutions and user solutions.
138142
- [CodeChef](https://www.codechef.com/problems/school) - contains set of programming problems segregated by difficulty.
139143
- [LeetCode](https://leetcode.com/problemset/all) - data structures / algorithms / company interview problems segregated
140144
by difficulty.
141-
- [Code Forces](http://codeforces.com/problemset) - list of programming puzzles is smaller than other websites, but you
142-
will still have plenty of problems to solve.
143-
- [Spoj](https://www.spoj.com/problems/classical) - list of programming puzzles is smaller than other websites, but you
144-
will still have plenty of problems to solve.
145+
- [Code Forces](http://codeforces.com/problemset) - list of programming challenges is smaller than other websites, but
146+
you will still have plenty of problems to solve.
147+
- [Spoj](https://www.spoj.com/problems/classical) - list of programming challenges is smaller than other websites, but
148+
you will still have plenty of problems to solve.
145149

146150
## Video courses
147151

@@ -182,7 +186,7 @@ your time before you take a look at the presented solution. **Good luck!**
182186
# Contribute
183187

184188
Feedback and new contributions are welcome whether it's through bug reports or new PRs. To add new coding puzzle just
185-
follow this [guide](https://github.com/igorwojda/kotlin-coding-puzzle/wiki/Adding-a-new-puzzle) and open PR.
189+
follow this [guide](https://github.com/igorwojda/kotlin-coding-challenges/wiki/Adding-a-new-puzzle) and open PR.
186190

187191
## Contributors
188192

@@ -193,7 +197,7 @@ follow this [guide](https://github.com/igorwojda/kotlin-coding-puzzle/wiki/Addin
193197

194198
# Author
195199

196-
[![Follow me](https://github.com/igorwojda/kotlin-coding-puzzle/raw/main/misc/image/avatar.png)](https://twitter.com/igorwojda)
200+
[![Follow me](https://github.com/igorwojda/kotlin-coding-challenges/raw/main/misc/image/avatar.png)](https://twitter.com/igorwojda)
197201

198202
[![Follow me](https://img.shields.io/twitter/follow/igorwojda?style=social)](https://twitter.com/igorwojda)
199203

misc/image/SampleTask.png

-230 KB
Binary file not shown.

misc/image/challenge-structure.png

12.4 KB
Loading
File renamed without changes.

settings.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
rootProject.name = "kotlin-coding-puzzle"
1+
rootProject.name = "kotlin-coding-challenges"

0 commit comments

Comments
 (0)