BigO Exercise 2
This repl has no description
More repls
to comment
NKC1113 hours ago

Big O (4 + 7n)

dhavalmpanchal23 hours ago

4 + 7n

HopeHigh1 day ago

4+5 o(n)

O(n)

Big O(n) or 4+7(n)

AaronKammerman2 days ago

O(n)

LuisRamirez122 days ago

The same complexity O(n) of Exercise #1

smithathouti2 days ago

o(4+7n)

Arka-max2 days ago

O(n)

vkalihall3 days ago

O(4+5n) => O(n)

O(n)

engleangs3 days ago

O(n)

KeshavGopal14 days ago

O(N)

baihong08284 days ago

O(n)

ahmedkm15 days ago

O(n)

AlexandruManda5 days ago

O(7n + 4) = > O(n)

kingmazzaurus2k5 days ago

O(n) ;))

SBones6 days ago

O(n)

joshhcampbell76 days ago

o(n)

EricKabuchanga6 days ago

O(n)

FlooderCW17 days ago

O(n)

Patrisho1 week ago

O(4 + 7n)

nojoven1 week ago

O(n) ?

georgius10241 week ago

O(n)

Jasper106361 week ago

O(4+7n) => O(n)

BryanChavarriaM1 week ago

O(4+7n) = O(n)

erdavid1 week ago

O(n)

NITINGUPTA231 week ago

O(n)

dioza221 week ago

O (4+7n) => O(n)

Fperdreau1 week ago

O(4 + 7n)

malhotra-ashu1 week ago

O(n)

cao28001 week ago

O(n)

LiorRey1 week ago

O(n)

TarunAttri1 week ago

It is Big O(4 + 7n) ==> O(n)

WilsonYe22 weeks ago

O(n)

UtkarshaPatil2 weeks ago

O(n)

AbhishekJain432 weeks ago

O(n)

SunnyHuang32 weeks ago

O(n)

AbhishekVats12 weeks ago

O(4+7n)

lucasaraya12 weeks ago

O(4+7n)

NaumanKhan2 weeks ago

O(4+7n)=O(n)

PallaviPillaris2 weeks ago

O(N)

ShubhamKhandel72 weeks ago

O(N)

Davidmxdf2 weeks ago

O(4 + 7n) = O(n)

huynhkthai2 weeks ago

O(n) overall because O(1)'s + O(2n) = O(n)

samerewidat2 weeks ago

O(n)

AshutoshJha0072 weeks ago

O(n)

saranroyal2 weeks ago

O(3+n+n+1) = O(4+2n) = O(n)

VanathiMK2 weeks ago

O(4+5n) = O(n)

sanket40052 weeks ago

O(n)

BH2311112 weeks ago

O(n)

GeoffreyFarrel2 weeks ago

O(4 + 5n)

victorbarcenas2 weeks ago

this is an O(n)

DennisSumiri12 weeks ago

O(input)

seavphing2 weeks ago

This one also O(n)

ankitbharti19943 weeks ago

O(n)

yifangqk3 weeks ago

O(n)

dineshparvathan3 weeks ago

O(n)

SaloniMi3 weeks ago

JuanPablo34013 weeks ago

O(n)

PeterNuttachai3 weeks ago

BigO(4+7n) or BigO(n)

ThibaultGuegan3 weeks ago

simplified to BigO(n)

O(4 + 7n) = O(n)

mohitsingh06103 weeks ago

O(n)

SKNIRBHAY3 weeks ago

O(n)

BraveBeliever3 weeks ago

It is O(n). It runs based on parameter range

warlock2k3 weeks ago

O(4 + 7n) = O(n)

ArushiKapurwan3 weeks ago

O(n)

SaurabhDubey53 weeks ago

O(4 + 7n )

preetampatel3 weeks ago

O(4 + 7n) = O(2n)

princ12113 weeks ago

O(4+5n)

DavidG313 weeks ago

O(4 + 5n)

O(4+5n)

senowijayanto3 weeks ago

O(n)

PrathapReddy23 weeks ago

O(n)

ritesh-sm3 weeks ago

O(n)

nilliie3 weeks ago

O(n)

akshatbarwal3 weeks ago

O(4 + 5n) which is equal to O(n).

RongZheng3 weeks ago

O(n)

O(n) + O(n) = O(2n) but since n is the dominating factor the answer will be O(n)

SalmanAnsari64 weeks ago

O(n)

siddique974 weeks ago

O(3+6n)

kapiljoshi14 weeks ago

O(4+5n)

Sayalikatkar4 weeks ago

O(4+7n) which is approximately equals to O(n)

O(n)

JalayRupera4 weeks ago

O(n)

DanielNolan24 weeks ago

O(4 + 7n)

DevRudra4 weeks ago

5n+4

MaqsudTolipov4 weeks ago

BIG O(4 + 7n) 🤒

kapilavai14 weeks ago

Big O(4+5n)

rinkusam124 weeks ago

7n + 4 = O(n)

rahul7864 weeks ago

O(n)

RuchitMotiwala4 weeks ago

O(4+3n+n+n/2+n/2)=O(n)

meriam-hamdaoui4 weeks ago

O(4+7n)

PrithaBanerjee4 weeks ago

O(4+5n)

MohammedContrac4 weeks ago

O(4+7n)

RikamPalkar4 weeks ago

O(n)

UWEMNKEREUWEM1 month ago

O(n)

mahi68781 month ago

O(n)

Reacher1 month ago

It's O(n). Though there are two for loops, they each depend on the size of the input.