Skip to content

Instantly share code, notes, and snippets.

View VasudhaJha's full-sized avatar

Vasudha Jha VasudhaJha

View GitHub Profile
@VasudhaJha
VasudhaJha / InterviewRoadmap.md
Created March 1, 2022 22:42 — forked from khannasarthak/InterviewRoadmap.md
My Interview Study roadmap

Coding Interview University

I originally created this as a short to-do list of study topics for becoming a software engineer, but it grew to the large list you see today. After going through this study plan, I got hired as a Software Development Engineer at Amazon! You probably won't have to study as much as I did. Anyway, everything you need is here.

The items listed here will prepare you well for in an interview at just about any software company, including the giants: Amazon, Facebook, Google or Microsoft. >

@VasudhaJha
VasudhaJha / resdb_start.md
Created October 4, 2021 02:55 — forked from sajjadrahnama/resdb_start.md
ResilientDB Compile and run on Docker

ResilientDB Compile and Run Code

In this document, we want to go over the most basic and preliminary steps of running resilientDB on docker containers.

  1. Fork the repository from github

Frok

  1. Install docker engin on your machine: link
@VasudhaJha
VasudhaJha / FindAPeak.swift
Created May 6, 2019 12:35
Swift implementation of the classic Find a peak problem
func findAPeak(arr: [Int], low: Int, high: Int, size: Int) -> Int {
//Find index of the middle element
let mid = low + (high - low)/2
// Compare the middle element with its neighbours if they exist
if (mid == 0 || arr[mid - 1] <= arr[mid]) && (mid == size - 1 || arr[mid + 1] <= arr[mid]) {
return mid
}