Skip to content

siakhooi/codility-codealone-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codility Challenge: Code Alone

ABSwaps

Versions

  • Result
    • Good: Correctness 100%, Performance 100%.
    • OK: Correctness 100%, Performance <100%.
    • Fail: Correctness <100%, Performance <100%.
  • File naming convention
    • Code A: CodeAlone2021A.java
    • etc

Gold Award

File Description Complexity Result Report
C1 Analysis Table O(N) Good U5TV62

Silver Awards

File Description Complexity Result Report
A1 Array O(N) or O(N**4) OK NR8E2J
A2 Array O(N) or O(N**4) OK DMVG4N
B1 Tree O(N) or O(N**4) OK 5F6H9D
B2 Tree O(N) or O(N**4) OK DJSTY5
B4 Tree O(N) or O(N**4) OK JR3QRR
B5 Tree/Array O(N) or O(N**4) OK K4VHV8
B6 Tree/Array O(N) or O(N**4) OK 9XCUNY
  • B3 was incomplete and has been deleted.
  • B4 has a bug, failed this scenario: (abaab)*, expected 3 but was 2.

Solutions by Codility

File Complexity Result Report
D1 O(N) Good 4X3A4K-2SA