+ 5

Algorithm advices

knowing that the base of every program its the algorithm of it would you give me some advice about how to make my algorithm's better?

8th Dec 2017, 6:29 AM
Venus😊😊tunelvahshat_homAiuni
Venus😊😊tunelvahshat_homAiuni - avatar
37 Answers
+ 6
Find the most efficient algorithm (mostly by practice). For example, for checking a palindromic string, instead of storing everything in an array and checking if the last element is equal to the first element... just use a recursive function. Math may help too; for example when calculating if a number is prime, you don't have to check the factors until n, but instead sqrt(n). Saves quite a bit of time. Hope this helped. 😉
8th Dec 2017, 7:00 AM
blackcat1111
blackcat1111 - avatar
+ 4
you can change your ubication if you want I have changed a few times, yes.
8th Dec 2017, 7:23 AM
Venus😊😊tunelvahshat_homAiuni
Venus😊😊tunelvahshat_homAiuni - avatar
+ 3
thanks😉
8th Dec 2017, 7:11 AM
Venus😊😊tunelvahshat_homAiuni
Venus😊😊tunelvahshat_homAiuni - avatar
+ 3
@ Venus are you switching your location in the app ? Cause I'm always in Tor but I'm listed in the leaderboard under my home flag .. 😕 ??
8th Dec 2017, 7:18 AM
Mason Neville
Mason Neville - avatar
+ 3
But you are from Iran right ?
8th Dec 2017, 7:29 AM
Mason Neville
Mason Neville - avatar
+ 3
yes
8th Dec 2017, 1:42 PM
Venus😊😊tunelvahshat_homAiuni
Venus😊😊tunelvahshat_homAiuni - avatar
+ 3
but I have already lived in other countries so I know their language.
8th Dec 2017, 1:43 PM
Venus😊😊tunelvahshat_homAiuni
Venus😊😊tunelvahshat_homAiuni - avatar
+ 3
can I know why are you so interested ??
8th Dec 2017, 1:44 PM
Venus😊😊tunelvahshat_homAiuni
Venus😊😊tunelvahshat_homAiuni - avatar
+ 2
😁😁😁 Spanish, persian and English(this last one is the worst as you can see)
8th Dec 2017, 6:51 PM
Venus😊😊tunelvahshat_homAiuni
Venus😊😊tunelvahshat_homAiuni - avatar
+ 2
Well I reread the thread and your english is top notch, unless you're telling me that " ubication " is not a fancy technical word that I didn't know 😕 ?
8th Dec 2017, 6:58 PM
Mason Neville
Mason Neville - avatar
+ 2
yup
8th Dec 2017, 7:03 PM
Venus😊😊tunelvahshat_homAiuni
Venus😊😊tunelvahshat_homAiuni - avatar
+ 2
thanks, you made me feel a little more confident with my English.👍
8th Dec 2017, 7:05 PM
Venus😊😊tunelvahshat_homAiuni
Venus😊😊tunelvahshat_homAiuni - avatar
+ 2
bueno no sabia que supieras español.
8th Dec 2017, 7:11 PM
Venus😊😊tunelvahshat_homAiuni
Venus😊😊tunelvahshat_homAiuni - avatar
+ 2
tu de donde eres?
8th Dec 2017, 7:11 PM
Venus😊😊tunelvahshat_homAiuni
Venus😊😊tunelvahshat_homAiuni - avatar
+ 2
well for someone who has learned Spanish in school is really good. wuau Canada. I am a student. I have 17 and in 2 years , (hopefully) I will go to the university.
8th Dec 2017, 7:22 PM
Venus😊😊tunelvahshat_homAiuni
Venus😊😊tunelvahshat_homAiuni - avatar
+ 2
i don't how to say it in English maybe computers programming.
8th Dec 2017, 7:30 PM
Venus😊😊tunelvahshat_homAiuni
Venus😊😊tunelvahshat_homAiuni - avatar
+ 2
thank you💟
8th Dec 2017, 7:37 PM
Venus😊😊tunelvahshat_homAiuni
Venus😊😊tunelvahshat_homAiuni - avatar
+ 2
OK. I will read /watch them and thank you so much for your help.💞
8th Dec 2017, 7:48 PM
Venus😊😊tunelvahshat_homAiuni
Venus😊😊tunelvahshat_homAiuni - avatar
+ 1
Your profile picture captured my attention + I always lookup people's country and I remember thinking that you didn't look Iranian ( assuming it's you in the picture ). Then I was checking out Argentina's leaderboard and there you were ... what languages do you speak if I may continue with my investigation ? 😊
8th Dec 2017, 6:27 PM
Mason Neville
Mason Neville - avatar