#java
Read more stories on Hashnode
Articles with this tag
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping...
find a max sum of subarray of size k{3 here}. Example : 1) arr[] : {3,2,4,5,2,1,1,1,1,3,3} , sum = 5, k = 2: output : [4,5] = 9 class Sliding{ int...
Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if...
(hard) ยท Although it's a leetcode hard question, if you have learned the basic pseudocode of MergeSort, then it is very easy for you. Problem Statement:...
So I have not been blogging about my 100daysofcode challenge, coz I was a bit busy in my endsem exams preparation. So, here's my 3 days...
It was my 29th day of my 100daysofcode challenge, almost a month an I have been coding everyday. Today, I just explored what is pug and slug in node...