Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
riteshishere
/
JS_ds_for_interview
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
3 Commits
3 Commits
Folders and files
Name
Name
Last commit message
Last commit date
Check whether any two numbers in an array sums to a given number?
Check whether any two numbers in an array sums to a given number?
Find all prime factors of a number?
Find all prime factors of a number?
Find missing number from unsorted array of integers.
Find missing number from unsorted array of integers.
Find the first non repeating char in a string?
Find the first non repeating char in a string?
Find the largest sum of any two elements?
Find the largest sum of any two elements?
Fnd the greatest common divisor of two numbers?
Fnd the greatest common divisor of two numbers?
Generate random between 5 to 7 by using defined function.
Generate random between 5 to 7 by using defined function.
Get nth Fibonacci number?
Get nth Fibonacci number?
Match substring of a sting?
Match substring of a sting?
Merge two sorted array?
Merge two sorted array?
Remove duplicate characters from a sting?
Remove duplicate characters from a sting?
Remove duplicate members from an array?
Remove duplicate members from an array?
Reverse a string in JavaScript?
Reverse a string in JavaScript?
Reverse words in a sentence?
Reverse words in a sentence?
Reverse words in place?
Reverse words in place?
Swap two numbers without using a temp variable?
Swap two numbers without using a temp variable?
Total number of zeros from 1 upto n?
Total number of zeros from 1 upto n?
Verify a word as palindrome?
Verify a word as palindrome?
Write a JavaScript program to calculate the sum
Write a JavaScript program to calculate the sum
Write a JavaScript program to check if a given integer has an increasing digits sequence
Write a JavaScript program to check if a given integer has an increasing digits sequence
Write a JavaScript program to check if a point lies strictly inside a given circle.
Write a JavaScript program to check if a point lies strictly inside a given circle.
Write a JavaScript program to check whether it is possible to rearrange characters of a given string in such way that it will become equal to another given string.
Write a JavaScript program to check whether it is possible to rearrange characters of a given string in such way that it will become equal to another given string.
Write a JavaScript program to count the number of vowels in a given string.
Write a JavaScript program to count the number of vowels in a given string.
Write a JavaScript program to create a new string using the first and last n characters from a given sting.
Write a JavaScript program to create a new string using the first and last n characters from a given sting.
Write a JavaScript program to create the value of NOR of two given booleans.
Write a JavaScript program to create the value of NOR of two given booleans.
Write a JavaScript program to extract the first half of a string of even length.
Write a JavaScript program to extract the first half of a string of even length.
Write a JavaScript program to find the kth greatest element of a given array of integers
Write a JavaScript program to find the kth greatest element of a given array of integers
Write a JavaScript program to find the longest string from a given array
Write a JavaScript program to find the longest string from a given array
Write a JavaScript program to find the number of even digits in a given integer.
Write a JavaScript program to find the number of even digits in a given integer.
Write a JavaScript program to reverse the order of the bits in a given integer.
Write a JavaScript program to reverse the order of the bits in a given integer.
Write a JavaScript program to sort an array of all prime numbers between 1 and a given integer.
Write a JavaScript program to sort an array of all prime numbers between 1 and a given integer.
Write a JavaScript program to test if a string end with "Script". The string length must be greater or equal to 6
Write a JavaScript program to test if a string end with "Script". The string length must be greater or equal to 6
check whether string is anagram?
check whether string is anagram?
create all permutation of a string?
create all permutation of a string?
node_modules
node_modules
verify a prime number ?
verify a prime number ?
10inplace.js
10inplace.js
11first_non-repeating_char.js
11first_non-repeating_char.js
12find_unique_char.js
12find_unique_char.js
13is_palindrome.js
13is_palindrome.js
14random_between_5-7.js
14random_between_5-7.js
15missing_number.js
15missing_number.js
16sumFinder.js
16sumFinder.js
17largestSum.js
17largestSum.js
18countZero.js
18countZero.js
19subStringFinder.js
19subStringFinder.js
1Verify_a_prime_number?.js
1Verify_a_prime_number?.js
20permutation.js
20permutation.js
21isAnagram.js
21isAnagram.js
22findVowels.js
22findVowels.js
23firstHalf.js
23firstHalf.js
24end_script.js
24end_script.js
25twoString.js
25twoString.js
26longestString.js
26longestString.js
27Kth_greatest_in_array.js
27Kth_greatest_in_array.js
28rearrangement_characters.js
28rearrangement_characters.js
29sort_prime.js
29sort_prime.js
2find_all_prime_factor_of_a_number.js
2find_all_prime_factor_of_a_number.js
30int_sum.js
30int_sum.js
31increasing_sequence.js
31increasing_sequence.js
32point_in_circle.js
32point_in_circle.js
33logical_nor.js
33logical_nor.js
34reverseBits.js
34reverseBits.js
35sum_even_digit.js
35sum_even_digit.js
3get_fibonacci_series.js
3get_fibonacci_series.js
4find_gcd.js
4find_gcd.js
5removeDuplicate.js
5removeDuplicate.js
6merge_two_sorted_array.js
6merge_two_sorted_array.js
7swap_num_without_temp.js
7swap_num_without_temp.js
8reverse_string.js
8reverse_string.js
9reverse_words.js
9reverse_words.js
README.md
README.md
package-lock.json
package-lock.json
package.json
package.json
test1.js
test1.js
test10.js
test10.js
test11.js
test11.js
test12.js
test12.js
test13.js
test13.js
test14.js
test14.js
test15.js
test15.js
test16.js
test16.js
test17.js
test17.js
test18.js
test18.js
test19.js
test19.js
test2.js
test2.js
test20.js
test20.js
test21.js
test21.js
test22.js
test22.js
test23.js
test23.js
test24.js
test24.js
test25.js
test25.js
test26.js
test26.js
test27.js
test27.js
test28.js
test28.js
test29.js
test29.js
test3.js
test3.js
test30.js
test30.js
test31.js
test31.js
test32.js
test32.js
View all files
Repository files navigation
README
More
items
JS_ds_for_interview
Javascript questions based on data structures for interview preparation
About
Javascript questions based on data structures for interview preparation
Topics
chai-test
datastructures-in-javascript
interview-questions
javascript
javascript-tests
mocha-tests
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.