Commit Graph

  • 2382225e03 Add comments to Cartesian Product function. Oleksii Trekhleb 2018-12-05 06:06:29 +02:00
  • 243be8f2d1 Add comments to binarySearch function. Oleksii Trekhleb 2018-12-04 08:04:24 +02:00
  • 039555f00b Do npm audit. Oleksii Trekhleb 2018-11-30 08:10:11 +02:00
  • 5ecb695283 Update outdated dependencies. Oleksii Trekhleb 2018-11-30 08:02:22 +02:00
  • 1ecb5b4236 Add comparator annotations. Oleksii Trekhleb 2018-11-30 07:43:09 +02:00
  • f7ebddc82d Remove duplicated methods from Graph class. Oleksii Trekhleb 2018-11-26 06:30:56 +02:00
  • 9bc2800848 Add Recursive Staircase Problem. Oleksii Trekhleb 2018-11-14 17:45:14 +02:00
  • 5e0e571a5c Merge remote-tracking branch 'origin/master' Oleksii Trekhleb 2018-11-10 09:23:17 +02:00
  • af9de0f431 Upgrade packages. Oleksii Trekhleb 2018-11-10 09:22:32 +02:00
  • fac2d1ff50 use Destructuring in change data (#233) Silence Tang 2018-10-23 10:45:58 +08:00
  • fad170cfc8 fix typo error (#228) catchme 2018-10-18 11:19:46 +08:00
  • 6bd6072d45 Properly detect min and max element in array (#224) Yavorski 2018-10-17 06:19:14 +03:00
  • 5d12638ab5 BubbleSort: use Destructuring assignment to swap values (#226) Sid 2018-10-17 11:13:27 +08:00
  • 044441e259 Add prepend and fix bug (#227) kiinlam 2018-10-17 11:08:34 +08:00
  • 26b84077b4 Update npm packages to newer versions in order to get rid of security alerts. Oleksii Trekhleb 2018-10-12 11:59:19 +03:00
  • 88807528ab Adding missing algorithms in the spanish readme (#222) Juan Pablo Valencia 2018-10-08 22:14:17 -05:00
  • 2be1c44ed3 Mutiple fixes in the spanish readme (#221) Juan Pablo Valencia 2018-10-07 22:33:51 -05:00
  • 80211e07ac Fixed the translation in spanish (#218) Agustin Navcevich 2018-10-01 11:15:07 -03:00
  • afa4948767 Simplify AVL tree node deletion. Oleksii Trekhleb 2018-09-24 09:45:31 +03:00
  • 04e533e4b5 Add remove method (#33) Hafidz Jazuli Luthfi 2018-09-24 13:12:38 +07:00
  • ada4537023 Add links to the list of locales to CONTRIBUTING.md. Oleksii Trekhleb 2018-09-24 07:33:53 +03:00
  • 9f3561d291 Fix Stack pop comlexity to be O(1) (#214) Yavorski 2018-09-24 07:31:18 +03:00
  • 45fb2a24be Vectorize images for Levenshtein Distance. Oleksii Trekhleb 2018-09-20 16:25:46 +03:00
  • 40e48ddfb2 Fix minor typos in README (#211) Ocn 2018-09-20 17:23:17 +04:00
  • 2451db975d Add iterative version of Euclidean algorithm. Oleksii Trekhleb 2018-09-18 08:17:47 +03:00
  • c00c689255 Update euclideanAlgorithm.js (#207) Vamshi Bachaneboina 2018-09-18 10:34:56 +05:30
  • c4458e9d42 change '克努斯-莫里斯-普拉特算法' to 'KMP算法' (#208) mcdong 2018-09-18 12:43:48 +08:00
  • ec6c427303 Add fibonacci Binet's formula. Oleksii Trekhleb 2018-09-15 09:19:18 +03:00
  • 51d67e7eac Add fibonacci Binet's formula. Oleksii Trekhleb 2018-09-15 09:17:19 +03:00
  • a23400380d Add fibonnaci sequence closed form function (#130) Karlo Vrbić 2018-09-14 17:01:41 +02:00
  • dea368cb16 Add more fibonacci test cases. Oleksii Trekhleb 2018-09-14 17:56:38 +03:00
  • 46bc844fc6 Add several more comments to in place quick sort. Oleksii Trekhleb 2018-09-14 17:21:51 +03:00
  • 66f19d65c5 Minor refactor of QuickSortInPlace for simplification (#187) Kevin Brewer 2018-09-14 09:03:37 -05:00
  • 92b9e6ad1d Add more tests to isPositive() bitwise function. Oleksii Trekhleb 2018-09-14 08:06:48 +03:00
  • ab7755aad7 feat(bitwise): Function to check if a number is positive (#204) ADITYA 2018-09-14 00:42:42 -04:00
  • 861e0e9243 Update README. Oleksii Trekhleb 2018-09-14 07:35:19 +03:00
  • de6a24e0d1 Minor code style fixes for bitwise multiplication. Oleksii Trekhleb 2018-09-08 23:09:04 +03:00
  • bc8943dee2 Perform multiplication of any two integers positive or negative through bit manipulations (#201) ADITYA 2018-09-08 15:51:03 -04:00
  • 1a62078f26 Improve JSDocs in Stack.js (#203) Vinicius 2018-09-08 16:35:24 -03:00
  • 6f27113993 Add reverse() method for doubly linked list. Oleksii Trekhleb 2018-09-08 22:25:23 +03:00
  • 80ecbe0b3e Move linked list traversals into separate section. Oleksii Trekhleb 2018-09-08 22:20:52 +03:00
  • 2feec48ea6 Add more test cases for linked list reversion. Oleksii Trekhleb 2018-09-08 12:16:15 +03:00
  • 4989a6a3b0 Add LinkedList traversal and reverse implementations (#194) Hanh D. TRAN 2018-09-08 17:55:51 +09:00
  • d038c402dd Add info about the purpose of the repo to main README. Oleksii Trekhleb 2018-09-05 11:39:39 +03:00
  • f1a32d9f85 Add info about the purpose of the repo to main README. Oleksii Trekhleb 2018-09-05 11:38:22 +03:00
  • 7dc60c96bf Add Fast Powering algorithm. Oleksii Trekhleb 2018-09-04 18:27:38 +03:00
  • 8116aa7cfb Refactor fast powering algorithm. Oleksii Trekhleb 2018-09-04 17:35:48 +03:00
  • 8676c1b9fe Adding math algorithm to compute power and its tests (#172) HatimLokhandwala 2018-09-04 19:51:09 +05:30
  • 518dc57388 Fix bug with .travis.yml not installing major dependencies. Oleksii Trekhleb 2018-09-04 12:37:08 +03:00
  • ae236dff66 Move codecov dependency from package.json to .travis.yml file. Oleksii Trekhleb 2018-09-04 12:29:57 +03:00
  • ea78fb6eaf Fix ShellSort README errors (issue #195). Oleksii Trekhleb 2018-09-04 12:05:25 +03:00
  • 788ff22c90 Minor refactoring of dpMaximumSubarray. Oleksii Trekhleb 2018-09-04 11:39:43 +03:00
  • 814fa773ca Add more test cases for finding max sub-array algorithm. Oleksii Trekhleb 2018-09-04 11:35:13 +03:00
  • 2a2b5daa7d Simplify dpMaximumSubarray (#189) Kevin Brewer 2018-09-04 01:47:05 -05:00
  • 6b0bacd993 clarify comments (#193) Kevin Brewer 2018-08-31 04:14:29 -05:00
  • 002d32a8cd Update LinkedList prepend pseudocode and append test (#188) Hanh D. TRAN 2018-08-30 14:43:21 +09:00
  • 872521fb03 Partial translation of Simplified Chinese (#185) Jack Lee 2018-08-30 13:30:24 +08:00
  • 68af4fc165 Clean up Heaps. Oleksii Trekhleb 2018-08-30 08:25:38 +03:00
  • bc50fff2ee clean up Heap implementation (#184) Kevin Brewer 2018-08-30 00:11:14 -05:00
  • a8d7435b8d Fix LinkedList pseudo-code (issue #191). Oleksii Trekhleb 2018-08-30 08:04:47 +03:00
  • af64d12a23 Add more unicode related tests to longestCommonSubstring algorithm. Oleksii Trekhleb 2018-08-28 06:58:43 +03:00
  • 82ac89b16a fix longestCommonSubstring() to handle unicode characters (#129) (#176) DADDOU Mohamed El Amine 2018-08-28 05:56:44 +02:00
  • e09d526785 Fix minor typo on segment-tree readme (#183) Klaus Sinani 2018-08-28 06:37:19 +03:00
  • b9d0d9ab38 Add isPowerOfTwo function. Oleksii Trekhleb 2018-08-27 17:13:43 +03:00
  • 70b0e0a652 Add ifPowerOf2c (#155) Tapasweni Pathak 2018-08-27 19:29:43 +05:30
  • 20497bb044 Fixed Contains operation pseudo code (#180) Mahmoud Aslan 2018-08-27 16:37:25 +03:00
  • b1f31cd067 Fix issue #179. Oleksii Trekhleb 2018-08-27 16:30:18 +03:00
  • bdf8a174eb Improve Trie test coverage back to 100%. Oleksii Trekhleb 2018-08-27 15:54:55 +03:00
  • 4104155182 Simplify deletion method of TrieNode. Oleksii Trekhleb 2018-08-27 15:45:48 +03:00
  • a7ffba157c Extend Trie and TrieNode tests. Oleksii Trekhleb 2018-08-27 15:38:50 +03:00
  • d25eff49e6 Add Trie.deleteWord and TrieNode.removeChild (#181) Kevin Brewer 2018-08-27 07:33:16 -05:00
  • 6e2ff9b604 Add comments to Trie "add" method. Oleksii Trekhleb 2018-08-25 13:34:05 +03:00
  • eac3e81a21 Fix TrieNode.addChild so substrings get marked as complete words (#177) Kevin Brewer 2018-08-25 05:27:44 -05:00
  • 872a38fac6 Add short Big O explanation to the main README. Oleksii Trekhleb 2018-08-23 11:47:19 +03:00
  • f4e3907f2c Add short Big O explanation to the main README. Oleksii Trekhleb 2018-08-23 11:46:10 +03:00
  • 5adca66282 Update README. Oleksii Trekhleb 2018-08-23 11:40:59 +03:00
  • 20b0c48e84 Add comments to Stack code. Oleksii Trekhleb 2018-08-22 07:49:22 +03:00
  • 571d9312cd Fix trie's doesWordExists method. Oleksii Trekhleb 2018-08-21 23:03:04 +03:00
  • 392cd9806d Fix method Trie::doesWordExist() (#175) Oleg 2018-08-21 23:00:11 +03:00
  • 5eb1195c61 Add backtracking solution for finding the power-set of a set. Oleksii Trekhleb 2018-08-21 16:55:26 +03:00
  • bffacf0707 Add nQueens bitwise solution. Oleksii Trekhleb 2018-08-20 18:12:56 +03:00
  • 20159312be Move nQueens bitwise version to the same folder with nQueens algorithm. Oleksii Trekhleb 2018-08-20 15:59:37 +03:00
  • 18ba3a4db3 Add N queens problem bitwise solution (#15) Matej Jellus 2018-08-20 14:57:01 +02:00
  • 5a57c5f018 Add comments to Queue class. Oleksii Trekhleb 2018-08-17 18:00:20 +03:00
  • 5eea37837f Add annotations to Queue. Oleksii Trekhleb 2018-08-17 17:47:29 +03:00
  • 260f24b2cb Update Bits Operations README. Oleksii Trekhleb 2018-08-17 10:41:18 +03:00
  • ecfc287927 Update Bits Operations README. Oleksii Trekhleb 2018-08-17 10:36:47 +03:00
  • 983492115d Fix tests. Oleksii Trekhleb 2018-08-17 10:31:18 +03:00
  • 980601295d Update README. Oleksii Trekhleb 2018-08-17 10:24:20 +03:00
  • a02d5f625d Move common Max/Min Heap code to Heap.js. Oleksii Trekhleb 2018-08-17 10:23:07 +03:00
  • 031c5da556 Refactor Heaps. Oleksii Trekhleb 2018-08-16 21:03:32 +03:00
  • 10e633f075 Add MaxHeap (#167) Oleksii Kersov 2018-08-16 18:18:19 +03:00
  • a191adeae3 Fix jest config so that it would run on Ubuntu correctly. Oleksii Trekhleb 2018-08-16 13:36:58 +03:00
  • 3ea570869e Test suite failed to run on Ubuntu (#170) Oleksii Kersov 2018-08-16 13:35:04 +03:00
  • 36173817f3 Update README. Oleksii Trekhleb 2018-08-16 13:17:09 +03:00
  • 6e63a0548e Add Inverse Discrete Fourier Transform. Oleksii Trekhleb 2018-08-16 13:14:40 +03:00
  • 351a745f55 Refactor DFT and add common tests for Fourier. Oleksii Trekhleb 2018-08-16 12:37:06 +03:00
  • 13ed5061a3 Update FFT tests. Oleksii Trekhleb 2018-08-15 17:47:32 +03:00
  • c2f7e49f07 Fix README for Fourier transform. Oleksii Trekhleb 2018-08-15 13:40:16 +03:00
  • d736b2f355 Style fixes for FFT code. Oleksii Trekhleb 2018-08-15 13:32:09 +03:00