Skip to content

Instantly share code, notes, and snippets.

View matklad's full-sized avatar

Alex Kladov matklad

View GitHub Profile
@matklad
matklad / example.zig
Last active July 10, 2025 20:16 — forked from andrewrk/example.zig
async await demo
// No futures
//
// Soundtrack: https://www.youtube.com/watch?v=rFH4jCW_LzM&list=RDrFH4jCW_LzM
//
const std = @import("std");
const assert = std.debug.assert;
const Allocator = std.mem.Allocator;
const Io = std.Io;
pub fn main() !void {
@matklad
matklad / 0.suffixtree.cs
Created May 7, 2012 05:34 — forked from axefrog/0.suffixtree.cs
C# Suffix tree implementation based on Ukkonen's algorithm
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace SuffixTreeAlgorithm
{
public class SuffixTree
{