Problem Solving: Breaking Down Functions Into Smaller Functions And Writing Pseudocode: Reflecting on a call I haven’t watched back yet
Problem Solving: Breaking Down Functions Into Smaller Functions And Writing Pseudocode: Reflecting on a call I haven’t watched back yet
My boss and I did a recorded call on problem solving before my holiday; this one was specifically on solving a problem and on writing a function to solve the problem. Specifically it was about writing the pseudocode for a function to solve a problem.
And then it would have been about writing the pseudocode for the three sub functions that would go inside of this main function or whatnot. Specifically; well first I want to say that I haven’t watched this back yet and I will not do so while I am on holiday. But I’m intimidated; the fact that it is a 45 minut call with follow along notes and lots of information seems to me that I will need a good 3-4 hour session on a Saturday morning one day to follow it back properly and take notes.
But I want to try and go off of the back of what I remember and the few seconds I did watch back the other day. So my boss solved me a business problem and then he said “how would you solve this.”
And we talked about how he would do it. And then at this point I get stumped and I don’t remember. But it was something like
- He wrote the overall function with the thing that he wanted to do (it was in pseudo code first)
- He wrote the names of the two sub functions he would want to use for different things (again just like the pseudocode and saying what he would want it to do).
- He then added in another function for something - I think it was part of an if statement - we had two types of possible inputs and ONE OF THEM HAD TWO SCENARIOS
I wish I could find it so simple as well
I will get it all when I watch back the call again but I want to be able to do that why can’t I just do that why can’t I just do that thank you so much
Comments
Post a Comment