fix: replace c++ with cpp for language postfix

This commit is contained in:
Randell Dawson
2019-06-20 16:00:56 -07:00
committed by Kristofer Koishigawa
parent 7d097e62ac
commit 22f52296bc
11 changed files with 20 additions and 20 deletions

View File

@@ -174,7 +174,7 @@ int binarySearch(int a[], int l, int r, int x) {
### Implementación C / C ++
```C++
```cpp
int binary_search(int arr[], int l, int r, int target)
{
if (r >= l)
@@ -208,7 +208,7 @@ def binary_search(arr, l, r, target):
### Ejemplo en C ++
```c++
```cpp
// Binary Search using iteration
int binary_search(int arr[], int beg, int end, int num)
{
@@ -225,7 +225,7 @@ def binary_search(arr, l, r, target):
}
```
```c++
```cpp
// Binary Search using recursion
int binary_search(int arr[], int beg, int end, int num)
{