Posts by Wernen Rodrigues • 1 point
1 post
-
-1
votes1
answer62
viewsQ: Two loop algorithm complexity
What would be the complexity function and the Big O of the code below? int[] alg4(int[] arr1, int[] arr2) { int i = 0; int j = 0; int[] arr3 = new int[arr1.Length+arr2.Length]; for (i = 0; i <…
computer-scienceasked Wernen Rodrigues 1