Hugo - the tool i used to make this site

Hugo is a static site generator that read content files written in Markdown (.md), applies layouts and templates from themes or custom code , compiles everything into static HTML ,CSS and JS files. Overview A typical Hugo project has this structure: my-hugo-site/ ├── archetypes/ ├── content/ ├── layouts/ ├── static/ ├── themes/ ├── public/ └── config.toml Archetypes The archetypes/ folder contains template files that Hugo uses when creating new content. When you create new content using Hugo’s command line tool, these templates provide the starting structure for your new pages or posts. ...

April 23, 2025

Divide and conquer

Divide and conquer divide and conquer is a recursive problem solving paradigm that breaks down a complex problem into smaller manageable ones and each one is solved independently and their solutions are combined to derive the solution to the original problem. Base case: Identifying a base case that can be solved without further decomposition and define a criteria to define this case. Recursive decomposition: determine how to breakdown the problem into smaller similar subproblems until reaching the base case. Solve the base case Complete the smallest possible operation directly. Combine subproblems now logically recombine the data to complete your solution Quicksort Quicksort is an efficient, in-place, divide and conquer sorting algorithm. It is widely used due to its average-case time complexity of $𝑂(𝑛log⁡𝑛)$ and its ability to sort large datasets efficiently. The key steps involved in QuickSort are: ...

April 22, 2025