Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flex-algo

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flex-algo - npm Package Compare versions

Comparing version 0.1.11 to 0.1.12

4

lib/index.d.ts
import { PriorityQueue } from './priorityQueue';
import { BinaryTree, BinaryNode } from './binaryTree';
import { BST } from './bst';
import { quickSort } from './quickSort';
export { PriorityQueue, BinaryTree, BinaryNode, BST, quickSort };
import { quickSort, pivot } from './quickSort';
export { PriorityQueue, BinaryTree, BinaryNode, BST, quickSort, pivot };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.quickSort = exports.BST = exports.BinaryNode = exports.BinaryTree = exports.PriorityQueue = void 0;
exports.pivot = exports.quickSort = exports.BST = exports.BinaryNode = exports.BinaryTree = exports.PriorityQueue = void 0;
var priorityQueue_1 = require("./priorityQueue");

@@ -13,1 +13,2 @@ Object.defineProperty(exports, "PriorityQueue", { enumerable: true, get: function () { return priorityQueue_1.PriorityQueue; } });

Object.defineProperty(exports, "quickSort", { enumerable: true, get: function () { return quickSort_1.quickSort; } });
Object.defineProperty(exports, "pivot", { enumerable: true, get: function () { return quickSort_1.pivot; } });

@@ -0,1 +1,2 @@

export declare function pivot(data: number[], left: number, right: number): number;
export declare function quickSort(data: number[]): void;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.quickSort = void 0;
exports.quickSort = exports.pivot = void 0;
function swap(data, i, j) {

@@ -20,2 +20,3 @@ var temp = data[i];

}
exports.pivot = pivot;
function _quickSort(data, left, right) {

@@ -22,0 +23,0 @@ if (left >= right)

{
"name": "flex-algo",
"version": "0.1.11",
"version": "0.1.12",
"description": "\"SDK for commonly used data structure and algorithms\"",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc