AutoDesk |Key Change Counter | Coding OA Question and Answers | 2023
Question · Posted Apr 2026
Problem: Key Change Counter The Scenario: You are given an array of letters (uppercase and lowercase) called recording, which represents a sequence of letters typed by a user. On a standard keyboard, typing 'w' and 'W' involves pressing the same physical letter key (ignoring modifiers like Shift). The Task: Count how many times the user had to change the physical key they were pressing while typing the sequence. Rules: Moving from 'a' to 'A' or 'A' to 'a' is not ...
The full answer & interview discussion are available to premium members.
Log in Create a free account