Skip to content

Commit a35c736

Browse files
committed
Created using Colaboratory
1 parent b9da0ea commit a35c736

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

arrays.ipynb

+6-7
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"colab": {
66
"provenance": [],
77
"toc_visible": true,
8-
"authorship_tag": "ABX9TyPXPJZhhSIKrUVi0X01i8ho",
8+
"authorship_tag": "ABX9TyPrcjUxUuuLvQS9ck0FLoFm",
99
"include_colab_link": true
1010
},
1111
"kernelspec": {
@@ -30,8 +30,7 @@
3030
{
3131
"cell_type": "code",
3232
"source": [
33-
"#1.1 IsUnique\n",
34-
"\n",
33+
"# 1.1 IsUnique\n",
3534
"def containsDuplicate(nums):\n",
3635
" if(len(nums) == len(set(nums))):\n",
3736
" return False\n",
@@ -48,8 +47,8 @@
4847
{
4948
"cell_type": "code",
5049
"source": [
51-
"#1.2 Check Permutation\n",
52-
"#Decide if two strings are anagrams of one another\n",
50+
"# 1.2 Check Permutation\n",
51+
"# Decide if two strings are anagrams of one another\n",
5352
"\n",
5453
"def anagram(first, second):\n",
5554
" return sorted(first) == sorted(second)\n",
@@ -87,7 +86,7 @@
8786
}
8887
],
8988
"source": [
90-
"#1.3 URLify\n",
89+
"# 1.3 URLify\n",
9190
"def replace(str):\n",
9291
" new = str.strip()\n",
9392
" #print(new)\n",
@@ -108,7 +107,7 @@
108107
{
109108
"cell_type": "code",
110109
"source": [
111-
"#1.6 String Compression\n",
110+
"# 1.6 String Compression\n",
112111
"def compression(string):\n",
113112
" list = []\n",
114113
" count = 1\n",

0 commit comments

Comments
 (0)