a few explanatory drawings
Here’s the problem.
Given an array of numbers, say [2,3,3,4,5,6] and a target number, say 9, how can you find the two numbers that equal 9, then return the array indexes of the two values.
including an Addnode func in the Eidhof example from Advanced Swift.
Deep in reading Eidhof’s examples and dug into this Binary Search tree. I read through all of Sedgewick years ago but in general I live in the land of making Apps and…
recompiling an app…
I came across this fun example of using Lists, Bindings and Optionals on X this morning.
in Advanced Swift
(Advanced Swift is a great book from Objc.io. Highly recommended.)
1 When we’re using a protocol like a concrete type, the compiler creates a wrapper type for the protocol, called an existential, behind the…
you should be able to draw this from memory
Sept 24 — Henry James famously said “There is only one recipe — to care a great deal for the cookery.” I’m reading through Hudson’s and Eidhof’s Advanced books, embracing the cookery. These are individual notes on…