ChatCrawlersearch across public Telegram Open the app
W

Web Development Bootcamp

snapshot for July 2022
‹ July 2022 ›×
W
Web Development Bootcamp
Karlo ...
W
Web Development Bootcamp
DarshanAcha. Sahi hai, DSA konsi lamg me krte?
Maine toh C++ me Aap javaScript me karlo agar abhi hi shuru kiya hai toh ... Bhot fayda milega apko fir ..confuse nahi hooge aaj ek interview tha usme mujhse pucha what are the different types of datatypes Maine galati se bol diya String 😂 Maine kaha no no sorry I got confused in C++ and Javascript Toh mere khyal se toh JavaScript me karlo best rahega
W
Perfect banna padega kahi na kahi ..sab average krke chaloge toh dikkat hogi
D
single digit input array (for eg - {1,3,4,2} , {5,7,4,3,8,5,9} ) ko integer me kese convert kare?? for eg, 1342, 5743859 (array egs)
Web Development Bootcamp
[1,2,3 ] loop chalaya 3 nikaala ,,, usko 3 * 10^0 = 3 fir 2 * 10^1= 20 fir 1 * 10^2= 100 Now Add them 100 + 20 + 3 Add sath sath karte raho ek Sum variable banakar... for loop ka i =2 hoga toh ab 10 ki power 0 laani hai ... toh you will do like length - i-1 length = 3 mtlb i=2—> 3-2-1 = 0 fir i =1-» 3-1-1 =1 fir i=0—» 3-0-1 = 2 toh iss trha se 10 ki power banegii... Loop from right to left ————————————— 1,3,4,2 hai sum = 0; for( i = 3 to 0) sum += a[i] * pow(10,len - i -1); DRY RUN —-»» len =4 , sum = 0 i =3--» sum = 0 + 2* pow(10,4-3-1)-»2 i =2--» sum = 2 + 4* pow(10,4-2-1)-» 42 i =1--» sum = 42 + 3* pow(10,4-1-1)-» 342 i =0--» sum = 342 + 1* pow(10,4-0-1)-» 1342 I hope samjh jaoge ... Chaho toh iss array ko string me daalo or string ko Integer banado ..JavaScript Python me esa karna easy hai ....
Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog