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

An algorithm to find the missing number in a progressive sequence [1 .. (N + 1)]

Solution public int gauss(int[] sequence) { long lastValue = sequence.length + 1; long total = (lastValue * (lastValue + 1)) … More

Algorithms

An algorithm which calculates the minimal quantity of steps to walk from a point to another.

Knowing that A is the starting point B is the destination point D is the step size Assume that A, … More

Algorithms

What is the Big-O? 

The big-o notation is a relative representation of the complexity of an algorithm. In simple words, it means that this … More

Algorithms

An algorithm that turns an integer into binary and returns the biggest amount of zeros in the ranges which are between the character “1” of it.

import java.util.*; class Algorithm { public int[] algorithm(int Num) { return Arrays.stream( Integer .toBinaryString(Num) // turn to binary .replaceAll(“(^0+|0+$)”, “”) … More

Algorithms, java, java8

An algorithm which shifts each element of the Array to the right N times.

import java.util.*; class Algorithm { public boolean isEmptyArray(int[] Arr ){ if ( Arr == null || Arr.length == 0) { … More

Algorithms, java8, streams

[Algorithms] – Find words in reviews of hotels

Problem: Given a set of words and many review of this hotels, you must display the hotels Ids containing in … More

Algorithms, java

[Algorithms] – The sum of pairs

Problem : Given a set of numbers, you need check if has two numbers in this set that the sum … More

Algorithms, java

[Algorithms] – Codility Training – BinaryGap

Below is my solution for : https://codility.com/demo/take-sample-test/binary_gap/ public static void main(String[] args) { System.out.println(solution(328)); } public static int solution(int N) … More

Algorithms, java

Posts navigation

Newer posts

Search

Follow www.Dev4Devs.com on WordPress.com

Category Cloud

Algorithms AngularJS ansible Architecture Books CommandLine container convection DevOps docker English Functional Programming git golang helm 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 2020 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 cloud code collections command line CommandLine 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 email English estatistics events example exceptions faces factory Fedora filter findFirst fix foreach formatter Functional Programming genericConverter gi git golang good practices google gradle groupingBy grunt hibernate ibm images install interceptors ios isse java java8 javascript javaserverfaces JAX-B jdk js jsf junit key kids kubebuilder kubernetes kubernets lambdas layout learn lint 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 python reactivevar redhat redis reflection regex regular expressions remotework responsive rest rhel7 sax scalingo script sdk 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
  • Subscribe Subscribed
    • www.Dev4Devs.com
    • Join 56 other subscribers
    • Already have a WordPress.com account? Log in now.
    • www.Dev4Devs.com
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...