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. >
In this document, we want to go over the most basic and preliminary steps of running resilientDB on docker containers.
- Fork the repository from github
- Install docker engin on your machine: link
This file contains 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
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 | |
} | |