👑Challenge :- Predict The Next Term..*⃣🔢 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 15

👑Challenge :- Predict The Next Term..*⃣🔢

⏩User input :- a Polynomial Series (Note :- if you wanna code for non-polynomials also, effort will be appreciated.) ⏩Output should be the next term of series Examples 1. Input :- 1 4 9 16 It is (x^2) series so output next term should be 25 2. Input :- 4 8 12 16 20 It is linear series so next term should be 24 3. Input :- 10 29 66 127 It is following (x^3+2) series so next term is 218 My trial for Polynomial Series is here👇 Now It's your turn....😉.♍ https://code.sololearn.com/cex6HhL5rLqQ/?ref=app

19th Feb 2018, 5:51 PM
Zoetic_Zeel
Zoetic_Zeel - avatar
6 Answers
+ 15
https://code.sololearn.com/cuyaA3R587K7/?ref=app
19th Feb 2018, 9:03 PM
Oma Falk
Oma Falk - avatar
+ 8
uff! okaaaaaay......
19th Feb 2018, 8:41 PM
Oma Falk
Oma Falk - avatar
+ 4
@Nashat As per my algorithm for this type of Polynomial Series, if want to know how to do this in any language, you should just know basic mathematic operations and may be some functional approach
21st Feb 2018, 1:31 PM
Zoetic_Zeel
Zoetic_Zeel - avatar
+ 3
this is a job for my oneliner serialkiller https://code.sololearn.com/cp6R8YOYNn4Q/?ref=app
20th Feb 2018, 4:21 PM
VcC
VcC - avatar
0
Somebody please tell me, how can I do this in Java!!!
21st Feb 2018, 10:13 AM
Nashat
Nashat - avatar