We have a professor and he gave us task to force feed algorithm to our simple projects but I have 0 idea where to put any algorithm
Here's the project in question: https://GitHub.com/hitoyaCute/student_data_tracking
39 messages ยท Page 1 of 1 (latest)
We have a professor and he gave us task to force feed algorithm to our simple projects but I have 0 idea where to put any algorithm
Here's the project in question: https://GitHub.com/hitoyaCute/student_data_tracking
@stray cypress
Remember to:
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
That seems like a pretty awful assignment. Like, "recursion" is something you can literally use EVERYWHERE. In fact, some languages like Haskell don't even have regular loops but fully rely on recursion instead
but I guess it matters what they define as an "algorithm"
tbh I feel that prof have no idea what algorithm is for...
there's no looping here

Everything is a single function call and no complex process
Msystem/DB.py line 120
students = [{"id": str(r[0]), "name": r[1]} for r in student_rows]```
Hehe :P
I mean ._.

Yeah, obviously. I was more joking there
How do you select the lines like that?
With line selector??.
Just click on the line number
o
(Then copy the URL)
#L<whateverline>
ty ty
If you want to select multiple lines: Select the first line regularly, then shift-click on the final line of your selection
@sweet dome should I just create a unused recursive function and call it a day ๐
Is that a pre-existing project that is getting extended, or is this all new, just for that one assignment?
He wouldn't understand the code anyways
it's a different project on different class
The task was like
Shove algorithm on your project and make a video you explaining it
My thoughts always shift to some pathfinding algorithms when I hear "greedy" and "backtracking".
same but the original project was about webdev and mini capstone
What about a timetable layout function?
Students enroll in various classes. The classes have so many lectures per week. Arrange the lecture times so that all students can attend all their lectures.
Ignoring "no lectures happen at the same time", this becomes a "search for a working combination" problem, suited to a path walk and various approaches, maybe particularly backtracking: place second subject's lectures, oh they're conflicting, try again.
web front end to enroll students and display timetables
skip the front end, i though there was meant to be one
I'll just do this ig....
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.