This repository is structured to help you prepare for coding challenges. Each week, you'll find tasks to solve, along with necessary information and tests.
It includes hackerrank solition of the following challanges in 3 month preparation kit (3MonthPreparationKit):
[3MonthPreparationKit]
- [Week13]
-[1_FindTheRunningMedian]
- solution.php
- info.txt
- test.php
- [testcases]
- 1-input.txt
- 1-output.txt
- 2-input.txt
- 2-output.txt
- 3-input.txt
- 3-output.txt
[OtherTasks]
- 1
- solutionsInfo.md
- task.txt
- task1_solution1.php
- task1_solution2.php
- task1_solution3.php
- task2_solution1.php
- task2_solution2.php
- task2_solution3.php
- solution.php: The file you can copy-paste into the HackerRank editor and run the code.
- info.txt: Information about what you need to learn to solve the task.
- test.php: The code with data to test and compare if it works correctly. (In the future, this might be done with PHPUnit).
- testcases/: Contains input and expected output files for tests. You will find there %number_of_case%-input.txt and %number_of_case%-output.txt files. The first one is the input data for the test.php file and the second one is the expected output.
It also has 1 Week preparation kit 1WeekPreparationKit whith the following tasks
- 1WeekPreparationKit
- Day1
- Day2
- Day3
- 1 Zig Zag Sequence - this one is not accepted by hackerrank even thought output is same as expected
- 3 Caesar Cipher
- 4 Test
- Day4
- Day7
To run test navigate to folder and run php test.php Example:
cd 3MonthPreparationKit/Week13/1_FindTheRunningMedian
php test.php
And for sure we have other similar tasks from different sources. In folder OtherTasks you can find interesting tasks from different interviews and coding challenges.
At OtherTasks you can find interesting tasks from different interviews and coding challenges.
If you want to by me a coffee - just do it: