TGStat
TGStat
Qidiruv uchun matnni kiriting
Ilg‘or kanal qidiruvi
  • flag Uzbek
    Sayt tili
    flag Russian flag English flag Uzbek
  • Saytga kirish
  • Katalog
    Kanal va guruhlar katalogi Kanallar qidiruvi
    Kanal/guruh qo‘shish
  • Reytinglar
    Kanallar reytingi Guruhlar reytingi Postlar reytingi
    Brendlar va shaxslar reytingi
  • Analitika
  • Postlarda qidiruv
  • Telegram'ni kuzatish
CODING LIKE A PRO

19 Oct 2021, 19:47

Telegram'da ochish Ulashish Shikoyat qilish

0-10255439827_20211018_213137_0000.pdf
960.1Kb
Google search result suggestions may show that "Recursion is bad" or "Recursion is magic" but the actual reason why many programmers have problem with recursion is because the call stack is invisible. Recursion should be used either while navigating through tree-like structures or when the problem requires backtracking.

A stack is a data structure that holds a sequence of data and only lets you interact with the top most item. A recursive function call pushes a frame object into stack and returning the method pops them off.

A stack overflow is when a recursive function gets out of control and doesn't stop. Recursion programs can be implemented with loop and stacks.

Recursion is usually slower than iteration due to the overhead of maintaining the stack. Recursion uses more memory than iteration.

Recursion has very high (generally exponential) time complexity whereas loops have relatively lower time complexity (generally polynomial-logarithmic).
🤩 6
😁 3
👍 8
👎 6
Instagram

1.4k 0 0
Katalog
Kanal va guruhlar katalogi Kanallar to‘plamlari Kanallar qidiruvi Kanal/guruh qo‘shish
Reytinglar
Telegram-kanallar reytingi Telegram-guruhlar reytingi Postlar reytingi Brendlar va shaxslar reytingi
API
Statistika API'si Postlar qidiruvi API'si API Callback
Kanallarimiz
@TGStat @TGStat_Chat @telepulse @TGStatAPI
O‘qish
Академия TGStat Telegram tadqiqoti 2019 Telegram tadqiqoti 2021 Telegram tadqiqoti 2023
Kontaktlar
Справочный центр Qo‘llab-quvvatlash Email Vakansiyalar
Har xil narsalar
Foydalanuvchi shartnomasi Maxfiylik siyosati Ommaviy oferta
Botlarimiz
@TGStat_Bot @SearcheeBot @TGAlertsBot @tg_analytics_bot @TGStatChatBot