mirror of
https://github.com/donnemartin/interactive-coding-challenges.git
synced 2024-03-22 13:11:13 +08:00
Added the set solution for str_diff_solution
This commit is contained in:
parent
d96b6179a9
commit
80f6b6a680
|
@ -81,7 +81,7 @@
|
||||||
"### Set - Difference\n",
|
"### Set - Difference\n",
|
||||||
"\n",
|
"\n",
|
||||||
"* A set is an unordered collection of unique elements.\n",
|
"* A set is an unordered collection of unique elements.\n",
|
||||||
" * Return a string of a new set with an element in set(t) that is not in set(s).\n",
|
" * Return a string of a new set with an element in set(t) that is not in set(s)\n",
|
||||||
"\n",
|
"\n",
|
||||||
"Complexity:\n",
|
"Complexity:\n",
|
||||||
"* Time: O(m+n), where m and n are the lengths of s, t\n",
|
"* Time: O(m+n), where m and n are the lengths of s, t\n",
|
||||||
|
@ -209,9 +209,9 @@
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"anaconda-cloud": {},
|
"anaconda-cloud": {},
|
||||||
"kernelspec": {
|
"kernelspec": {
|
||||||
"display_name": "Python [Root]",
|
"display_name": "Python [Python3]",
|
||||||
"language": "python",
|
"language": "python",
|
||||||
"name": "Python [Root]"
|
"name": "Python [Python3]"
|
||||||
},
|
},
|
||||||
"language_info": {
|
"language_info": {
|
||||||
"codemirror_mode": {
|
"codemirror_mode": {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user