Skip to content

Instantly share code, notes, and snippets.

@pradeepvarma22
Created July 20, 2019 18:09
Show Gist options
  • Select an option

  • Save pradeepvarma22/b202ba5cd58b0805ffdc548622b68bef to your computer and use it in GitHub Desktop.

Select an option

Save pradeepvarma22/b202ba5cd58b0805ffdc548622b68bef to your computer and use it in GitHub Desktop.
Smart Inteview test
/*https://www.hackerrank.com/contests/smart-interviews-bvritn-2021a/challenges/si-smart-string*/
#include<bits/stdc++.h>
using namespace std;
int main()
{
int i,j;
string a;
cin>>a;
sort(a.begin(),a.end());
a.erase( unique( a.begin(), a.end() ), a.end() );
int len = a.length();
if(len==26)
{
cout<<"Yes";
}
else
{
cout<<"No";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment