Implement validation logic in an existing service that updates a user's security PIN.
Unlock detailed company stats for this questionUpgrade
The round runs on HackerRank inside a pre-existing code repository, with an AI assistant offering Ask, Plan and Edit modes. The initial task is understanding the existing codebase and implementing the required validations.
Follow-ups: extend the validation to prevent users from reusing their last three previously used PINs, then add unit tests covering the new validation logic. There were no existing tests for this service, so test coverage had to be introduced from scratch.
Expect follow-ups like
- Extend the validation to prevent users from reusing their last three previously used PINs.
- Add appropriate unit tests covering the new validation logic, in a service that had no existing tests.
Format · AI-enabled coding round on HackerRank in a pre-existing repository.
Community answers
No answers contributed by the community yet.
Related courses

Course

