Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit471e6d0

Browse files
authored
Add es-ES translation to search/binary-search (#893)
1 parent351a63a commit471e6d0

File tree

3 files changed

+37
-8
lines changed

3 files changed

+37
-8
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#Búsqueda binaria
2+
3+
_Lea esto en otros idiomas:_
4+
[English](README.md)
5+
[Português brasileiro](README.pt-BR.md).
6+
7+
En informática, la búsqueda binaria, también conocida como búsqueda de medio intervalo
8+
búsqueda, búsqueda logarítmica, o corte binario, es un algoritmo de búsqueda
9+
que encuentra la posición de un valor objetivo dentro de una matriz
10+
ordenada. La búsqueda binaria compara el valor objetivo con el elemento central
11+
de la matriz; si son desiguales, se elimina la mitad en la que
12+
la mitad en la que no puede estar el objetivo se elimina y la búsqueda continúa
13+
en la mitad restante hasta que tenga éxito. Si la búsqueda
14+
termina con la mitad restante vacía, el objetivo no está
15+
en la matriz.
16+
17+
![Búsqueda binaria](https://upload.wikimedia.org/wikipedia/commons/8/83/Binary_Search_Depiction.svg)
18+
19+
##Complejidad
20+
21+
**Complejidad de tiempo**:`O(log(n))` - ya que dividimos el área de búsqueda en dos para cada
22+
siguiente iteración.
23+
24+
##Referencias
25+
26+
-[Wikipedia](https://en.wikipedia.org/wiki/Binary_search_algorithm)
27+
-[YouTube](https://www.youtube.com/watch?v=P3YID7liBug&index=29&list=PLLXdhg_r2hKA7DPDsunoDZ-Z769jWn4R8)

‎src/algorithms/search/binary-search/README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22

33
_Read this in other languages:_
44
[Português brasileiro](README.pt-BR.md).
5+
[Español](README.es-ES.md).
56

6-
In computer science, binary search, also known as half-interval
7-
search, logarithmic search, or binary chop, is a search algorithm
8-
that finds the position of a target value within a sorted
9-
array. Binary search compares the target value to the middle
10-
element of the array; if they are unequal, the half in which
11-
the target cannot lie is eliminated and the search continues
12-
on the remaining half until it is successful. If the search
13-
ends with the remaining half being empty, the target is not
7+
In computer science, binary search, also known as half-interval
8+
search, logarithmic search, or binary chop, is a search algorithm
9+
that finds the position of a target value within a sorted
10+
array. Binary search compares the target value to the middle
11+
element of the array; if they are unequal, the half in which
12+
the target cannot lie is eliminated and the search continues
13+
on the remaining half until it is successful. If the search
14+
ends with the remaining half being empty, the target is not
1415
in the array.
1516

1617
![Binary Search](https://upload.wikimedia.org/wikipedia/commons/8/83/Binary_Search_Depiction.svg)

‎src/algorithms/search/binary-search/README.pt-BR.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
_Leia isso em outras línguas:_
44
[english](README.md).
5+
[Español](README.es-ES.md).
56

67
Em ciência da computação, busca binária, também conhecida como busca de meio-intervalo, busca logarítmica ou corte binário, é um algoritmo de pesquisa
78
que encontra a posição de um elemento alvo dentro de um

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp