https://github.com/siakhooi/codility-palladium-2020
Codility Challenge: Palladium 2020 (Medium)
https://github.com/siakhooi/codility-palladium-2020
codility codility-challenges java junit5 maven
Last synced: 13 days ago
JSON representation
Codility Challenge: Palladium 2020 (Medium)
- Host: GitHub
- URL: https://github.com/siakhooi/codility-palladium-2020
- Owner: siakhooi
- Created: 2021-04-26T09:57:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-10T11:14:07.000Z (almost 5 years ago)
- Last Synced: 2025-08-29T18:49:45.814Z (11 months ago)
- Topics: codility, codility-challenges, java, junit5, maven
- Language: Java
- Homepage:
- Size: 200 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Codility Challenge: Palladium 2020
## CoverBuildings
- Difficulty:Medium
- Given N rectangular buildings of width 1, find the minimum total area of two rectangular banners that cover all of the buildings.
-
-
## Versions
- Result
- `Good`: Correctness 100%, Performance 100%.
- `OK`: Correctness 100%, Performance <100%.
- `Fail`: Correctness <100%, Performance <100%.
- File naming convention
- Code `A`: `Palladium2020A.java`
| File | Complexity | Description | Result | Report |
| ---- | ------------------------- | ------------------------------------ | ------ | ----------------------------------------------------------------------- |
| `A` | `O(N)` or `O(N + max(H))` | Biggest Rect from top-left/top-right | Good | [BWRYER-3KN](https://app.codility.com/demo/results/trainingBWRYER-3KN/) |