Skip to content

Instantly share code, notes, and snippets.

@bssrdf
bssrdf / ANSI.md
Created December 11, 2021 23:04 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@bssrdf
bssrdf / BDS.cpp
Created September 2, 2018 21:32 — forked from sameer-j/BDS.cpp
Bidirectional Search Implementation in C++
//Applies BFS from both source and destination side and checks after each iteration if the visited
//list from each side are intersecting at any point. If yes, then thats the meeting point and gives the
//path from source to that point and from that point to destination
#include <iostream>
#include <vector>
#include <list>
#include <algorithm>
#include <stdlib.h>
using namespace std;
@bssrdf
bssrdf / col.md
Created March 3, 2018 20:03 — forked from vurtun/col.md

screen0 screen1

@bssrdf
bssrdf / gist:8e819ee69b54058511b7
Created October 1, 2015 19:59 — forked from debasishg/gist:8172796
A collection of links for streaming algorithms and data structures
  1. General Background and Overview