dsa-daily
Collection of LeetCode questions to ace the coding interview! - Created using [LeetHub](https://github.com/QasimWani/LeetHub)
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic links in README
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (0.6%) to scientific vocabulary
Last synced: 11 months ago
·
JSON representation
·
Repository
Collection of LeetCode questions to ace the coding interview! - Created using [LeetHub](https://github.com/QasimWani/LeetHub)
Basic Info
- Host: GitHub
- Owner: satyamdash
- Language: C++
- Default Branch: main
- Size: 293 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Created over 1 year ago
· Last pushed about 1 year ago
Metadata Files
Citation
Owner
- Login: satyamdash
- Kind: user
- Repositories: 1
- Profile: https://github.com/satyamdash
Citation (Citations-Hthindex.cpp)
class Solution {
public:
// Function to find hIndex
int hIndex(vector<int>& citations)
{
int maxi=0;
sort(citations.begin(),citations.end(),std::greater<int>());
for(int i=0;i<citations.size();i++)
{
if(citations[i]>=i+1)
{
maxi=max(i+1,maxi);
}
}
return maxi;
}
};
GitHub Events
Total
- Public event: 1
- Push event: 221
Last Year
- Public event: 1
- Push event: 221