[#3227] feat(leetcode): add c# and golang solution

This commit is contained in:
2025-09-12 13:13:22 +08:00
parent 8dfafaaf43
commit 1e562065e8
10 changed files with 561 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
// LeetCode 3227: Vowels Game In A String
// 難度: Medium
// 日期: 2025-09-12
using System;
using System.Collections.Generic;
using System.Linq;
public class Solution {
public bool DoesAliceWin(string s)
{
string vowels = "aeiou";
foreach (var character in s)
{
if (vowels.Contains(character))
{
return true;
}
}
return false;
}
}

View File

@@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>