Skip to main content

653.01 questions

Class 01 questions:

What does sorted mean?

How do you measure efficiency / the best?

How do you measure how much memory an algorithm requires?

How do you count the instructions an algorithm requires?

How do you define correctness?

Are there any other meaningful types of correctness than exactly, usually correct, and close to it?

How do you know if you have a match - you're done looping?
Is it possible that a looser definition for a match may speed up an algorithm?

What is a random algorithm?

What is a probabilistic algorithm?

The presumptive aspects to measuring speed are: machine, compiler, programmer, input size, input kind, and power. Are there any other meaningful properties?

How do we abstract machine, compiler, programmer, input size, input kind, and power?
Can we build a system that, with all properties abstracted, we can accurately measure/predict algorithmic space?
Can we infer a system that has certain properties and deduce the required machine/compiler that would permit such an algorithm?

How do you reduce algorithms that use non-polynomial space?


Comments

Popular posts from this blog

thoughts on distraction

Hello faithful reader! I like to-do lists. They add order to the world and help me prioritize my time. They also gird me against being distracted. This is important because I am exceptionally able to be distracted. And I think most of us are. Given a simple situation, most of us can tell you what action we should take. However, with a little duress, a little distraction - and any one of us can be nudged in a direction we'd never normally take. The simplest, though, is simply distraction. Maybe it's letting urgent things supersede important things. Maybe it's just one more level or quest on your game before you start. Maybe it's finishing the chapter in your book before you finish your homework. Biblically, Esau [ Genesis 25 ] got distracted and traded away his birthright. The execution of this was a few chapters later - which is also how distraction works. You don't normally notice when it's happening. -: anxious :- I find it hard to focus on important things -

thoughts on college

Hello faithful reader! I wanted a centralized location for my musings. The hardest challenge was naming! So many abandoned blogs with cool names. Reminds me of a frequently stolen (mis)quote: There are only two hard things in Computer Science: naming things. [ attribution ] -: school :- I started taking classes again today. I'm a functioning adult, pay bills, have a family. And on some level it's like I'm in high-school again. Being on this side of it - it's actually a pleasant awkwardness -: pondering :- I watched a YouTube video on creativity - John Cleese on Creativity [ link ]. My favorite part was the reminder to leave space to be creative. Whether writing a novel, or solving a difficult problem, we need to give ourselves time. In our modern instant-feedback society, it is a good reminder to trust the process. -: idea :- Given the notion of probabilistic circuitry, I wonder if it would be possible to use machine learning to design or build a circuit that could dra

thoughts on forgs

Hello faithful reader! I'm building a card game and one of the cards is that of a frog. I was struck by how easy it is to be in the territory of the unknown when we repeat words. Say a word 1000 times - and somewhere in the middle, it can feel weird on one's tongue. It even has a label:  Semantic satiation . On a related note, you can change its spelling - and potentially be newly inspired! -: frustration :- I hereby share the reality that, the day after I posted about giving space for creativity: I didn't. And I was beset with no inspiration. An excellent, gentle reminder that many, many lessons, once learned, need to be refreshed. Giving yourself the space to fail, and not quit, is priceless. -: pondering :- One of the things I'm fascinated by is our inability to genuinely see and know reality. We certainly have sensory experiences and memories. But to know what IS real we almost always need at least one other person: One person to corroborate/confirm the gathered dat