Telegram Group & Telegram Channel
⚙️ Задача: реализуйте итеративную функцию нахождения n-ого числа Фибоначчи

Недавно мы реализовывали тоже самое, но рекурсивно. Теперь пора сделать чуть оптимизированную версию.

Такой способ использует константную память, поскольку не использует рекурсивных вызовов.

🐸Библиотека задач по Go
Please open Telegram to view this post
VIEW IN TELEGRAM
👍6🥱3



group-telegram.com/go_problems_lib/1043
Create:
Last Update:

⚙️ Задача: реализуйте итеративную функцию нахождения n-ого числа Фибоначчи

Недавно мы реализовывали тоже самое, но рекурсивно. Теперь пора сделать чуть оптимизированную версию.

Такой способ использует константную память, поскольку не использует рекурсивных вызовов.

🐸Библиотека задач по Go

BY Библиотека задач по Go | тесты, код, задания




Share with your friend now:
group-telegram.com/go_problems_lib/1043

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

Telegram boasts 500 million users, who share information individually and in groups in relative security. But Telegram's use as a one-way broadcast channel — which followers can join but not reply to — means content from inauthentic accounts can easily reach large, captive and eager audiences. This provided opportunity to their linked entities to offload their shares at higher prices and make significant profits at the cost of unsuspecting retail investors. Elsewhere, version 8.6 of Telegram integrates the in-app camera option into the gallery, while a new navigation bar gives quick access to photos, files, location sharing, and more. On February 27th, Durov posted that Channels were becoming a source of unverified information and that the company lacks the ability to check on their veracity. He urged users to be mistrustful of the things shared on Channels, and initially threatened to block the feature in the countries involved for the length of the war, saying that he didn’t want Telegram to be used to aggravate conflict or incite ethnic hatred. He did, however, walk back this plan when it became clear that they had also become a vital communications tool for Ukrainian officials and citizens to help coordinate their resistance and evacuations. "He has kind of an old-school cyber-libertarian world view where technology is there to set you free," Maréchal said.
from sg


Telegram Библиотека задач по Go | тесты, код, задания
FROM American