From 35fa37f3b42cecb07c907eb40e160927f510bcdf Mon Sep 17 00:00:00 2001 From: Deven <63876261+devenperez@users.noreply.github.com> Date: Tue, 9 Sep 2025 15:07:44 -0400 Subject: [PATCH] Create README - LeetHub --- 0520-detect-capital/README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 0520-detect-capital/README.md diff --git a/0520-detect-capital/README.md b/0520-detect-capital/README.md new file mode 100644 index 0000000..141e6b0 --- /dev/null +++ b/0520-detect-capital/README.md @@ -0,0 +1,25 @@ +
We define the usage of capitals in a word to be right when one of the following cases holds:
+ +"USA"."leetcode"."Google".Given a string word, return true if the usage of capitals in it is right.
+
Example 1:
+Input: word = "USA" +Output: true +
Example 2:
+Input: word = "FlaG" +Output: false ++
+
Constraints:
+ +1 <= word.length <= 100word consists of lowercase and uppercase English letters.