-
Notifications
You must be signed in to change notification settings - Fork 11.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Day 7 completed #552
Open
dirwolf
wants to merge
347
commits into
kallaway:master
Choose a base branch
from
dirwolf:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Day 7 completed #552
This pull request is big! We’re only showing the most recent 250 commits.
Commits on Feb 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8155e6f - Browse repository at this point
Copy the full SHA 8155e6fView commit details
Commits on Feb 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 761c07c - Browse repository at this point
Copy the full SHA 761c07cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aa3260 - Browse repository at this point
Copy the full SHA 3aa3260View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6a668c - Browse repository at this point
Copy the full SHA b6a668cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5e3b87 - Browse repository at this point
Copy the full SHA e5e3b87View commit details
Commits on Feb 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9975a66 - Browse repository at this point
Copy the full SHA 9975a66View commit details
Commits on Feb 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3d9fc48 - Browse repository at this point
Copy the full SHA 3d9fc48View commit details
Commits on Feb 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3c5319b - Browse repository at this point
Copy the full SHA 3c5319bView commit details
Commits on Feb 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 809f25d - Browse repository at this point
Copy the full SHA 809f25dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 554fc53 - Browse repository at this point
Copy the full SHA 554fc53View commit details -
Configuration menu - View commit details
-
Copy full SHA for d54e1e0 - Browse repository at this point
Copy the full SHA d54e1e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d82740 - Browse repository at this point
Copy the full SHA 2d82740View commit details -
Configuration menu - View commit details
-
Copy full SHA for e99b8fc - Browse repository at this point
Copy the full SHA e99b8fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e40f9b4 - Browse repository at this point
Copy the full SHA e40f9b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac832ff - Browse repository at this point
Copy the full SHA ac832ffView commit details
Commits on Feb 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 12b9f4c - Browse repository at this point
Copy the full SHA 12b9f4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 895ef75 - Browse repository at this point
Copy the full SHA 895ef75View commit details
Commits on Feb 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 20fcfb4 - Browse repository at this point
Copy the full SHA 20fcfb4View commit details
Commits on Feb 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1212811 - Browse repository at this point
Copy the full SHA 1212811View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5a0a30 - Browse repository at this point
Copy the full SHA a5a0a30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3da8a5d - Browse repository at this point
Copy the full SHA 3da8a5dView commit details
Commits on Feb 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4024ac4 - Browse repository at this point
Copy the full SHA 4024ac4View commit details
Commits on Feb 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 86958e0 - Browse repository at this point
Copy the full SHA 86958e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6c6724 - Browse repository at this point
Copy the full SHA d6c6724View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85f36be - Browse repository at this point
Copy the full SHA 85f36beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77459e4 - Browse repository at this point
Copy the full SHA 77459e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a9c3d2 - Browse repository at this point
Copy the full SHA 6a9c3d2View commit details
Commits on Feb 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9eae49c - Browse repository at this point
Copy the full SHA 9eae49cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4ee6b2 - Browse repository at this point
Copy the full SHA f4ee6b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bd22f8 - Browse repository at this point
Copy the full SHA 3bd22f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c69009d - Browse repository at this point
Copy the full SHA c69009dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0051b59 - Browse repository at this point
Copy the full SHA 0051b59View commit details
Commits on Feb 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ab7a33f - Browse repository at this point
Copy the full SHA ab7a33fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32bb849 - Browse repository at this point
Copy the full SHA 32bb849View commit details
Commits on Mar 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1f2da1b - Browse repository at this point
Copy the full SHA 1f2da1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e0f19a - Browse repository at this point
Copy the full SHA 6e0f19aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d83cc3d - Browse repository at this point
Copy the full SHA d83cc3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9217e2f - Browse repository at this point
Copy the full SHA 9217e2fView commit details
Commits on Mar 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dc38b24 - Browse repository at this point
Copy the full SHA dc38b24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7656066 - Browse repository at this point
Copy the full SHA 7656066View commit details -
Configuration menu - View commit details
-
Copy full SHA for 144fee2 - Browse repository at this point
Copy the full SHA 144fee2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72e6db4 - Browse repository at this point
Copy the full SHA 72e6db4View commit details
Commits on Mar 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1379ab8 - Browse repository at this point
Copy the full SHA 1379ab8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83bd2a8 - Browse repository at this point
Copy the full SHA 83bd2a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cead8c - Browse repository at this point
Copy the full SHA 3cead8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ea40b9 - Browse repository at this point
Copy the full SHA 7ea40b9View commit details
Commits on Mar 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 61b1519 - Browse repository at this point
Copy the full SHA 61b1519View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0eecf0 - Browse repository at this point
Copy the full SHA c0eecf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 453df45 - Browse repository at this point
Copy the full SHA 453df45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d9c31e - Browse repository at this point
Copy the full SHA 8d9c31eView commit details
Commits on Mar 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3b95d77 - Browse repository at this point
Copy the full SHA 3b95d77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 268d9a8 - Browse repository at this point
Copy the full SHA 268d9a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf40d08 - Browse repository at this point
Copy the full SHA cf40d08View commit details -
Configuration menu - View commit details
-
Copy full SHA for fef02e6 - Browse repository at this point
Copy the full SHA fef02e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e049f6a - Browse repository at this point
Copy the full SHA e049f6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bcdb8b8 - Browse repository at this point
Copy the full SHA bcdb8b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a575210 - Browse repository at this point
Copy the full SHA a575210View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63ad74c - Browse repository at this point
Copy the full SHA 63ad74cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b9a290 - Browse repository at this point
Copy the full SHA 5b9a290View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d9b35f - Browse repository at this point
Copy the full SHA 5d9b35fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea349d0 - Browse repository at this point
Copy the full SHA ea349d0View commit details
Commits on Mar 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5637591 - Browse repository at this point
Copy the full SHA 5637591View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0bef4c - Browse repository at this point
Copy the full SHA e0bef4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bae3874 - Browse repository at this point
Copy the full SHA bae3874View commit details -
Configuration menu - View commit details
-
Copy full SHA for d15ad0b - Browse repository at this point
Copy the full SHA d15ad0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74f4844 - Browse repository at this point
Copy the full SHA 74f4844View commit details -
Configuration menu - View commit details
-
Copy full SHA for c36bd0a - Browse repository at this point
Copy the full SHA c36bd0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e317c4 - Browse repository at this point
Copy the full SHA 3e317c4View commit details
Commits on Mar 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b339116 - Browse repository at this point
Copy the full SHA b339116View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea054e5 - Browse repository at this point
Copy the full SHA ea054e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef88b68 - Browse repository at this point
Copy the full SHA ef88b68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e2b938 - Browse repository at this point
Copy the full SHA 2e2b938View commit details
Commits on Mar 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 19d56dd - Browse repository at this point
Copy the full SHA 19d56ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64c51f1 - Browse repository at this point
Copy the full SHA 64c51f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ee459b - Browse repository at this point
Copy the full SHA 8ee459bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c453674 - Browse repository at this point
Copy the full SHA c453674View commit details
Commits on Mar 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6a6cd86 - Browse repository at this point
Copy the full SHA 6a6cd86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 832ca08 - Browse repository at this point
Copy the full SHA 832ca08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6033b7d - Browse repository at this point
Copy the full SHA 6033b7dView commit details
Commits on Mar 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f8070f1 - Browse repository at this point
Copy the full SHA f8070f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c529825 - Browse repository at this point
Copy the full SHA c529825View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c1dc6f - Browse repository at this point
Copy the full SHA 7c1dc6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21924f6 - Browse repository at this point
Copy the full SHA 21924f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba845d1 - Browse repository at this point
Copy the full SHA ba845d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb9a352 - Browse repository at this point
Copy the full SHA cb9a352View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e72c38 - Browse repository at this point
Copy the full SHA 4e72c38View commit details -
Configuration menu - View commit details
-
Copy full SHA for f38fde2 - Browse repository at this point
Copy the full SHA f38fde2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f17483 - Browse repository at this point
Copy the full SHA 0f17483View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2d774c - Browse repository at this point
Copy the full SHA e2d774cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 903004d - Browse repository at this point
Copy the full SHA 903004dView commit details
Commits on Mar 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b23fd2a - Browse repository at this point
Copy the full SHA b23fd2aView commit details
Commits on Mar 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7de9326 - Browse repository at this point
Copy the full SHA 7de9326View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e23ff0 - Browse repository at this point
Copy the full SHA 0e23ff0View commit details
Commits on Mar 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0f33bfa - Browse repository at this point
Copy the full SHA 0f33bfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d0f3ca - Browse repository at this point
Copy the full SHA 4d0f3caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a3828c - Browse repository at this point
Copy the full SHA 1a3828cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0f74ad - Browse repository at this point
Copy the full SHA f0f74adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6048ed5 - Browse repository at this point
Copy the full SHA 6048ed5View commit details
Commits on Mar 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 396cfaf - Browse repository at this point
Copy the full SHA 396cfafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bba1e7 - Browse repository at this point
Copy the full SHA 7bba1e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74304de - Browse repository at this point
Copy the full SHA 74304deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 067950d - Browse repository at this point
Copy the full SHA 067950dView commit details
Commits on Mar 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 65e6a1b - Browse repository at this point
Copy the full SHA 65e6a1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1c7a51 - Browse repository at this point
Copy the full SHA e1c7a51View commit details
Commits on Mar 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1850f4a - Browse repository at this point
Copy the full SHA 1850f4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b13da7a - Browse repository at this point
Copy the full SHA b13da7aView commit details
Commits on Mar 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b740028 - Browse repository at this point
Copy the full SHA b740028View commit details
Commits on Mar 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0164360 - Browse repository at this point
Copy the full SHA 0164360View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e6e6d4 - Browse repository at this point
Copy the full SHA 1e6e6d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39d1717 - Browse repository at this point
Copy the full SHA 39d1717View commit details
Commits on Mar 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for da494ce - Browse repository at this point
Copy the full SHA da494ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3d0a56 - Browse repository at this point
Copy the full SHA e3d0a56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c65d4d - Browse repository at this point
Copy the full SHA 5c65d4dView commit details
Commits on Mar 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dc8a86d - Browse repository at this point
Copy the full SHA dc8a86dView commit details
Commits on Mar 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b454d9f - Browse repository at this point
Copy the full SHA b454d9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7e813b - Browse repository at this point
Copy the full SHA a7e813bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43d8f32 - Browse repository at this point
Copy the full SHA 43d8f32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20b3cf4 - Browse repository at this point
Copy the full SHA 20b3cf4View commit details
Commits on Mar 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b2bde65 - Browse repository at this point
Copy the full SHA b2bde65View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab4fcab - Browse repository at this point
Copy the full SHA ab4fcabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34e489f - Browse repository at this point
Copy the full SHA 34e489fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3d415c - Browse repository at this point
Copy the full SHA b3d415cView commit details
Commits on Mar 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fa52b6c - Browse repository at this point
Copy the full SHA fa52b6cView commit details -
Create if newly inserted element exceed frequencey poped it out from …
…left if(mp[nums[r]]>k){ while(nums[l]!=nums[r]){ mp[nums[l]]--; l++; } mp[nums[l]]--; l++; } ans=max(ans,r-l+1); } return ans; } };
Configuration menu - View commit details
-
Copy full SHA for 9b05d4a - Browse repository at this point
Copy the full SHA 9b05d4aView commit details
Commits on Mar 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 75f87f1 - Browse repository at this point
Copy the full SHA 75f87f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 918e011 - Browse repository at this point
Copy the full SHA 918e011View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71dd7f1 - Browse repository at this point
Copy the full SHA 71dd7f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce4f12b - Browse repository at this point
Copy the full SHA ce4f12bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c10bb2e - Browse repository at this point
Copy the full SHA c10bb2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for da6b77c - Browse repository at this point
Copy the full SHA da6b77cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb67019 - Browse repository at this point
Copy the full SHA cb67019View commit details
Commits on Mar 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5db2c7f - Browse repository at this point
Copy the full SHA 5db2c7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f147008 - Browse repository at this point
Copy the full SHA f147008View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52f1769 - Browse repository at this point
Copy the full SHA 52f1769View commit details
Commits on Mar 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 822fa1b - Browse repository at this point
Copy the full SHA 822fa1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2473d5 - Browse repository at this point
Copy the full SHA c2473d5View commit details
Commits on Apr 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bf2a799 - Browse repository at this point
Copy the full SHA bf2a799View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cf020b - Browse repository at this point
Copy the full SHA 6cf020bView commit details -
Configuration menu - View commit details
-
Copy full SHA for aebc28f - Browse repository at this point
Copy the full SHA aebc28fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff71377 - Browse repository at this point
Copy the full SHA ff71377View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab8c9dd - Browse repository at this point
Copy the full SHA ab8c9ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 130781a - Browse repository at this point
Copy the full SHA 130781aView commit details
Commits on Apr 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 525ffa2 - Browse repository at this point
Copy the full SHA 525ffa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d17abf - Browse repository at this point
Copy the full SHA 4d17abfView commit details -
Configuration menu - View commit details
-
Copy full SHA for e97eca4 - Browse repository at this point
Copy the full SHA e97eca4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22234b8 - Browse repository at this point
Copy the full SHA 22234b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6a7a87 - Browse repository at this point
Copy the full SHA b6a7a87View commit details
Commits on Apr 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4a67566 - Browse repository at this point
Copy the full SHA 4a67566View commit details -
Configuration menu - View commit details
-
Copy full SHA for de77c13 - Browse repository at this point
Copy the full SHA de77c13View commit details
Commits on Apr 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 576efcd - Browse repository at this point
Copy the full SHA 576efcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 773f965 - Browse repository at this point
Copy the full SHA 773f965View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20f3d32 - Browse repository at this point
Copy the full SHA 20f3d32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 701974e - Browse repository at this point
Copy the full SHA 701974eView commit details -
Update and rename 2444. Count Subarrays With Fixed Bounds to 2444. (h…
…ard)Count Subarrays With Fixed Bounds
Configuration menu - View commit details
-
Copy full SHA for 7e46a7d - Browse repository at this point
Copy the full SHA 7e46a7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b34a4c6 - Browse repository at this point
Copy the full SHA b34a4c6View commit details
Commits on Apr 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c71755e - Browse repository at this point
Copy the full SHA c71755eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27e2069 - Browse repository at this point
Copy the full SHA 27e2069View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef0f964 - Browse repository at this point
Copy the full SHA ef0f964View commit details -
Update and rename ay 64/2958. Length of Longest Subarray With at Most…
… K Frequencyclass Solution { public: int maxSubarrayLength(vector<int>& nums, int k) { int ans=0; unordered_map<int,int>mp; int n=size(nums); for(int l=0,r=0;r<n;r++){ mp[nums[r]]++; /if newly inserted element exceed frequencey poped it out from left if(mp[nums[r]]>k){ while(nums[l]!=nums[r]){ mp[nums[l]]--; l++; } mp[nums[l]]--; l++; } ans=max(ans,r-l+1); } return ans; } }; to Day 64/2958. Length of Longest Subarray With at Most K Frequency
Configuration menu - View commit details
-
Copy full SHA for 87286f3 - Browse repository at this point
Copy the full SHA 87286f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82c2c9b - Browse repository at this point
Copy the full SHA 82c2c9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for afb7ff7 - Browse repository at this point
Copy the full SHA afb7ff7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d1f60c - Browse repository at this point
Copy the full SHA 7d1f60cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64fc49d - Browse repository at this point
Copy the full SHA 64fc49dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4db443 - Browse repository at this point
Copy the full SHA e4db443View commit details
Commits on Apr 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bb30dfd - Browse repository at this point
Copy the full SHA bb30dfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d47ed82 - Browse repository at this point
Copy the full SHA d47ed82View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc6cc83 - Browse repository at this point
Copy the full SHA cc6cc83View commit details -
Configuration menu - View commit details
-
Copy full SHA for c10aabb - Browse repository at this point
Copy the full SHA c10aabbView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0f5483 - Browse repository at this point
Copy the full SHA c0f5483View commit details -
Configuration menu - View commit details
-
Copy full SHA for 617662d - Browse repository at this point
Copy the full SHA 617662dView commit details
Commits on Apr 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 222e383 - Browse repository at this point
Copy the full SHA 222e383View commit details -
Configuration menu - View commit details
-
Copy full SHA for d28532a - Browse repository at this point
Copy the full SHA d28532aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c72cc11 - Browse repository at this point
Copy the full SHA c72cc11View commit details -
Configuration menu - View commit details
-
Copy full SHA for d72bf50 - Browse repository at this point
Copy the full SHA d72bf50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7753294 - Browse repository at this point
Copy the full SHA 7753294View commit details
Commits on Apr 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 88f4483 - Browse repository at this point
Copy the full SHA 88f4483View commit details
Commits on Apr 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fa6eab6 - Browse repository at this point
Copy the full SHA fa6eab6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83e16be - Browse repository at this point
Copy the full SHA 83e16beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51a5962 - Browse repository at this point
Copy the full SHA 51a5962View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9801a0 - Browse repository at this point
Copy the full SHA d9801a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b61d2d - Browse repository at this point
Copy the full SHA 0b61d2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 793c98e - Browse repository at this point
Copy the full SHA 793c98eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b4f7c0 - Browse repository at this point
Copy the full SHA 5b4f7c0View commit details
Commits on Apr 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 61744f4 - Browse repository at this point
Copy the full SHA 61744f4View commit details
Commits on Apr 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 74c2891 - Browse repository at this point
Copy the full SHA 74c2891View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bac5ae - Browse repository at this point
Copy the full SHA 0bac5aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1360c6 - Browse repository at this point
Copy the full SHA a1360c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0b5f5c - Browse repository at this point
Copy the full SHA b0b5f5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f09285 - Browse repository at this point
Copy the full SHA 1f09285View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ca5e49 - Browse repository at this point
Copy the full SHA 9ca5e49View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1c65c7 - Browse repository at this point
Copy the full SHA c1c65c7View commit details
Commits on Apr 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0db12e2 - Browse repository at this point
Copy the full SHA 0db12e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for df3cf03 - Browse repository at this point
Copy the full SHA df3cf03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7df0fe8 - Browse repository at this point
Copy the full SHA 7df0fe8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12c7c7a - Browse repository at this point
Copy the full SHA 12c7c7aView commit details
Commits on Apr 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4d5c54b - Browse repository at this point
Copy the full SHA 4d5c54bView commit details
Commits on Apr 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7b54cd8 - Browse repository at this point
Copy the full SHA 7b54cd8View commit details
Commits on Apr 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8beaae1 - Browse repository at this point
Copy the full SHA 8beaae1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07659f8 - Browse repository at this point
Copy the full SHA 07659f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a24cffd - Browse repository at this point
Copy the full SHA a24cffdView commit details
Commits on Apr 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5754b3c - Browse repository at this point
Copy the full SHA 5754b3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0725c18 - Browse repository at this point
Copy the full SHA 0725c18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09e1813 - Browse repository at this point
Copy the full SHA 09e1813View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9c6dd1 - Browse repository at this point
Copy the full SHA e9c6dd1View commit details
Commits on Apr 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8d0ba02 - Browse repository at this point
Copy the full SHA 8d0ba02View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffe3983 - Browse repository at this point
Copy the full SHA ffe3983View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0f5014 - Browse repository at this point
Copy the full SHA b0f5014View commit details
Commits on Apr 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e839b43 - Browse repository at this point
Copy the full SHA e839b43View commit details
Commits on Apr 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for aa3e944 - Browse repository at this point
Copy the full SHA aa3e944View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9475bc1 - Browse repository at this point
Copy the full SHA 9475bc1View commit details
Commits on Apr 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1bf73a4 - Browse repository at this point
Copy the full SHA 1bf73a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85772bf - Browse repository at this point
Copy the full SHA 85772bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for adca0fc - Browse repository at this point
Copy the full SHA adca0fcView commit details
Commits on Apr 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7df81eb - Browse repository at this point
Copy the full SHA 7df81ebView commit details
Commits on Apr 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 74d9f2d - Browse repository at this point
Copy the full SHA 74d9f2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6c2976 - Browse repository at this point
Copy the full SHA a6c2976View commit details
Commits on Apr 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f9e9cf4 - Browse repository at this point
Copy the full SHA f9e9cf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32d6c57 - Browse repository at this point
Copy the full SHA 32d6c57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cd0a2e - Browse repository at this point
Copy the full SHA 0cd0a2eView commit details
Commits on May 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 41a90a1 - Browse repository at this point
Copy the full SHA 41a90a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8a325f - Browse repository at this point
Copy the full SHA c8a325fView commit details
Commits on May 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fdd2a70 - Browse repository at this point
Copy the full SHA fdd2a70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a98b40 - Browse repository at this point
Copy the full SHA 5a98b40View commit details
Commits on May 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d6c654e - Browse repository at this point
Copy the full SHA d6c654eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc3a6a1 - Browse repository at this point
Copy the full SHA fc3a6a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92d13ce - Browse repository at this point
Copy the full SHA 92d13ceView commit details
Commits on May 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e1b7f67 - Browse repository at this point
Copy the full SHA e1b7f67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c4ee9a - Browse repository at this point
Copy the full SHA 2c4ee9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64ff474 - Browse repository at this point
Copy the full SHA 64ff474View commit details -
Configuration menu - View commit details
-
Copy full SHA for 555458f - Browse repository at this point
Copy the full SHA 555458fView commit details
Commits on May 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9ca783e - Browse repository at this point
Copy the full SHA 9ca783eView commit details
Commits on May 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 62491e6 - Browse repository at this point
Copy the full SHA 62491e6View commit details
Commits on May 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d22e7a8 - Browse repository at this point
Copy the full SHA d22e7a8View commit details
Commits on May 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0cfed3b - Browse repository at this point
Copy the full SHA 0cfed3bView commit details
Commits on May 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 91a4e69 - Browse repository at this point
Copy the full SHA 91a4e69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 375315c - Browse repository at this point
Copy the full SHA 375315cView commit details
Commits on May 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5ff8a0f - Browse repository at this point
Copy the full SHA 5ff8a0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7c1637 - Browse repository at this point
Copy the full SHA c7c1637View commit details
Commits on May 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 31934c9 - Browse repository at this point
Copy the full SHA 31934c9View commit details
Commits on May 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 50ed19d - Browse repository at this point
Copy the full SHA 50ed19dView commit details
Commits on May 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6ecc410 - Browse repository at this point
Copy the full SHA 6ecc410View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dcbe22 - Browse repository at this point
Copy the full SHA 7dcbe22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12ec900 - Browse repository at this point
Copy the full SHA 12ec900View commit details
Commits on May 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1907203 - Browse repository at this point
Copy the full SHA 1907203View commit details
Commits on May 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8ccdad5 - Browse repository at this point
Copy the full SHA 8ccdad5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a63070 - Browse repository at this point
Copy the full SHA 0a63070View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d334c6 - Browse repository at this point
Copy the full SHA 3d334c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9062a17 - Browse repository at this point
Copy the full SHA 9062a17View commit details -
Configuration menu - View commit details
-
Copy full SHA for e458272 - Browse repository at this point
Copy the full SHA e458272View commit details
Commits on May 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9a1b585 - Browse repository at this point
Copy the full SHA 9a1b585View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.