Category: Problem Solution

22
Jan
2022

Selenium Testing with Python

  https://demo.seleniumeasy.com/basic-first-form-demo.html Python selenium commands cheat sheet from selenium import webdriver #chrome_browser=webdriver.Chrome(‘./chromedriver’) driver = webdriver.Chrome() driver.get(“https://demo.seleniumeasy.com/basic-first-form-demo.html”) driver.maximize_window()…

08
Jul
2017

HackerEarth: Batman and Tick-tack-toe

This is a basic implementaation problem but need to think critically and I used editorial + previous solved…

02
Jul
2017

Hackerearth: COUNT NUMBERS

code: #include<bits/stdc++.h> using namespace std; int main() { int t,n,i,a; string s; cin>>t; while(t–) { int c=0;…

02
Jul
2017

Hackerearth: Fredo and Game

code: #include<bits/stdc++.h> using namespace std; int main() { int t,i,a,n; cin>>t; while(t–) { cin>>a>>n; int arr[n]; for(i=0;…

02
Jul
2017

Hackerearth: Little Jhool and psychic powers

code: #include<bits/stdc++.h> using namespace std; int main() { int zz,oo; string S; string z=”000000″; string o=”111111″; cin>>S;…

01
Jul
2017

Hackerearth: Complete the Syllabus

Copied the code from someone’s solutions: #include <stdio.h> int main() { int t; long int n,i,j,k,a[7],sum; char…