mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-10 14:05:17 +08:00
Merge branch 'master' into array-left-rotation
This commit is contained in:
@@ -28,7 +28,7 @@ namespace operations_on_datastructures {
|
||||
* @returns void
|
||||
*/
|
||||
void print(const std::vector<int32_t> &array) {
|
||||
for (int64_t i : array) {
|
||||
for (int32_t i : array) {
|
||||
std::cout << i << " "; /// Print each value in the array
|
||||
}
|
||||
std::cout << "\n"; /// Print newline
|
||||
|
||||
Reference in New Issue
Block a user