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 burial

Hello faithful reader! I was recently reading the bible and ruminating on Genesis. In Genesis 22, you have Abraham offering Isaac for a sacrifice. At the end of the chapter, a concubine is mentioned: Reumah. The first few times I read this, I thought this was Abraham's concubine; it felt like a bit of a betrayal of Sarah. This seemed further compounded by the fact the next time she's mentioned is her burial. I will have to confirm - but the internet seems to think this was not Abraham's concubine. Perhaps this was God's will - having two children from whom would come many nations was enough. However, the main item I wanted to mention was Sarah's gravesite. Abraham ultimately bought a small cave, and a field, for about $100,000 (400 shekels) [ link ]. I find this interesting for several reasons. The first - that Abraham pays for a burial site. I'm not sure if this was because he didn't want his wife buried on his own land or that perhaps his culture preferred...

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...