---
title: "Samuel (@codestree) | Hashnode"
description: "I write; commands for computers and explanations for people. Read the latest articles by Samuel on Hashnode."
url: "https://hashnode.com/@codestree"
---

@codestree

# Samuel

@codestree · Nairobi, Kenya · Joined May 2023

I write; commands for computers and explanations for people

### [Hash Tables In C](https://codetree3.hashnode.dev/hash-tables-in-c?utm_source=hashnode&utm_medium=feed)

Hash tables are a data structure that seek to solve the time complexity problem of arrays and linked lists. With arrays and linked lists, one has to traverse through the lists in order to get the particular element they are looking for. This leads to...

4 min read · [codetree3.hashnode.dev](https://codetree3.hashnode.dev/hash-tables-in-c?utm_source=hashnode&utm_medium=feed)

[Feb 10, 2024](https://hashnode.com/posts/hash-tables-in-c/65c7b620d696c10de31a3846)

### [C functions, Loops, and nested loops.](https://codetree3.hashnode.dev/c-functions-loops-and-nested-loops?utm_source=hashnode&utm_medium=feed)

In C, most of the code you'll execute is inside functions. Think of functions as some processes that happen when a program runs. Keeping that analogy of a process or a routine, it is important to note that the total of these processes constitutes a t...

3 min read · [codetree3.hashnode.dev](https://codetree3.hashnode.dev/c-functions-loops-and-nested-loops?utm_source=hashnode&utm_medium=feed)

[Oct 19, 2023](https://hashnode.com/posts/c-functions-loops-and-nested-loops/6531809dad957f0ea0522478)

### [Basics of C, and compilation.](https://codetree3.hashnode.dev/basics-of-c-and-compilation?utm_source=hashnode&utm_medium=feed)

After writing a C program, to use it, it must be compiled to make an executable file that can be run. The GNU/Linux system comes with a native compiler, the gcc compiler that can be used to do just this. The way to compile with gcc is simply to invok...

2 min read · [codetree3.hashnode.dev](https://codetree3.hashnode.dev/basics-of-c-and-compilation?utm_source=hashnode&utm_medium=feed)

[Aug 28, 2023](https://hashnode.com/posts/basics-of-c-and-compilation/64ec6d1909bd39ae67050c9c)

### [Shell variables and expansions.](https://codetree3.hashnode.dev/shell-variables-and-expansions?utm_source=hashnode&utm_medium=feed)

Expansions. From our previous discussion on wildcards, we know a little bit about expansions. For example, the \* character expands to include all characters present. This expansion occurs before any shell command is executed hence the shell would not...

5 min read · [codetree3.hashnode.dev](https://codetree3.hashnode.dev/shell-variables-and-expansions?utm_source=hashnode&utm_medium=feed)

[Aug 8, 2023](https://hashnode.com/posts/shell-variables-and-expansions/64d254118dd973ed57ad8528)

### [Shell Redirections, I/O, and special characters.](https://codetree3.hashnode.dev/shell-redirections-io-and-special-characters?utm_source=hashnode&utm_medium=feed)

Special characters. The characters typed onto the terminal can have special meanings. One of these is the \* which means to match any characters. These special characters can be challenging to write when executing commands on the terminal. e.g. the ec...

6 min read · [codetree3.hashnode.dev](https://codetree3.hashnode.dev/shell-redirections-io-and-special-characters?utm_source=hashnode&utm_medium=feed)

[Aug 7, 2023](https://hashnode.com/posts/shell-redirections-io-and-special-characters/64d0bc19fcdafb0d8708222e)
