cost 356 ms
Reverse a vector without rev()

We have to reverse it without rev(). Not allowed to use if/for loops. It has to work for numeric(0) as well. Does not output correctly for vectors ...

2023-01-27 23:40:42   2   49    r / sequence  
Understanding Python sequence

I am doing a hackerrank example called Flipping bits where given a list of 32 bit unsigned integers. Flip all the bits (1->0 and 0->1) and retur ...


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