This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Automatic Bangla Phonetic Typing Support | |
// @namespace http://bengali.sourceforge.net | |
// @description Automatically makes all Text input & text-area fields of Chrome browser Bangla phonetic compatible. use Ctrl + Y to switch between Bangla & English | |
// @include * | |
// @exclude http://www.somewhereinblog.net/* | |
// ==/UserScript== | |
// abp_version = "1.1"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Original script by: Shafiul Azam | |
* Version 4.0 | |
* Modified by: Luigi Balzano | |
* Description: | |
* Inserts Countries and/or States as Dropdown List | |
* How to Use: | |
In Head section: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Solution { | |
public: | |
string reverseParentheses(string s) { | |
deque<stringstream> stk; | |
stk.push_back(stringstream()); | |
for(auto const & c : s){ | |
if(c == '('){ | |
stk.push_back(stringstream()); | |
}else if(c == ')'){ |