Thanks for sharing! We really appreciate your upload, and it's awesome that you take the time to include additional common concepts. Not everyone does that, and it's super helpful for future reference. Keep up the great work! 🚀
Hello , Here is my code for the Question No.2 of this contest. int countSubmatrices(vector& grid, int k) { int n = grid.size(); int m = grid[0].size(); if(grid[0][0]>k) return 0; vector temp(n,vector(m)); int ans = 0; for(int i=0;i
Actually the problem statement has described the problem with 1 based indexing. But they gave input with 0 based indexing. Perhaps Leetcode should start mentioning it and I will also start mentioning this thing in future PCDs