Skip to content

Instantly share code, notes, and snippets.

View Uditgulati's full-sized avatar

Udit Gulati Uditgulati

View GitHub Profile
@Uditgulati
Uditgulati / brief-report.md
Last active August 26, 2019 17:15
GSoC brief report

GSoC report

Phase - 1

Deliverables: N-dimensional matrix indexing, iterating, slicing.

Overview of work done:

  • Started off the work with first implementing indexing for N-dimensional matrices. The process included implementing strides from indices and using them to locate the element in store list of elements. This was straight-forward and tests were also written for it and worked fine.
@Uditgulati
Uditgulati / assigning-heroes.cpp
Created September 9, 2018 21:22
Heuristics 22 Editorials
#include<bits/stdc++.h>
using namespace std;
typedef long long ulli;
#define int ulli
const int mod = 1e9+7;
struct Node{
int ind,dist;
vector<int> next;
Node(){