Skip to content

Instantly share code, notes, and snippets.

View ShellBin's full-sized avatar
🍰
Being cute

ShellBin ShellBin

🍰
Being cute
View GitHub Profile

Keybase proof

I hereby claim:

  • I am shellbin on github.
  • I am shellbin (https://keybase.io/shellbin) on keybase.
  • I have a public key whose fingerprint is 05A2 88F6 954B 2BA8 9920 C035 6D42 3A10 9FD1 BE0E

To claim this, I am signing this object:

class Solution {
public String addStrings(String num1, String num2) {
String longString = null;
String shortSting = null;
if (num1.length() >= num2.length()) {
longString = num1;
shortSting = num2;
} else {
longString = num2;
public static void reverseCol(int value [][]) {
for (int i = 0; i < value.length; i++) {
for (int j = i; j < value[i].length; j++) {
int k = value[i][j] ;
value[i][j] = value[j][i] ;
value[j][i] = k ;
}
}
}
public static boolean Row(int [][] value){
//row
int countRow =0;
for(int i=0;i<value.length;i++)
{
countRow = 1;
for(int j=1;j<value[i].length;j++)
{
if(value[i][j] == value[i][j-1])
countRow++;
#include <windows.h>
#include <tchar.h>
#include <stdio.h>
int APIENTRY _tWinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPTSTR    lpCmdLine,
                     int       nCmdShow)
{
    FILE *fprv,*fpra,*fpw;