Backend Software Engineer
- New York, USA
- https://www.linkedin.com/in/gabrielagrandat/
Pinned Loading
-
Maximum Streaks - HackerRank A coin...
Maximum Streaks - HackerRank A coin was tossed numerous times. You need to find the longest streak of tosses resulting Heads and the longest streak of tosses resulting in Tails. Formally, given the results of tosses of a coin, find the maximum number of consecutive Heads and the maximum number of consecutive Tails . 1import java.util.ArrayList;
2import java.util.List;
34public class Main {
5 -
FunAnagrams - Hackerrank
FunAnagrams - Hackerrank 1/*
2* To change this license header, choose License Headers in Project Properties.
3* To change this template file, choose Tools | Templates
4* and open the template in the editor.
5*/
-
Minimum Swaps - HackerRank You are g...
Minimum Swaps - HackerRank You are given an unordered array consisting of consecutive integers [1, 2, 3, ..., n] without any duplicates. You are allowed to swap any two elements. You need to find the minimum number of swaps required to sort the array in ascending order. 1package minimunSwaps;
23import java.util.HashMap;
4import java.util.Map.Entry;
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.