Skip to content

Instantly share code, notes, and snippets.

View chaitanya0906's full-sized avatar
🎯
Focusing

Chaitanya Bhutada chaitanya0906

🎯
Focusing
View GitHub Profile
//Test case you can try ["foo", {"bar":["baz",null,1.0,2]}]
//Try another examples also
#include<bits/stdc++.h>
using namespace std;
int prettyjson(string s,stack<char> st,int length,int i,int tabs)
{
if(i<length)
{
if((s[i]=='[') || (s[i]=='{'))
{