f754c0d31ffe9a6be990fecbc32c55fa97271d9c,searches/jump_search.py,,,#,23
Before Change
if __name__ == "__main__":
arr = [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610]
x = 55
print(f"Number {x} is at index {jump_search(arr, x)}")
After Change
if __name__ == "__main__":
user_input = input("Enter numbers separated by a comma:\n").strip()
arr = [int(item) for item in user_input.split(",")]
x = int(input("Enter the number to be searched:\n"))
res = jump_search(arr, x)
if res == -1:
print("Number not found!")
else:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 16
Instances
Project Name: TheAlgorithms/Python
Commit Name: f754c0d31ffe9a6be990fecbc32c55fa97271d9c
Time: 2020-09-11
Author: 33205665+BriseBalloches@users.noreply.github.com
File Name: searches/jump_search.py
Class Name:
Method Name:
Project Name: TheAlgorithms/Python
Commit Name: f754c0d31ffe9a6be990fecbc32c55fa97271d9c
Time: 2020-09-11
Author: 33205665+BriseBalloches@users.noreply.github.com
File Name: searches/jump_search.py
Class Name:
Method Name:
Project Name: TheAlgorithms/Python
Commit Name: f5abc04176b9635da963ca701f643acde5da24dc
Time: 2019-05-19
Author: andy1970635726@gmail.com
File Name: sorts/bucket_sort.py
Class Name:
Method Name:
Project Name: TheAlgorithms/Python
Commit Name: 390feb0b23b4845a7ddfec7afd703aa053d1b224
Time: 2019-10-03
Author: parthparadkar3@gmail.com
File Name: sorts/pancake_sort.py
Class Name:
Method Name: