mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-07 00:11:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -6,13 +6,13 @@
|
||||
<li>Each vowel <code>'e'</code> may only be followed by an <code>'a'</code> or an <code>'i'</code>.</li>
|
||||
<li>Each vowel <code>'i'</code> <strong>may not</strong> be followed by another <code>'i'</code>.</li>
|
||||
<li>Each vowel <code>'o'</code> may only be followed by an <code>'i'</code> or a <code>'u'</code>.</li>
|
||||
<li>Each vowel <code>'u'</code> may only be followed by an <code>'a'.</code></li>
|
||||
<li>Each vowel <code>'u'</code> may only be followed by an <code>'a'</code>.</li>
|
||||
</ul>
|
||||
|
||||
<p>Since the answer may be too large, return it modulo <code>10^9 + 7.</code></p>
|
||||
<p>Since the answer may be too large, return it modulo <code>10^9 + 7</code>.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> n = 1
|
||||
@@ -20,7 +20,7 @@
|
||||
<strong>Explanation:</strong> All possible strings are: "a", "e", "i" , "o" and "u".
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> n = 2
|
||||
@@ -28,7 +28,7 @@
|
||||
<strong>Explanation:</strong> All possible strings are: "ae", "ea", "ei", "ia", "ie", "io", "iu", "oi", "ou" and "ua".
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3: </strong></p>
|
||||
<p><strong class="example">Example 3: </strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> n = 5
|
||||
|
Reference in New Issue
Block a user