From ab78a9866c11bbcf084d45116471d14bf59dd18b Mon Sep 17 00:00:00 2001 From: Omi Date: Sat, 6 Jan 2024 21:49:05 +0530 Subject: [PATCH 1/4] =?UTF-8?q?+=E2=9A=B0:=20Cleaned=20Code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 4 ---- example.txt | Bin 50 -> 0 bytes file.txt | 1 - gist-solutions.md | 25 ------------------------- git-merge-test/merge.txt | Bin 86 -> 0 bytes private.key | Bin 10612 -> 0 bytes public_key.asc | Bin 5012 -> 0 bytes 7 files changed, 30 deletions(-) delete mode 100644 .vscode/settings.json delete mode 100644 example.txt delete mode 100644 file.txt delete mode 100644 gist-solutions.md delete mode 100644 git-merge-test/merge.txt delete mode 100644 private.key delete mode 100644 public_key.asc diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index dcb1530..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "python.analysis.typeCheckingMode": "basic", - "python.analysis.autoImportCompletions": true -} \ No newline at end of file diff --git a/example.txt b/example.txt deleted file mode 100644 index 12dae5791ffffec851fb6a159367e53142d614a4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 50 ucmezW&zT{gA&;SiAr(w2Fk}L01%_OPL?|nXp$N#%V@PJmVBlroVgLX>TM9Y= diff --git a/file.txt b/file.txt deleted file mode 100644 index 8a259f2..0000000 --- a/file.txt +++ /dev/null @@ -1 +0,0 @@ -Content for main branch diff --git a/gist-solutions.md b/gist-solutions.md deleted file mode 100644 index bf0b0d4..0000000 --- a/gist-solutions.md +++ /dev/null @@ -1,25 +0,0 @@ -https://github.com/souvikchand/oss101-forked/blob/souvikchand-details/gist-solutions.md -def binary_search(arr, target): - """ - Perform binary search on a sorted array. - - Parameters: - - arr (list): The sorted array to search. - - target: The target element to find in the array. - - Returns: - - int: The index of the target element if found, otherwise -1. - """ - low, high = 0, len(arr) - 1 - - while low <= high: - mid = (low + high) // 2 - - if arr[mid] == target: - return mid - elif arr[mid] < target: - low = mid + 1 - else: - high = mid - 1 - - return -1 diff --git a/git-merge-test/merge.txt b/git-merge-test/merge.txt deleted file mode 100644 index cc27f4efe7f7942799a51f8e8340c13380a0f7d2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 86 zcmezWuY@6=p@bokAqNO6859^&7%~~sfH0Mz2#E85ataK|Ks6v1j1SVIz>o`8lMW;m PfO-?b@Mo&?R z_dl)w8T~!_TevsTOVp!%k-Nv0kG`WZZ)LcYX?=_~(KY&tF42mTk7ygEd8$O6=#}>j zwd*JWRX)0j&irPPb&sS)bfV-$i$!#ZZn^LIedp~=n*(jyNWKdg=J0p~`4CALWOt~U z!=n$T8}KZ+cHEihA^N0d8T~|c_!YsG1LGx1!u1oax7^2Q3a4qbr)&VlAmFV+eT2sy z6l3ZS*dvYAu1L`qX|%b(qXqRV<-f>UBY(l~d(;JcIhxRN3198m07DlnJLosaIMHTC zeTx4THQ(r0;Jr_)H=d_FcaZi&`vq@X_~)Tk&YWK{{9u(2>auV+!1Y4w95}CFI0UH` z^e&-On)cstp7B1X!P3nK3n8W=_+Z#|X1J(vu z&**jwmMe5EIDFD_#QhxjiMk3-?NFtc23V^Mf;0$faQvi?=UB9b)n>Fiai_8D1)d-L zs&5M|9{ByjhCR4uK-Qx#ns7*h@CgheJ%joNj!SeYp#3fH-j4SJZQ}9p$@>&;Kj=Ef zLJN9hPuYg+0iI7`4jj;@4wnMDC%C?mo~EXRJv#JW18hg^-A39ge5TOt!JUI{7tk%S zK^DF>q~E~1gGH7B!w_yc-jbkrrnO_H4vGprp-y$U?I=5-(Umz<1bYFA`(TMJHs8Xj zL0OXeEEX%Er=z}x%}P8wsvSwqV2cwi2E6N4GH{9e;t9@8tWf2@kKOwq*Pd@dT7}XI zd<*nSI#|LnHl{R5$$~yh(xQQ;Gi0s7QAXA$+=f_Y0FDu*_t;>=h;fE?k>xDUL-`dj z^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YBd8_&lVaCb&6;bQbZf!3Wt7kkZlb1s?LN%3Z1nA5I+%GJgB zVgAz*=NBqPdd(BxEPZ8^U>^7vz0HjKm5P~?W6;*9ZHYZb$g~H`Slh2k%!#<_dg8N! z(ywS@X&K5&;1olF+6$Mvj1FAQc^XF;w|WLQKyn!@W`~L(y+yXU*%kfk?%Ew*8k!Mx zMRYN%+u(l$D#z{;+8UfZEwqnHa4MjqeP(7+4CWj3r^aBO-88A+^JK64os0Q&zin|9 za9n?I&EX)QzrG`i&$=9Y<_!JP!_#@C#W_R0^#A3vgl{}AUIMi%&K(x^6w?!R<5bUv z8uX62P-nCIiURZF9WCovz%LwLu#2YxD@q)}N%XtJqDJq|dSku|b&fmtJo*CXtt-59 zCAPym+W9Sr-w~Ka^u%)ow|lH%-r)n8eqG@Sj21Whi)EJgKAEQwR5b zW>@rlpWt`x($l$jH0M(1y22^`{=vDW{s%O2M#>|Mv)*5|xzt}LGGe9^`;Eqle>t=`s*oLLLk!Dm|TnQ87b&B2?!_jKB*eZrITq!KJ<^z7(1 z3tpgwt=w4{eVgHozx?vsniYJ-kV0R-$S|J&;P!k%&+ZP`{i<=iIUC30;=i-J!YF%# zO01qtdTL^XYEL!cbz$_mdg~87LpFQh_i;~L#yWl4uA%gNLkx9VWU-j%5B6Mqp6<6< z?$FIb`hADz&Bm!6-hR>goAx{EwU3_62+{KgvoXKCdG6)vZedlOyxcvY4M)E(#oxef= diff --git a/public_key.asc b/public_key.asc deleted file mode 100644 index 0bd1fdf6ab78f96a160769984cf33a972cfbb604..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5012 zcmbW*O;ajO5(VI1PsIF(*%NPE1yo$j0u>b%zqx`tMdTuWp(x0YpPA>hbLU;mtR_0> z?yAZ>c`_@jDw}`)D|^kB+>Uw&xxMH|LFcv z{I&Q?`FkqP=pK{VE3RCd#d|T(+9{fT{o%~FwWMo{-ihX!ncr|eRDymSQic9P+aT!7y7O(pHB>E-aUD6*gR!9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TF-8?q?chand/gists=20to=20right=20place.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit he put gist-solutions.md on the repo home moved to contributors/ @souvikchand. --- contributors/souvikchand/gist-solutions.md | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 contributors/souvikchand/gist-solutions.md diff --git a/contributors/souvikchand/gist-solutions.md b/contributors/souvikchand/gist-solutions.md new file mode 100644 index 0000000..1c44bab --- /dev/null +++ b/contributors/souvikchand/gist-solutions.md @@ -0,0 +1,25 @@ +https://github.com/souvikchand/oss101-forked/blob/souvikchand-details/gist-solutions.md +def binary_search(arr, target): + """ + Perform binary search on a sorted array. + + Parameters: + - arr (list): The sorted array to search. + - target: The target element to find in the array. + + Returns: + - int: The index of the target element if found, otherwise -1. + """ + low, high = 0, len(arr) - 1 + + while low <= high: + mid = (low + high) // 2 + + if arr[mid] == target: + return mid + elif arr[mid] < target: + low = mid + 1 + else: + high = mid - 1 + + return -1 From 6b4738dbc6c14ec8f9d06e36d0223888086e36a5 Mon Sep 17 00:00:00 2001 From: Omi Date: Sat, 6 Jan 2024 21:51:38 +0530 Subject: [PATCH 3/4] =?UTF-8?q?+=20=F0=9F=93=84=20:=20Update=20LICENSE=202?= =?UTF-8?q?023->=202024?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index ecb5478..2028879 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Shambhavi Mishra +Copyright (c) 2024 Shambhavi Mishra Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 9dd9037fedebbb1dbcfe54942035a10c028d5349 Mon Sep 17 00:00:00 2001 From: Omi Date: Sat, 6 Jan 2024 22:11:58 +0530 Subject: [PATCH 4/4] =?UTF-8?q?+=20=E2=99=BB=EF=B8=8F=20:=20Moved=20=20Ash?= =?UTF-8?q?mita001=20to=20Right=20Place?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit She had is in contributors/ base not in the contributors/Ashmita001 So, i moved for better clarity. @Ashmita001 --- contributors/{ => Ashmita001}/Ashmita001 | 0 contributors/{ => Ashmita001}/Ashmita001.md | 0 contributors/{ => Ashmita001}/challenge | 0 contributors/{ => Ashmita001}/challenge.md | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename contributors/{ => Ashmita001}/Ashmita001 (100%) rename contributors/{ => Ashmita001}/Ashmita001.md (100%) rename contributors/{ => Ashmita001}/challenge (100%) rename contributors/{ => Ashmita001}/challenge.md (100%) diff --git a/contributors/Ashmita001 b/contributors/Ashmita001/Ashmita001 similarity index 100% rename from contributors/Ashmita001 rename to contributors/Ashmita001/Ashmita001 diff --git a/contributors/Ashmita001.md b/contributors/Ashmita001/Ashmita001.md similarity index 100% rename from contributors/Ashmita001.md rename to contributors/Ashmita001/Ashmita001.md diff --git a/contributors/challenge b/contributors/Ashmita001/challenge similarity index 100% rename from contributors/challenge rename to contributors/Ashmita001/challenge diff --git a/contributors/challenge.md b/contributors/Ashmita001/challenge.md similarity index 100% rename from contributors/challenge.md rename to contributors/Ashmita001/challenge.md