mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-03 10:35:34 +08:00
fix lint errors
This commit is contained in:
@@ -41,9 +41,7 @@ struct list {
|
||||
|
||||
if (isSorted) {
|
||||
pos = BinarySearch(data, 0, top - 1, x);
|
||||
}
|
||||
|
||||
else {
|
||||
} else {
|
||||
pos = LinarSearch(data, x);
|
||||
}
|
||||
|
||||
@@ -81,9 +79,7 @@ struct list {
|
||||
data[top] = x;
|
||||
top++;
|
||||
}
|
||||
}
|
||||
|
||||
else {
|
||||
} else {
|
||||
int pos = 0;
|
||||
|
||||
for (int i = 0; i < top - 1; i++) {
|
||||
|
||||
Reference in New Issue
Block a user