# Leetcode 500 - Keyboard row

Note:

• Use [] to store each char on the same row.
• Use lowercase to compare.

Question:

Given an array of strings words, return the words that can be typed using letters of the alphabet on only one row of American keyboard like the image below.

In the American keyboard:

• the first row consists of the characters “qwertyuiop”,
• the second row consists of the characters “asdfghjkl”, and
• the third row consists of the characters “zxcvbnm”.

Example:

Code: