Vagrant https://www.vagrantup.com/ Create and configure lightweight, reproducible, and portable development environments. UP AND RUNNING $ vagrant init hashicorp/precise64 $ … More
Author: camilamacedo86
[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] – 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] – 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
[Clojure] – What is tail recursion ?
As in Clojure and functional programming we don’t have recursion, this is the resource used to treat this situation. Why … More
[Clojure] – What is the difference between functions that end with “?” and ending with “!” ?
By convention, functions with question return boolean. And functions with exclamation change program status (keyboard read, write a file, saved … More
[Clojure] – Could I use Java functions with it ?
Yes, it is possible. In this case we use a point before the function to invoke it. Look below : Console … More
[Clojure] – My first step. Understanding the basics of the syntax
Below are a lot of example for the first steps. For understand the syntax and basics concepts. I’m using Intellij IDEA … More
[Functional Programming] – Getting Started
For functional thinking we mean that we will change our way of programming. No more imperatively, that is, program line … More
[Java] – How to create threads that return values?
We can no longer use the Runnable interface to do this. We must use the callable interface that was implemented … More