Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
explanation added
  • Loading branch information
imshreya2000 committed Oct 27, 2023
commit 8e2ae82c25b2d991f2e1bb17987768a847043332
2 changes: 2 additions & 0 deletions Backtracking/tests/GenerateSubsets.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// we define a generateSubsets function that uses backtracking to generate all possible subsets of a given set (array of numbers). The backtrack function is a recursive function that explores all possible subsets by considering or excluding each element.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's in the other file. Remove this comment from the test file.


import { generateSubsets } from '../GenerateSubsets'

describe('generateSubsets', () => {
Expand Down