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/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 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 diff --git a/gist-solutions.md b/contributors/souvikchand/gist-solutions.md similarity index 96% rename from gist-solutions.md rename to contributors/souvikchand/gist-solutions.md index bf0b0d4..1c44bab 100644 --- a/gist-solutions.md +++ b/contributors/souvikchand/gist-solutions.md @@ -1,25 +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 +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/example.txt b/example.txt deleted file mode 100644 index 12dae57..0000000 Binary files a/example.txt and /dev/null differ 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/git-merge-test/merge.txt b/git-merge-test/merge.txt deleted file mode 100644 index cc27f4e..0000000 Binary files a/git-merge-test/merge.txt and /dev/null differ diff --git a/private.key b/private.key deleted file mode 100644 index 0397f6f..0000000 Binary files a/private.key and /dev/null differ diff --git a/public_key.asc b/public_key.asc deleted file mode 100644 index 0bd1fdf..0000000 Binary files a/public_key.asc and /dev/null differ