BigO Exercise 2
BigO Exercise 2
aneagoie
aneagoie
This repl has no description
More repls
732comments
to comment
NKC11
NKC1113 hours ago

Big O (4 + 7n)

dhavalmpanchal
dhavalmpanchal23 hours ago

4 + 7n

HopeHigh
HopeHigh1 day ago

4+5 o(n)

PrakharRastogi2

O(n)

RAUL-HUMBERTOHU

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

AaronKammerman
AaronKammerman2 days ago

O(n)

LuisRamirez12
LuisRamirez122 days ago

The same complexity O(n) of Exercise #1

smithathouti
smithathouti2 days ago

o(4+7n)

Arka-max
Arka-max2 days ago

O(n)

vkalihall
vkalihall3 days ago

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

MohammadYazdan2
MohammadYazdan23 days ago

O(n)

engleangs
engleangs3 days ago

O(n)

KeshavGopal1
KeshavGopal14 days ago

O(N)

baihong0828
baihong08284 days ago

O(n)

ahmedkm1
ahmedkm15 days ago

O(n)

AlexandruManda
AlexandruManda5 days ago

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

kingmazzaurus2k
kingmazzaurus2k5 days ago

O(n) ;))

SBones
SBones6 days ago

O(n)

joshhcampbell7
joshhcampbell76 days ago

o(n)

EricKabuchanga
EricKabuchanga6 days ago

O(n)

FlooderCW1
FlooderCW17 days ago

O(n)

Patrisho
Patrisho1 week ago

O(4 + 7n)

nojoven
nojoven1 week ago

O(n) ?

georgius1024
georgius10241 week ago

O(n)

Jasper10636
Jasper106361 week ago

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

BryanChavarriaM
BryanChavarriaM1 week ago

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

erdavid
erdavid1 week ago

O(n)

NITINGUPTA23
NITINGUPTA231 week ago

O(n)

dioza22
dioza221 week ago

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

Fperdreau
Fperdreau1 week ago

O(4 + 7n)

malhotra-ashu
malhotra-ashu1 week ago

O(n)

cao2800
cao28001 week ago

O(n)

LiorRey
LiorRey1 week ago

O(n)

TarunAttri
TarunAttri1 week ago

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

WilsonYe2
WilsonYe22 weeks ago

O(n)

UtkarshaPatil
UtkarshaPatil2 weeks ago

O(n)

AbhishekJain43
AbhishekJain432 weeks ago

O(n)

SunnyHuang3
SunnyHuang32 weeks ago

O(n)

AbhishekVats1
AbhishekVats12 weeks ago

O(4+7n)

lucasaraya1
lucasaraya12 weeks ago

O(4+7n)

NaumanKhan
NaumanKhan2 weeks ago

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

PallaviPillaris
PallaviPillaris2 weeks ago

O(N)

ShubhamKhandel7
ShubhamKhandel72 weeks ago

O(N)

Davidmxdf
Davidmxdf2 weeks ago

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

huynhkthai
huynhkthai2 weeks ago

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

samerewidat
samerewidat2 weeks ago

O(n)

AshutoshJha007
AshutoshJha0072 weeks ago

O(n)

saranroyal
saranroyal2 weeks ago

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

VanathiMK
VanathiMK2 weeks ago

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

sanket4005
sanket40052 weeks ago

O(n)

BH231111
BH2311112 weeks ago

O(n)

GeoffreyFarrel
GeoffreyFarrel2 weeks ago

O(4 + 5n)

victorbarcenas
victorbarcenas2 weeks ago

this is an O(n)

DennisSumiri1
DennisSumiri12 weeks ago

O(input)

seavphing
seavphing2 weeks ago

This one also O(n)

ankitbharti1994
ankitbharti19943 weeks ago

O(n)

yifangqk
yifangqk3 weeks ago

O(n)

dineshparvathan
dineshparvathan3 weeks ago

O(n)

SaloniMi
SaloniMi3 weeks ago

Answer: O(n)

JuanPablo3401
JuanPablo34013 weeks ago

O(n)

PeterNuttachai
PeterNuttachai3 weeks ago

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

ThibaultGuegan
ThibaultGuegan3 weeks ago

simplified to BigO(n)

superssingh
superssingh3 weeks ago

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

mohitsingh0610
mohitsingh06103 weeks ago

O(n)

SKNIRBHAY
SKNIRBHAY3 weeks ago

O(n)

BraveBeliever
BraveBeliever3 weeks ago

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

warlock2k
warlock2k3 weeks ago

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

ArushiKapurwan
ArushiKapurwan3 weeks ago

O(n)

SaurabhDubey5
SaurabhDubey53 weeks ago

O(4 + 7n )

preetampatel
preetampatel3 weeks ago

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

princ1211
princ12113 weeks ago

O(4+5n)

DavidG31
DavidG313 weeks ago

O(4 + 5n)

vijaymalawadkar
vijaymalawadkar3 weeks ago

O(4+5n)

senowijayanto
senowijayanto3 weeks ago

O(n)

PrathapReddy2
PrathapReddy23 weeks ago

O(n)

ritesh-sm
ritesh-sm3 weeks ago

O(n)

nilliie
nilliie3 weeks ago

O(n)

akshatbarwal
akshatbarwal3 weeks ago

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

RongZheng
RongZheng3 weeks ago

O(n)

deeppradhan
deeppradhan3 weeks ago

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

SalmanAnsari6
SalmanAnsari64 weeks ago

O(n)

siddique97
siddique974 weeks ago

O(3+6n)

kapiljoshi1
kapiljoshi14 weeks ago

O(4+5n)

Sayalikatkar
Sayalikatkar4 weeks ago

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

BradleyYarrow
BradleyYarrow4 weeks ago

O(n)

JalayRupera
JalayRupera4 weeks ago

O(n)

DanielNolan2
DanielNolan24 weeks ago

O(4 + 7n)

DevRudra
DevRudra4 weeks ago

5n+4

MaqsudTolipov
MaqsudTolipov4 weeks ago

BIG O(4 + 7n) 🤒

kapilavai1
kapilavai14 weeks ago

Big O(4+5n)

rinkusam12
rinkusam124 weeks ago

7n + 4 = O(n)

rahul786
rahul7864 weeks ago

O(n)

RuchitMotiwala
RuchitMotiwala4 weeks ago

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

meriam-hamdaoui
meriam-hamdaoui4 weeks ago

O(4+7n)

PrithaBanerjee
PrithaBanerjee4 weeks ago

O(4+5n)

MohammedContrac
MohammedContrac4 weeks ago

O(4+7n)

RikamPalkar
RikamPalkar4 weeks ago

O(n)

UWEMNKEREUWEM
UWEMNKEREUWEM1 month ago

O(n)

mahi6878
mahi68781 month ago

O(n)

Reacher
Reacher1 month ago

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