Solution for HackerRank RBG Queries | HackFest 2020

Hello Programmers, The solution for HackerRank HackFest 2020 RBG Queries problem is given below. Problem Link:- https://www.hackerrank.com/contests/hackerrank-hackfest-2020/challenges/rbg/problem /* * Author:- Rahul Malhotra * Source:- Programming Vidya * Description:- Solution for HackerRank HackFest 2020 RGB Queries Problem * Problem Link:- https://www.hackerrank.com/contests/hackerrank-hackfest-2020/challenges/rbg/problem * Website:- http://www.programmingvidya.com */ #include <bits/stdc++.h> using namespace std; string ltrim(const string &); string rtrim(const … Continue reading Solution for HackerRank RBG Queries | HackFest 2020

Solution for HackerRank Strictly Increasing Sequence | HackFest 2020

Hello Programmers, The solution for HackerRank HackFest 2020 Strictly Increasing Sequence problem is given below. Problem Link:- https://www.hackerrank.com/contests/hackerrank-hackfest-2020/challenges/strictly-increasing-sequence/problem /* * Author:- Rahul Malhotra * Source:- Programming Vidya * Description:- Solution for HackerRank HackFest 2020 Strictly Increasing Sequence Problem * Problem Link:- https://www.hackerrank.com/contests/hackerrank-hackfest-2020/challenges/strictly-increasing-sequence/problem * Website:- http://www.programmingvidya.com */ #include <bits/stdc++.h> using namespace std; string ltrim(const string &); … Continue reading Solution for HackerRank Strictly Increasing Sequence | HackFest 2020

Solution for HackerRank Game of Maximization | HackFest 2020

Hello Programmers, The solution for HackerRank HackFest 2020 Game of Maximization problem is given below. Problem Link:- https://www.hackerrank.com/contests/hackerrank-hackfest-2020/challenges/stones-piles/problem /* * Author:- Rahul Malhotra * Source:- Programming Vidya * Description:- Solution for HackerRank HackFest 2020 Game of Maximization Problem * Problem Link:- https://www.hackerrank.com/contests/hackerrank-hackfest-2020/challenges/stones-piles/problem * Website:- http://www.programmingvidya.com */ #include <bits/stdc++.h> using namespace std; string ltrim(const string &); … Continue reading Solution for HackerRank Game of Maximization | HackFest 2020

Solution for HackerRank Cyclic Binary String | HackFest 2020

Hello Programmers, The solution for HackerRank HackFest 2020 Cyclic Binary String problem is given below. Problem Link:- https://www.hackerrank.com/contests/hackerrank-hackfest-2020/challenges/cyclic-binary-string /* * Author:- Rahul Malhotra * Source:- Programming Vidya * Description:- Solution for HackerRank HackFest 2020 Cyclic Binary String Problem * Problem Link:- https://www.hackerrank.com/contests/hackerrank-hackfest-2020/challenges/cyclic-binary-string * Website:- http://www.programmingvidya.com */ #include <bits/stdc++.h> using namespace std; /* * Complete the … Continue reading Solution for HackerRank Cyclic Binary String | HackFest 2020