Allan PerezWriting Recursive Algorithms with S.R.T.B.O.T.MIT has a straightforward and interesting approach, or framework to writing solutions to recursive programming problems. The acronym…Jul 29Jul 29
Allan Perez(Visualizing) Heap SortThis algorithm is unusual because it behaves like a tree to sort an array in place. Heap sorting is similar to selection sort, meaning for…Jul 24Jul 24
Allan Perez(Visualizing) Recursively Validating Binary Search Trees (BST)Naively, the solution seemed so obvious and simple since the property of a BST is: left subtree < parent < right subtree. This solution…Jul 18Jul 18
Allan Perez(Visualizing) Recursively Reversing Linked ListsThis unconventional and initially confusing solution to reversing linked list will be explored.Jul 15Jul 15
Allan PerezCross Program InvocationsA Cross-Program Invocation (CPI) is a program call to another program, or a meta-program function call. In Solana, a program that invokes…Jul 3Jul 3
Allan PerezLet’s Make an Open Source Contribution, Pt. 2This is a continuation from part 1, which covered the background of issue #994 for Solana Program Library’s token-lending programJan 19, 2022Jan 19, 2022
Allan PerezinCoinsBenchLet’s Make an Open Source Contribution, Pt. 1The token-lending program is relatively conventional, offering services such as flash loans and liquidity lending, similar to Aave’s…Jan 7, 2022Jan 7, 2022