From 023bec41d4765a3669487791e2217ecab5b72b44 Mon Sep 17 00:00:00 2001 From: Arturo Perez Date: Mon, 12 Aug 2019 11:28:16 -0700 Subject: [PATCH] added translation! (#27609) * added translation! * fix: changed c++ to cpp --- .../spanish/algorithms/search-algorithms/binary-search/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/spanish/algorithms/search-algorithms/binary-search/index.md b/guide/spanish/algorithms/search-algorithms/binary-search/index.md index 82f8c99b335..4d42c3e8562 100644 --- a/guide/spanish/algorithms/search-algorithms/binary-search/index.md +++ b/guide/spanish/algorithms/search-algorithms/binary-search/index.md @@ -257,7 +257,7 @@ volver a mediados } devuelve -1; } ``` -Iterative approach! +¡Enfoque iterativo! ``` C ++ - enfoque iterativo int binarySearch (int arr \[\], int start, int end, int x) { while (inicio <= fin) { int mid = start + (end - start) / 2; if (arr \[mid\] == x) volver a mediados if (arr \[mid\]