en remove the nth element from a list Z13429en Function
change type to natural number |
Added Z18955 to the approved list of test cases |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 25: | Line 25: | ||
"Z11K1": "Z1002", |
"Z11K1": "Z1002", |
||
"Z11K2": "list" |
"Z11K2": "list" |
||
}, |
|||
{ |
|||
"Z1K1": "Z11", |
|||
"Z11K1": "Z1014", |
|||
"Z11K2": "ndepụta: Ụdị ndepụta (ihe)" |
|||
} |
} |
||
] |
] |
||
Line 41: | Line 46: | ||
"Z11K1": "Z1002", |
"Z11K1": "Z1002", |
||
"Z11K2": "index of element to be removed" |
"Z11K2": "index of element to be removed" |
||
}, |
|||
{ |
|||
"Z1K1": "Z11", |
|||
"Z11K1": "Z1014", |
|||
"Z11K2": " index nke mmewere a ga-ewepụ: Nọmba eke" |
|||
} |
} |
||
] |
] |
||
Line 52: | Line 62: | ||
}, |
}, |
||
"Z8K3": [ |
"Z8K3": [ |
||
"Z20" |
"Z20", |
||
"Z13434", |
|||
"Z13431", |
|||
"Z18952", |
|||
"Z18953", |
|||
"Z18955" |
|||
], |
], |
||
"Z8K4": [ |
"Z8K4": [ |
||
"Z14" |
"Z14", |
||
"Z13430" |
|||
], |
], |
||
"Z8K5": "Z13429" |
"Z8K5": "Z13429" |
||
Line 67: | Line 83: | ||
"Z11K1": "Z1002", |
"Z11K1": "Z1002", |
||
"Z11K2": "remove the nth element from a list" |
"Z11K2": "remove the nth element from a list" |
||
}, |
|||
{ |
|||
"Z1K1": "Z11", |
|||
"Z11K1": "Z1014", |
|||
"Z11K2": "wepụ ihe nth na ndepụta" |
|||
} |
} |
||
] |
] |
||
Line 93: | Line 114: | ||
"Z11K1": "Z1002", |
"Z11K1": "Z1002", |
||
"Z11K2": "When given a valid index remove the element at the position and return the supplied list otherwise return nothing" |
"Z11K2": "When given a valid index remove the element at the position and return the supplied list otherwise return nothing" |
||
}, |
|||
{ |
|||
"Z1K1": "Z11", |
|||
"Z11K1": "Z1014", |
|||
"Z11K2": "Mgbe enyere index dị irè, wepụ mmewere n'ọnọdụ ahụ wee weghachi ndepụta ewepụtara ma ọ bụghị weghachi ihe ọ bụla" |
|||
} |
} |
||
] |
] |
Latest revision as of 00:17, 28 August 2024
This page displays in a limited way without JavaScript.