Skip to content

Instantly share code, notes, and snippets.

View BinayKr02's full-sized avatar
🎯
vector<competence> MyAttributes = {"Consistent", "Motivated", "Flourishing"};

Binay Kumar Rajak BinayKr02

🎯
vector<competence> MyAttributes = {"Consistent", "Motivated", "Flourishing"};
View GitHub Profile
class Solution {
public:
int subarraySum(vector<int>& nums, int k) {
//For fast I/O in C++
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n = nums.size();
if(n==0)