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
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 }}
apoorva-dave
practice-questions
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
practice-questions
Public
Notifications
You must be signed in to change notification settings
Fork
1
(
1
)
Star
8
(
8
)
You must be signed in to star a repository
About
Practice questions for interviews
Topics
coding
datastructures
leetcode-solutions
programming
Activity
Stars
8
stars
Watchers
1
watching
Forks
1
fork
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
229 Commits
229 Commits
Folders and files
Name
Name
Last commit message
Last commit date
2_sum.cpp
2_sum.cpp
2sum.cpp
2sum.cpp
4sum.cpp
4sum.cpp
FindFirstAndLastOccurence.java
FindFirstAndLastOccurence.java
LCA_binary_tree_single_traversal.cpp
LCA_binary_tree_single_traversal.cpp
MaxSubarray.java
MaxSubarray.java
MinPathSum.java
MinPathSum.java
NQueens.java
NQueens.java
STL.xlsx
STL.xlsx
backspace_string_compare.cpp
backspace_string_compare.cpp
baseball_game.cpp
baseball_game.cpp
best_time_to_buy_and_sell_stock.cpp
best_time_to_buy_and_sell_stock.cpp
bfs_dfs.cpp
bfs_dfs.cpp
binary_search.cpp
binary_search.cpp
binary_to_decimal_in_linked_list.cpp
binary_to_decimal_in_linked_list.cpp
binary_to_decimal_in_linkedlist_one_pass.cpp
binary_to_decimal_in_linkedlist_one_pass.cpp
binary_tree_max_path_sum.cpp
binary_tree_max_path_sum.cpp
binary_tree_paths.cpp
binary_tree_paths.cpp
binary_watch.cpp
binary_watch.cpp
browser_history.cpp
browser_history.cpp
candies.cpp
candies.cpp
candy_crush.cpp
candy_crush.cpp
capture_regions_on_board.cpp
capture_regions_on_board.cpp
check_if_straight_line.cpp
check_if_straight_line.cpp
check_map.cpp
check_map.cpp
check_priority_queue.cpp
check_priority_queue.cpp
climbing_stairs.cpp
climbing_stairs.cpp
clone_graph.cpp
clone_graph.cpp
coin_change.cpp
coin_change.cpp
colourful_num.cpp
colourful_num.cpp
combination_sum.cpp
combination_sum.cpp
communicate_servers.cpp
communicate_servers.cpp
contains_duplicates.cpp
contains_duplicates.cpp
contiguous_array.cpp
contiguous_array.cpp
convert_sorted_list_bst.cpp
convert_sorted_list_bst.cpp
count_square_submatrices_with_ones.cpp
count_square_submatrices_with_ones.cpp
counting_bits.cpp
counting_bits.cpp
counting_elements.cpp
counting_elements.cpp
course_schedule.cpp
course_schedule.cpp
create_bst_from_preorder.cpp
create_bst_from_preorder.cpp
create_bst_from_preorder_optimized.cpp
create_bst_from_preorder_optimized.cpp
decode_string.cpp
decode_string.cpp
delete_node_in_linked_list.cpp
delete_node_in_linked_list.cpp
delete_range_elements.cpp
delete_range_elements.cpp
depth_of_binary_tree.cpp
depth_of_binary_tree.cpp
design_authentication_manager.cpp
design_authentication_manager.cpp
design_ordered_stream.cpp
design_ordered_stream.cpp
design_twitter.cpp
design_twitter.cpp
diameter_of_binary_tree.cpp
diameter_of_binary_tree.cpp
divisor_game.cpp
divisor_game.cpp
edit_distance_dp.cpp
edit_distance_dp.cpp
edit_distance_recursion.cpp
edit_distance_recursion.cpp
electronic_exchange.cpp
electronic_exchange.cpp
evaluate_expression.cpp
evaluate_expression.cpp
find_city.cpp
find_city.cpp
find_first_unique_char_in_string_singlepass.cpp
find_first_unique_char_in_string_singlepass.cpp
find_numbers_disappeared_in_array.cpp
find_numbers_disappeared_in_array.cpp
find_the_town_judge.cpp
find_the_town_judge.cpp
firstUniqueChar.cpp
firstUniqueChar.cpp
first_and_last.cpp
first_and_last.cpp
first_and_last_index.cpp
first_and_last_index.cpp
first_bad_version.cpp
first_bad_version.cpp
first_unique_number_design.cpp
first_unique_number_design.cpp
first_unqiue_character.cpp
first_unqiue_character.cpp
flood_fill.cpp
flood_fill.cpp
flower_planting_with_no_adjacent.cpp
flower_planting_with_no_adjacent.cpp
gray_code.cpp
gray_code.cpp
group_anagrams.cpp
group_anagrams.cpp
happy_number.cpp
happy_number.cpp
house_robber.cpp
house_robber.cpp
implement_set.cpp
implement_set.cpp
implement_trie.cpp
implement_trie.cpp
inorder_successor.cpp
inorder_successor.cpp
inorder_traversal.cpp
inorder_traversal.cpp
insertion_sort_linked_list.cpp
insertion_sort_linked_list.cpp
intersection_array_2.cpp
intersection_array_2.cpp
intersection_of_two_arrays.cpp
intersection_of_two_arrays.cpp
intersection_of_two_linked_list.cpp
intersection_of_two_linked_list.cpp
interval_list_intersection.cpp
interval_list_intersection.cpp
invert_tree.cpp
invert_tree.cpp
isPalin.cpp
isPalin.cpp
is_balanced_tree.cpp
is_balanced_tree.cpp
is_cousin.cpp
is_cousin.cpp
is_subsequence.cpp
is_subsequence.cpp
is_valid_word_break.cpp
is_valid_word_break.cpp
jewels_and_stones.cpp
jewels_and_stones.cpp
jump_game_III.cpp
jump_game_III.cpp
jump_game_array.cpp
jump_game_array.cpp
k_closest_points_to_origin.cpp
k_closest_points_to_origin.cpp
keys_and_rooms.cpp
keys_and_rooms.cpp
knights_on_chess_board.cpp
knights_on_chess_board.cpp
kth_largest_element.cpp
kth_largest_element.cpp
kth_largest_element_in_array.cpp
kth_largest_element_in_array.cpp
kth_smallest_element_in_bst.cpp
kth_smallest_element_in_bst.cpp
kth_smallest_element_in_sorted_matrix.cpp
kth_smallest_element_in_sorted_matrix.cpp
largest_distance_between_nodes_of_a_tree.cpp
largest_distance_between_nodes_of_a_tree.cpp
largest_rectangle_in_histogram.cpp
largest_rectangle_in_histogram.cpp
last_stone_weight.cpp
last_stone_weight.cpp
last_stone_weight_priority_queue.cpp
last_stone_weight_priority_queue.cpp
leftmost_col_with_atleast_one_1.cpp
leftmost_col_with_atleast_one_1.cpp
View all files
About
Practice questions for interviews
Topics
coding
datastructures
leetcode-solutions
programming
Activity
Stars
8
stars
Watchers
1
watching
Forks
1
fork
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.