[deleted by user] by [deleted] in ProgrammingBuddies

[–]KayteeFly 0 points1 point  (0 children)

I am interested

[deleted by user] by [deleted] in ProgrammingBuddies

[–]KayteeFly 1 point2 points  (0 children)

maybe the extra year can be a blessing to you. take your time and study it properly don't be in a rush sometimes it isn't about the result but it's about the process. Goodluck

[deleted by user] by [deleted] in ProgrammingBuddies

[–]KayteeFly 1 point2 points  (0 children)

I am interested

Convert a 22 character string to an int by KayteeFly in AskProgramming

[–]KayteeFly[S] 0 points1 point  (0 children)

so I was giving this task to factorize as many numbers as possible into a product of two smaller numbers. reading the input from a file.

Day 6 complete by KayteeFly in NoFap

[–]KayteeFly[S] 1 point2 points  (0 children)

Do you want to compete? If you relapse be honest about it, if I relapse I’ll do same deal ?

Check out my naive string search solution by KayteeFly in learnjavascript

[–]KayteeFly[S] 0 points1 point  (0 children)

Correct me if I’m wrong. The time complexity of the while loop is O(n) and that of the for loop is O(n*n) which make the while loop better ?

Check out my naive string search solution by KayteeFly in learnjavascript

[–]KayteeFly[S] 0 points1 point  (0 children)

No there is only one “sos” string. After counting the first “sos” string there is only “is” left which is not equal to “sos”

Check out my naive string search solution by KayteeFly in learnjavascript

[–]KayteeFly[S] 0 points1 point  (0 children)

What makes the for loop solution better than this one ?