cost 66 ms
Swapping elements of vectors in julia

Let A=[[(a,b),(c,d),(e,f),(g,h)]] I want to have all swapping possible using for loop for example: etc... I can swap two elements but not the who ...

2023-01-18 16:11:35   1   31    julia / swap  
Swapping array problems in c

I've been trying to swap array strings without using string.h or something else. I wrote some code but it only changes the word's first letter. Where ...

2023-01-03 19:27:03   2   73    arrays / c / swap  
Pointer in assembly

In the swap function I passed the address of two elements that are supposed to swap. The initial array is 5,1,4,2,8 the code should perform bubble sor ...

swap alternate in an array

You have been given an array/list(ARR) of size N. You need to swap every pair of alternate elements in the array/list. You don't need to print or retu ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM