No video

C Program to Find Sum Of First n Natural Numbers in O(1)

  Рет қаралды 80,749

CodeWithHarry

CodeWithHarry

Күн бұрын

This C Interview question (with program) will teach you how to evaluate sum of n numbers in O(1) time. This is one of the most important questions asked in the interviews these days!
►This video is a part of this C Programming Practice Programs Playlist: • C Language Practice Pr...
►Checkout my English channel here: / programmingwithharry
►Click here to subscribe - / @codewithharry
Best Hindi Videos For Learning Programming:
►Learn Python In One Video - • Python Tutorial In Hin...
►Python Complete Course In Hindi - • Python Tutorials For A...
►C Language Complete Course In Hindi -
• C Language Tutorials I...
►JavaScript Complete Course In Hindi -
• JavaScript Tutorials I...
►Learn JavaScript in One Video - • JavaScript Tutorial
►Learn PHP In One Video - • Learn Php In One Video...
►Django Complete Course In Hindi -
• Python Django Tutorial...
►Machine Learning Using Python - • Machine Learning Tutor...
►Creating & Hosting A Website (Tech Blog) Using Python - • [Hindi] Web Developmen...
►Advanced Python Tutorials - • Intermediate/Advanced ...
►Object Oriented Programming In Python - • Object Oriented Progra...
►Python Data Science and Big Data Tutorials - • Python Data Science an...
Follow Me On Social Media
►Website (created using Flask) - www.codewithhar...
►Facebook - / codewithharry
►Instagram - / codewithharry
►Personal Facebook A/c - / geekyharis
Twitter - / haris_is_here

Пікірлер: 206
@CodeWithHarry
@CodeWithHarry 4 жыл бұрын
Are these videos helpful? For more you can access my Data Structures Playlist Also ye raha mera Instagram - Instagram.com/CodeWithHarry
@misharjana4883
@misharjana4883 4 жыл бұрын
Complete java tutorial kab la raha ho?
@ManishSharma-fi2vr
@ManishSharma-fi2vr 4 жыл бұрын
Yes Sir these types of videos are very helpful. Thank You So Much❤
@neerajlalwani9506
@neerajlalwani9506 4 жыл бұрын
Sir java playlist please
@misharjana4883
@misharjana4883 4 жыл бұрын
Do reply sir
@Sangakkara1
@Sangakkara1 4 жыл бұрын
Phyton course kitnay tak hota hai aur duration kitni hoti hai agar institute sey sekhay sh from pak
@dhritimanbharadwaj4424
@dhritimanbharadwaj4424 4 жыл бұрын
U teach better than my teachers.... Thanks for your efforts
@lakshyakumrawat
@lakshyakumrawat 4 жыл бұрын
You teaching is awesome Harry Bhaiya Mein Lakshya hu class 9 me hu age 14 ka hu. Mera programming me interest apki vajahe se pura hua hai. Meine apke course se aphale C language sikhi thi ab python sikha hai or python GUI sikh raha hu Pls heart dedo Or kuch reply bhi de dena Pls pls pls plsssssss
@ishankumrawat457
@ishankumrawat457 4 жыл бұрын
Hello bhai
@amanbhandari349
@amanbhandari349 4 жыл бұрын
Sir you made every" rocket science " pocket science "
@MuhammadAli-uw5il
@MuhammadAli-uw5il 4 жыл бұрын
jj
@vathsan3906
@vathsan3906 4 жыл бұрын
Harry bhai cryptography, crytocurrency and blockchain ke upar ek series banao na.. Those who want hit like so that this comment becomes visible
@noobcoder_5114
@noobcoder_5114 4 жыл бұрын
Harry Bhai aap hamare liye bahut mehnat karto ho. ThankYou ~Your Student
@TriumphEdits
@TriumphEdits 4 жыл бұрын
Your python tutorials playlist is amazing. Thanks for teaching us for free 😊.
@AdarshSingh-cb5yf
@AdarshSingh-cb5yf 4 жыл бұрын
Harry sir aap bahut hi jaldi 1m tak pahuch jayenge.......... And Congrats in advance......... I am sure that I am your biggest fan 😍😍😍😍😍😍😍👌👌
@utkarshsinghrajawat5038
@utkarshsinghrajawat5038 4 жыл бұрын
Sir you are great and a truely hardworking person
@Eklavyeh
@Eklavyeh Жыл бұрын
the best person i had ever seen in entire life
@tanmaygautam1348
@tanmaygautam1348 4 жыл бұрын
Best coding teacher on KZfaq
@dipannama560
@dipannama560 4 жыл бұрын
Bhai maine iss formula ko class 11 & 12 mai para tha par aaj pheli bar samaj mai aaiya ki kaise a formula bana hai btw maine iss formula ko bohot bar use kiya hai class 12 mai math mai but aj pheli bar is formule ko sehi se sikh paya hoon .Thanks bhai
@sahilbharal1286
@sahilbharal1286 4 жыл бұрын
Harry bhai apke padhane ka tarika sabse best hai👌
@Abdul_Wajid
@Abdul_Wajid 4 жыл бұрын
Others: Harry Sir Me: Haris Bhai ❤❤❤
@riturajyadav63
@riturajyadav63 4 жыл бұрын
Thanks sir! This video is really useful for me.
@oiengineer5309
@oiengineer5309 4 жыл бұрын
You are doing great work Loving your ds algo playlist
@dontask23
@dontask23 4 жыл бұрын
I wanted examples plus learning the programming. This is going to be best series. Keep adding such videos. 👍
@GeekyShubhamSharma
@GeekyShubhamSharma 4 жыл бұрын
Very nice intiative taken by Harry bhaiya 😘😘😘😘 Very intersting and very interactive way of teaching Koi muqabla hi nhi hai bhaiya ka 💚💚💚❤️❤️💚❤️💚💚❤️💚
@ashishranjan1306
@ashishranjan1306 3 жыл бұрын
Itne acche se ye code kabhi bhi nhi samajh aaya ... Thanks for your help
@sandiphalder4739
@sandiphalder4739 4 жыл бұрын
Hello sir... love your videos...❤️
@surbhipaliwal3576
@surbhipaliwal3576 4 жыл бұрын
Sir apka teaching stylebhut achchha h aj tk is trikes kisine nhi pdhaya
@engineerbhai7642
@engineerbhai7642 4 жыл бұрын
You are genius and excellent programmer in the world.
@prathamkore8897
@prathamkore8897 4 жыл бұрын
Hum thumare video ki lia wait karte rehthe hai Harry bhai
@walishaikh6433
@walishaikh6433 4 жыл бұрын
God bless you bro 😇 you are doing great job
@shanny104
@shanny104 4 жыл бұрын
Sir can you make video about how to build problem solving skills,and logic behind the exercise,thanks
@letstry2854
@letstry2854 4 жыл бұрын
Thanks sir!! Keep uploading daily on this series plz 🙏
@amoghm4911
@amoghm4911 4 жыл бұрын
Sir, thanks for linking ds and c practicing
@gin2520
@gin2520 4 жыл бұрын
When my professor taught me , I was like wth ! He is teching .... And now !!!! Omg !!! data structure really matters !!!!! I never knew it !
@smiling_madly596
@smiling_madly596 3 жыл бұрын
This series is really helpful ..
@vishwabhatt20
@vishwabhatt20 3 жыл бұрын
thank you so much... I love your channel..and now I'm so comfortable with your channel that I first come to this channel search for the thing i wANT.
@chandu23594
@chandu23594 4 жыл бұрын
Sir please create more this type of logical videos
@ankitrikame336
@ankitrikame336 4 жыл бұрын
Thanks Sir😊 Soon we are going to reach 500k🔥🔥
@harshitachaurasia1246
@harshitachaurasia1246 4 жыл бұрын
u made learning easy! thanks a lot :)
@coderrishav
@coderrishav 4 жыл бұрын
Good , Proud of you bhai
@sanketsuryawanshi
@sanketsuryawanshi 4 жыл бұрын
Thanks harry bhai 👍✌🔥👌
@krishvsoni
@krishvsoni Жыл бұрын
harry bhai u are amazing , you are always with us . Thanks For Your efforts!!
@HinduWaffenChief
@HinduWaffenChief 4 жыл бұрын
Mahan aadmi ho sir.....
@HinduWaffenChief
@HinduWaffenChief 4 жыл бұрын
Thanks sir for loving my comment
@supriyalonkar449
@supriyalonkar449 4 жыл бұрын
Harry bhaiya zinda baad!!!
@remanbiswas
@remanbiswas 4 жыл бұрын
Very nice 👍👌👌 ... Love it 😚😚😘😌...
@SFtalks
@SFtalks 4 жыл бұрын
کمال آدمی ہو بھائی
@himanshushekharmallick
@himanshushekharmallick 4 жыл бұрын
Harry bhai is doing great things in lockdown
@premiumworkouts5248
@premiumworkouts5248 3 жыл бұрын
Tq bro its really very interesting and very easy tq so much to explain easy way this is free of cost tq so much I don't have money to pay money to white hat. Com. Once again tq so much
@janhvitolambe3331
@janhvitolambe3331 4 жыл бұрын
Please make videos on C programming questions which are mostly asked In interview and aptitude
@ashwanishukla8029
@ashwanishukla8029 4 жыл бұрын
Harry bhai abhi apka hi video dekh reha tha ☺️thnx
@someonewhoisannoynmous
@someonewhoisannoynmous 4 жыл бұрын
U are awesome
@kshitijverma9955
@kshitijverma9955 4 жыл бұрын
Sir please make data structures course in python.
@SisodiyaTech
@SisodiyaTech 4 жыл бұрын
Harry bhai nice 👍👏😊👏👍😊👏👏😊
@55_hetpatel74
@55_hetpatel74 2 жыл бұрын
Jordar Harry bhai 👍
@mohanalkarvaibhav8233
@mohanalkarvaibhav8233 4 жыл бұрын
U need to open your own college but i have doubt why you subscriber is less than 500k you have eligible for 1000M subscribe but why people hate your channal
@lightcare3787
@lightcare3787 4 жыл бұрын
No people don't know his importance
@piyushraj8976
@piyushraj8976 4 жыл бұрын
Nobody hates him. You can know this fact that only some people find diamond first (we are one of them) . Then the whole world finds it. This means it will take time but eventually he will get 100M subscription. Don't worry
@lightcare3787
@lightcare3787 4 жыл бұрын
@@piyushraj8976 yes agree
@mohanalkarvaibhav8233
@mohanalkarvaibhav8233 4 жыл бұрын
Yes i agree but i really like this video so much
@shahzan525
@shahzan525 4 жыл бұрын
Nice one sir
@RohanDasRD
@RohanDasRD 4 жыл бұрын
Bhai on fire aaj video pe video a rahi hai♥️
@himanshutrivedi4948
@himanshutrivedi4948 4 жыл бұрын
Harry bhai aap bilkul reply nahi kartein . Aapko bahut saara pyaar .Ek Heart de dijiye. Bhagwan Aadmi ho tum
@royfamily9273
@royfamily9273 2 жыл бұрын
Thanks Harry Bhaiya
@aadityadabli
@aadityadabli 4 жыл бұрын
Shandar👌🏻👌🏻
@krishnachaudhary5392
@krishnachaudhary5392 4 жыл бұрын
Sir i have almost complited the web development playlist.... But i have basic knolwde of php so can you please make a video on how to use php as a backend..... I felt php is easy for a beginner rather than node js...... So sirplease make a video on " Using PHP In backend....
@rahulbora7563
@rahulbora7563 4 жыл бұрын
500k soon
@saptarshibasu9198
@saptarshibasu9198 4 жыл бұрын
Harry bhai please give us more tougher problems!! 😊😁
@ujjwalgupta7297
@ujjwalgupta7297 4 жыл бұрын
Bhaiya react pe tutorial banaoo.
@anubhavsetu8845
@anubhavsetu8845 4 жыл бұрын
thank you for explaning according to time complexity none of my college professor explain like you 1 Question- in constant time if n=0 then what should i do
@aritraroy1998
@aritraroy1998 4 жыл бұрын
U r great....keep uploading videos.... I've messaged in instagram about login error in your site....plz reply
@sumeetmathpati6215
@sumeetmathpati6215 4 жыл бұрын
Thank you Harry bhai
@Steeldoors_udaipur
@Steeldoors_udaipur 4 жыл бұрын
Thank u so much sir its more helpfull for us again thank u
@akashrautela8480
@akashrautela8480 4 жыл бұрын
sir please tell me what theme you are using ... i love your tutorials please sir answer me🙏
@solankiharsh1105
@solankiharsh1105 4 жыл бұрын
Jisko Java ka tutorial cahiye vo ye comment Ko like kare.
@rajitkar3622
@rajitkar3622 3 жыл бұрын
Thank you so much
@ankursinger102
@ankursinger102 4 жыл бұрын
Ur voice texture is so unique sir🤩
@debasissamal1256
@debasissamal1256 4 жыл бұрын
bhai tussi great ho
@amanbhandari349
@amanbhandari349 4 жыл бұрын
Sir please make a VIDEO CALLING APP using python🙏🙏🙏💗💗
@piyushraj8976
@piyushraj8976 4 жыл бұрын
Bhai server ke paise kon dega. Uske liye online fast server chahiye jo bahut costly hote hai. IDK it is possible or not but one may try this.
@YuvrajSingh-hp7ig
@YuvrajSingh-hp7ig 3 жыл бұрын
bhai yeh formula pehle se hi pta tha :)
@rohanjadhav3642
@rohanjadhav3642 4 жыл бұрын
Sir Kya android studio se phele flutter sikna chahiye? Please answer this question!
@hetalpatel5641
@hetalpatel5641 4 жыл бұрын
Thank you bro
@ankitabharuka1945
@ankitabharuka1945 4 жыл бұрын
Great video sir !!!!! Please make a video on how to improve typing speed and also tell how did you improved your speed
@ralsei7170
@ralsei7170 3 жыл бұрын
Practice man, I improved mine from 20 wpm to 46 wpm
@luxocity9268
@luxocity9268 4 жыл бұрын
Sir can you please make a video or comment me how to make c program on printing name ,class , division
@alexjr977
@alexjr977 4 жыл бұрын
Respect+
@jaikishanvishwakarma4785
@jaikishanvishwakarma4785 4 жыл бұрын
Hello Sir, thanks for revision
@MandeepKaur-jw8wu
@MandeepKaur-jw8wu 4 жыл бұрын
Really appreciable 👍
@jaydipsinhzala2371
@jaydipsinhzala2371 4 жыл бұрын
bhai aapto maths bhi jordar ka padhalete ho....
@mahakarora_
@mahakarora_ 4 жыл бұрын
Sir please make a course of xml in one video
@yogeshsharma5076
@yogeshsharma5076 4 жыл бұрын
Your content is good and I think you should make a programming task and upload on Instagram and give shoutout who solve a task fastly
@pujaahuja7959
@pujaahuja7959 2 жыл бұрын
Thank you Harry sir ❤️
@SaritaSingh-oo6sd
@SaritaSingh-oo6sd 4 жыл бұрын
Bhai please एक ऐसा video nikalo jisse hum log professional tarike se c language ko use kar sake
@koustubhdave5359
@koustubhdave5359 4 жыл бұрын
Are bhaiya ye to arithmetic progression ka sum hai. Kya aap aisa bata sakte ho ki, ab hum ne to back end bana liya ab iska front end kaise banao.
@prathameshpotdar1607
@prathameshpotdar1607 4 жыл бұрын
Subscribe to channel before watching my comment I had never seen the super teacher like you ever .Thank You harry sir
@soumyadeepkarmakar5702
@soumyadeepkarmakar5702 4 жыл бұрын
lz make a video on which field(example: app development, web developer , data scientist) in software engg. to get high salary job also can a btech in ECE get this job by his skills.plz make a full detailes video.
@shaileshgodghase
@shaileshgodghase 4 жыл бұрын
Should I learn c++ before python or direct go for python?
@psychoticgamer6853
@psychoticgamer6853 4 жыл бұрын
Nope
@psychoticgamer6853
@psychoticgamer6853 4 жыл бұрын
First learn python Then go to other languages Python is easy and will help u understand core concepts better If u Learn C++ first, u will only stuck in heavy syntax, that's it
@mayursinghgamerz4184
@mayursinghgamerz4184 4 жыл бұрын
Lage hath precalculus bhi sika do...if u wish guruji
@anubhavrajput_0
@anubhavrajput_0 4 жыл бұрын
Top class
@himanshuverma583
@himanshuverma583 3 жыл бұрын
Bhaiya fibonacci series wala bhi program bta dijiye plz
@prathamkore8897
@prathamkore8897 4 жыл бұрын
Like bhai
@coding-mania
@coding-mania 4 жыл бұрын
Bhaiya, Please Database management padha do.
@codefun9646
@codefun9646 4 жыл бұрын
Sir apka video bahut accha hai par सर kya aap ek game bana sakte hai gta pub g ke jasa 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼👌👌🏾👌🏾👌🏾
@alokkhulbay355
@alokkhulbay355 4 жыл бұрын
Harry bhai one question plz tell We have to make a program to add two number of 80 digits using string we can do it or not because there is no any data type which can hold 80 digit number ? Please make avl video showing that program. I have tried it using string functions like by using a to I function of string but it did not work Plz make a video in that!!!!
@soundwave9649
@soundwave9649 4 жыл бұрын
Sir, My VS code python IDE is not working. Showing error: "The python server crashed 5times in last 3 minutes. The server will not be restart." PLEASE MAKE A VIDEO ON THAT PROBLEM
@sauritinfo2248
@sauritinfo2248 4 жыл бұрын
Great
@rishabhjain6565
@rishabhjain6565 4 жыл бұрын
Please sir complete your Data science playlist
@neelamchhikara3076
@neelamchhikara3076 4 жыл бұрын
Harry bhai. Maine apki AI vali video se AI banai par mai email nahi bhej pahara.what to do and what is the problem. And google sending me that someone is trying to log in . Which means google is not allowing. So please TELL. JARVIS vali...
@himanshudhaka6752
@himanshudhaka6752 4 жыл бұрын
Arey harry bhai thoda bohat tips do yeh competitive programming kese kare saare questions dimag ke upar se jaare h
@sujayvadavadagi
@sujayvadavadagi 4 жыл бұрын
Bhai database designing ka video bana do please.
@niravparekh3440
@niravparekh3440 4 жыл бұрын
Sir make programming video on strings and arrays. I know you will but socha ek bar keh du.
@manmohanwable1929
@manmohanwable1929 4 жыл бұрын
HARRY BHAI APNE LINUX KE VIDEO ME APNE BOLA THA KI AAP LINUX KI PUURI BASIC SE ADVANCE TAK PLAYLIST BANAOGE AAPNE TO BANAI HI NAHI TO PLZZZZ BANA DENA AAP PAR VISHWAS HE KI AA MERI REQUEST KO ACCEPT KAROGE😊😊😊
C Program to Find Largest Element in an Array
9:14
CodeWithHarry
Рет қаралды 107 М.
C Program to Find Prime Number
27:20
CodeWithHarry
Рет қаралды 139 М.
طردت النملة من المنزل😡 ماذا فعل؟🥲
00:25
Cool Tool SHORTS Arabic
Рет қаралды 25 МЛН
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 12 МЛН
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Brawl Stars
Рет қаралды 23 МЛН
Which Operating System I use and Why 💻
14:57
CodeWithHarry
Рет қаралды 117 М.
Google Coding Interview With A High School Student
57:24
Clément Mihailescu
Рет қаралды 4,1 МЛН
C Program to Find Sum of First N Natural Numbers | In Hindi
8:31
C Program to Generate Multiplication Table of a Given Number
12:05
CodeWithHarry
Рет қаралды 281 М.
BASH scripting will change your life
14:18
NetworkChuck
Рет қаралды 1 МЛН
Google Coding Interview With A Competitive Programmer
54:17
Clément Mihailescu
Рет қаралды 2,5 МЛН
Python vs JavaScript | What to Choose? | ft. Toolify.ai
9:23
CodeWithHarry
Рет қаралды 137 М.
طردت النملة من المنزل😡 ماذا فعل؟🥲
00:25
Cool Tool SHORTS Arabic
Рет қаралды 25 МЛН