Skip to content

Instantly share code, notes, and snippets.

View BogdanIrimie's full-sized avatar

Bogdan Irimie-Barb BogdanIrimie

  • Aserto
  • Timisoara
View GitHub Profile
@BogdanIrimie
BogdanIrimie / solution.go
Created November 8, 2021 13:22
Solution to the third task
import (
"sort"
)
func Solution(A []int, D int) int {
invertTimeWithStone := invertTimeWithStone(A)
for i := 0; i <= len(invertTimeWithStone); i++ {
var currentRevealedStones []int = make([]int, i)
copy(currentRevealedStones, invertTimeWithStone[:i])
@BogdanIrimie
BogdanIrimie / nmap.json
Created September 18, 2015 15:22
Monitoring results for nmap and scanner component for job with id = 55fc11c358fe934faef457bc
{
"_id" : ObjectId("55fc11eb58fe060c0640a66f"),
"vmIp" : "127.0.1.1",
"jobId" : "55fc11c358fe934faef457bc",
"name" : "nmap",
"pid" : 13182,
"jobStartTime" : NumberLong(1442583011864),
"jobEndTime" : NumberLong(1442583017729),
"monitoringResults" : [
{