This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% | |
% You can view this as pdf here -> https://github.com/user-attachments/files/18142398/main.pdf | |
% | |
\documentclass{article} | |
\author{Wiktor Zając} | |
\title{Flutter 3.7, Dart 3.6 and Dart 3.7 updates} | |
\date{} | |
\usepackage[margin=0.7in]{geometry} | |
\usepackage[T1]{fontenc} | |
\usepackage[parfill]{parskip} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ( | |
"fmt" | |
"golang.org/x/exp/constraints" | |
) | |
type LinkedList[T constraints.Ordered] struct { | |
head, tail *Node[T] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma GCC optimize("Ofast,unroll-loops") | |
#include <bits/stdc++.h> | |
using namespace std; | |
#define ll long long | |
#define PB push_back | |
#define MP make_pair |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Node { | |
int value; | |
Node *left = nullptr; | |
Node *right = nullptr; | |
Node *parent = nullptr; | |
int height = 1; | |
}; | |
struct avl_tree { | |
private: |