Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/t-kalv/python-searching-a-matrix
Python Searching A Matrix
https://github.com/t-kalv/python-searching-a-matrix
algorithm matrix search
Last synced: 3 days ago
JSON representation
Python Searching A Matrix
- Host: GitHub
- URL: https://github.com/t-kalv/python-searching-a-matrix
- Owner: T-Kalv
- Created: 2020-08-14T14:00:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-16T12:48:34.000Z (over 4 years ago)
- Last Synced: 2023-07-16T13:28:39.540Z (over 1 year ago)
- Topics: algorithm, matrix, search
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python-Searching-A-Matrix
Given a matrix that is organised such that the numbers will always be sorted from left to right and the first number of each row will always be greater than the last element of the last row (mat[i][0] > mat[i-1][-1], search for a specific value in the matrix and return whether it exists.