Daily challenge for 2026-04-16
471. Alternating Case Sequence Check
Given an array of strings words, return true if the strings alternate strictly between being all uppercase and all lowercase, starting with either casing. If the array has fewer than two elements, return true. A string is considered uppercase if all its alphabetic characters are uppercase, and lowercase if all its alphabetic characters are lowercase. Assume all strings contain only alphabetic characters and are non-empty.
Example:Input: words = ["abc", "DEF", "ghi"]Output: true
Run this challenge interactively in Python or JavaScript when the app loads.