I want to generate a Fibonacci sequence of 100 numbers in the Linked list and then reverse.

For a given linked list containing the first 100 numbers of the sequence 0,1,1,2,3,5,8,13,......218922995834555200000, provide a solution that returns a linkedlist in the following order 218922995834555200000,..........13,8,5,3,2,1,1,0.

Can someone help me out with this?

Oct 12, 2020 in Python 1,041 views

## 1 answer to this question.

Hey,

You can go through the given example below:

```Create a linked list with 0,1 then
i = 2
a=0
b=1
While i <=100 :
c =a+b
a=b
b=c
• 65,910 points

## Is there a way to list out in-built variables and functions of Python?

The in-built variables and functions are defined ...READ MORE

## How do I create 3 X 4 array of random numbers between 0 and 100 using python?

Use numpy in the following manner: np.random.rand(3,4)*100 When you ...READ MORE

## I want to insert an element at a specific index in a list and return the updated list.

Hi, Using insert() method you can insert the ...READ MORE

+1 vote

## I want to understand the difference between delete, remove and pop, in Python.

Hi, Lets look at all the methods one ...READ MORE

## how can i randomly select items from a list?

You can also use the random library's ...READ MORE

+1 vote

## how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

## Lowercase in Python

You can simply the built-in function in ...READ MORE