Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

souvik Souvikns

🎯
Focusing
View GitHub Profile
View App.js
import "./styles.css";
import { usePokemon } from "./hook";
export default function App() {
let pokemons = usePokemon();
return (
<div>
<h1>Hello CodeSandbox</h1>
<h2>Start editing to see some magic happen!</h2>
<table>
<tr>
@Souvikns
Souvikns / index.js
Created Mar 29, 2021
AsyncApiDiff_v2
View index.js
/**
*
* Having two asynapi doc we will be trying to find changes with respect to the first
* basically we will be checking how much of the first document has changed
*
* We can try to change categorise the changes as
* - additions
* - deletions
* - changes
*
View index.js
const parser = require('@asyncapi/parser');
const fs = require('fs');
const path = require('path');
const main = async () => {
const diff = {
additions: [],
deletions: [],
changes: {},
generate: doc => {
View Calculaormach2_.gitignore
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
@Souvikns
Souvikns / CountingSort.java
Created Dec 16, 2018 — forked from anubhavshrimal/CountingSort.java
performs sorting of an integer array using counting sort algorithm in O(n) time complexity
View CountingSort.java
import java.util.Scanner;
public class CountingSort
{
//method to get the maximum element from the array
private int getMax(int a[],int size)
{
int max=a[0];
for (int i = 1; i < size; i++)
{