Skip to content

Instantly share code, notes, and snippets.

View tina1998612's full-sized avatar
:octocat:
DigitalNomad

李婷婷 Lee Ting Ting tina1998612

:octocat:
DigitalNomad
View GitHub Profile
#include <iostream>
using namespace std;
#include "TreeNode.h"
void insertNodeHelper( TreeNode< int > **ptr, int arr[], int len)
{
cout<<len<<endl;
if (len == 1) {*ptr = new TreeNode< int >( arr[0] ); cout<<"len 0"<<endl;}
#include "bigDecimal.h"
#include <iostream>
#include <sstream>
#include <stack>
#include <math.h>
#include <cstring>
using namespace std;
// helper functions
bool isPositive(Node* b) {
#include "bigDecimal.h"
#include <iostream>
#include <sstream>
#include <stack>
#include <math.h>
using namespace std;
// helper functions
bool isPositive(Node* b){
if(b->data == '-') return false;
#include "bigDecimal.h"
#include <iostream>
#include <sstream>
#include <stack>
#include <math.h>
using namespace std;
// helper functions
bool isPositive(Node* b){
if(b->data == '-') return false;
/*
* bigDecimal.h
*/
#ifndef BIGDECIMAL_H_
#define BIGDECIMAL_H_
#include <iostream>
#include <string>
#include <sstream>
#include "bigDecimal.h"
#include <iostream>
#include <sstream>
#include <stack>
using namespace std;
// helper functions
bool isPositive(Node* b){
if(b->data == '-') return false;
return true;
#include <iostream>
#include <sstream>
using namespace std;
struct Node
{
char data;
Node* next;
};
0x45A49943f43b912b70C2fDAC538719057e4Af7dA
0xF065BB606f3CFe37e0DaA4C3d9E715F9e92edA3A
0x459631287154342Fa7C50433e133320fA05042E4