Libraryless. Click here for Pure Java version (108L/1K).
static int[] reverseIntArray(int[] a) { int n = l(a); *int[n] b; for i to n: b[n-1-i] = a[i]; ret b; }
Began life as a copy of #1006381
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035038 |
| Snippet name: | reverseIntArray |
| Eternal ID of this version: | #1035038/1 |
| Text MD5: | f3b1470aae4192e29a287e7e2f3eaeb1 |
| Transpilation MD5: | bf1fd6e05658c37eda5520e53aa0104f |
| Author: | stefan |
| Category: | javax / maths |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-25 20:57:27 |
| Source code size: | 115 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 336 / 441 |
| Referenced in: | [show references] |