Skip to content

www.Dev4Devs.com

  • Linkedin
  • GitHub
  • Twitter

Solutions for developers

  • Home
  • Tags
    • ci
    • command line
    • devtools
    • docker
    • git
    • [Intellij IDEA]
    • macosx
    • operator-sdk
    • operator-framework
    • opensource
    • operators
    • regex
    • ssh
    • travis
    • utils
    • woman
    • kubernetes
  • Search
  • Categories
    • Algorithms
    • ansible
    • Books
    • CommandLine
    • DevOps
    • docker
    • English
    • Functional Programming
    • git
    • golang
    • Hibernate
    • Java
    • Javascript
    • NodeJS
    • MongoDB
    • kubernetes
    • operators
    • OpenShift
    • Tips
  • About

Tag: Algorithms

[Algorithms] – Problem “Jumping on the Clouds” solved with go

Problem: Solution: Following the code implemented to solve it. package algoTest func JumpingOnClouds(c []int32) int { jumps :=0 i := … More

Algorithms, golang

[Algorithms] – Problem regards repeated strings solved with go

Problem: Solution: Following the code to solve the problem. package algoTest import “strings” func RepeatedString(s string, n int64) int64 { … More

Algorithms, golang

[Algorithms] – The classic Fibonacci with and without recursion in golang

What is Fibonacci? See more here What is Fibonacci formula? Fibonacci sequence, such that each number is the sum of … More

Algorithms, golang

[Algorithms] – Creating an LRUCache in golang

What is an LRUCache? The LRU means discards the least recently used items first. It means that a cache implementation … More

Algorithms, golang

[Golang] – Code example to calc roots

To calc the root we will use here the Newton Raphson Method. In this case, Newton’s formula is to approximate Sqrt(x) by … More

Algorithms, golang

An algorithm which check a array and perform operations

Problem Given an array and an integer number perform the operations to increase or set the max value where if the value … More

Algorithms

An algorithm which returns the number of integers divisible by N in an sequenced interval [Y..Z].

Following the solution. public int algo(int Y, int Z, int N) { if ( Z==0 ) { return 1; } … More

Algorithms

An algorithm to find the smallest positive integer that does not occur in a given array.

Following examples. [1, 3, 6, 4, 1, 2, 7] then return 5 [-1, 1, 2, 3] the return 4 [−1, … More

Algorithms

An algorithm that checks if the values of an array form one or two numerical sequences starting from 1

If the values of the array can form one or two numerical sequences then return 1 otherwise return 0. For example … More

Algorithms

An algorithm to find the min value of the difference between the sum of all numbers from all possible two parts to which it can be divided

The solution is the min absolute value of |(A[0] + … + A[D-1]) – (A[D] + … + A[N-1])| where A … More

Algorithms

Posts navigation

Older posts

Search

Follow www.Dev4Devs.com on WordPress.com

Category Cloud

Algorithms AngularJS ansible Architecture Books CommandLine container DevOps docker English Functional Programming git golang hibernate java javascript JavaServer Faces kubebuilder kubernetes layout maven meteor minikube mongoDB neo4j NodeJS OpenShift operators postgreSQL primefaces python regex shell SO think tips Uncategorized [Intellij IDEA]

Tags Cloud

5.0 2019 aggregate ai Algorithms amazon android AngularJS annotations ansible anyMatch Architecture AtomicBoolean autocomplete automate aws beans best practices Books bootstrap bundle cache callable cdi centos ci Clojure code collections command line configuration confirmation container contribution control-plane.io cool cordova course database datable date date component debugger debugging for chrome default methods Design design pattern development DevOps devtools directions api docker dockerfile email English estatistics events example exceptions faces factory Fedora filter findFirst fix foreach formatter Functional Programming genericConverter gi git golang google gradle groupingBy grunt hibernate hyperkit ibm images install interceptors ios isse java java8 javascript javaserverfaces JAX-B jdk js jsf junit key kids kubebuilder kubernetes kubernets lambdas layout learn linux local env london macosx mandrill mapping maps Material Design math maven meteor Methods microservices minikube Minishift mobile mongoDB music neo4j node node.js nuaware oc tool olm OpenShift opensource operator-framework operator-sdk operatorhub operators optional parse performace pocs pool postgreSQL primafeces primefaces Process prometheus python reactivevar redhat redis reflection regex regular expressions remotework responsive rest rhel7 sax scalingo script sdk secrets security sensitive shel shell socket sorted sound sp spin sponsored by spring ssh StAX STEM stream streams sum t tail recursion tdc think thread threads tip tips travis UI uk upstream utils vagrant validation form volatile webpack wildfly woman xml xpath xsd xsl XSLT [Intellij IDEA]
Create a website or blog at WordPress.com
Cancel