Skip to content

Instantly share code, notes, and snippets.

@vishalvrv9
vishalvrv9 / AdjacencyList.java
Created October 14, 2021 08:08
Java code to create adjacency list for Graph DSA problems
import java.util.*;
public class Graph {
private enum GraphType {
DIRECTED,
UNDIRECTED
}
@vishalvrv9
vishalvrv9 / Vagrantfile
Created January 30, 2020 01:08
A Vagrantfile listing properties for reference. Starting point to play around with VM/Container development
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at