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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
/* | |
Reference: http://www.geeksforgeeks.org/searching-for-patterns-set-2-kmp-algorithm/ | |
*/ |
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
/* | |
This is a demonstration of JavaScript ENCAPSULATION. | |
Declaring private and public properties in JavaScript | |
is quite simple, but it is difficult to understand | |
how to access and update them. | |
If you are not familiarized with namespaces, just remove | |
appearances of "Prome.Test" and tweak the errors!!! | |
*/ |
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
/* | |
Assuming that you have proper MySQL JDBC driver: | |
How to use this class? | |
1. Create new object | |
DBHelper db = new DBHelper(); | |
2. Open connection | |
db.open(); | |
3. Call corresponding method | |
db.test(); |
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
/* | |
Name: Md. Nabid Imteaj | |
Prob: | |
Algo: | |
*/ | |
#pragma comment( linker, "/STACK:16777216" ) | |
#pragma warning( disable:4786 ) | |
#include <cmath> |