MCPcopy Create free account
hub / github.com/Dobiasd/FunctionalPlus / problem_21

Function problem_21

examples/99_problems.cpp:175–178  ·  view source on GitHub ↗

P21 (*) Insert an element at a given position into a list.

Source from the content-addressed store, hash-verified

173
174// P21 (*) Insert an element at a given position into a list.
175void problem_21()
176{
177 print_result(insert_at_idx(3, -1, xs));
178}
179
180// P22 (*) Create a list containing all integers within a given range.
181void problem_22()

Callers 1

mainFunction · 0.85

Calls 2

print_resultFunction · 0.85
insert_at_idxFunction · 0.50

Tested by

no test coverage detected