computer science

wc -l

wc -l

Bruce Ediger

Unix, and now Linux, have included a wc command for a very long time. Most explanations of its use are misleading fluff and garbage, and do not give you an appreciation of its true value.

Wordle 1001, March 16, 2024

Wordle 1001, March 16, 2024

Bruce Ediger

I got Wordle 1,001 without mechanized help. I feel like the partial solutions would be worth double-checking with Computer Science.

Wordle, March 1, 2024

Wordle, March 1, 2024

Bruce Ediger

I solved Wordle™ brand video game, puzzle number 986 without computerized help, but I made a silly 3rd guess. I wondered if the solution word was the only word available after my fourth guess.

Wordle Feb 17, 2024

Wordle Feb 17, 2024

Bruce Ediger

I felt pretty happy getting this wordle in 4 guesses, as you can see. But how good was my 4th guess?

Programming Puzzle Gone Wrong

Programming Puzzle Gone Wrong

Bruce Ediger

A programming interview question from the Daily Coding Problem email list. Here’s a non-hand-wavy explanation of a way to solve this problem.

Daily Coding Problem: Problem #736 [Easy]

Given a complete binary tree, count the number of nodes in faster than O(n) time. Recall that a complete binary tree has every level filled except the last, and the nodes in the last level are filled starting from the left. “Complete” means: every level, except possibly the last, is completely filled, and all nodes in the last level are as far left as possible. It can have between 1 and 2h nodes at the last level h.

Wordle, February 3, 2024

Wordle, February 3, 2024

Bruce Ediger

I solved Wordle 959 without help, my streak is now 97. I see another opportunity to write a large regular expression that could get the answer.