Last active
July 13, 2022 05:02
-
-
Save dafinoer/dfb646fd3b0887e248228c1765435e14 to your computer and use it in GitHub Desktop.
find name if exist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:convert'; | |
void main() { | |
} | |
/* | |
* given static list of string containing people names, | |
* find if name exists in list | |
* example | |
* n = [thor, ironman, loki, odin, hulk] | |
* x = hulk | |
* | |
* */ | |
bool findName(List<String> names) { | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment