Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ print_array
Function
print_array
data_structures/stacks/stock_span_problem.py:61–63 ·
view source on GitHub ↗
(arr, n)
Source
from the content-addressed store, hash-verified
59
60
# A utility function to print elements of array
61
def
print_array(arr, n):
62
for
i in range(n):
63
print(arr[i], end=
" "
)
64
65
66
# Driver program to test above function
Callers
1
stock_span_problem.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected