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 }}
rabbygit
/
problem_solving
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
master
Breadcrumbs
problem_solving
/
array
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
problem_solving
/
array
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
1005-maximize-sum-of-array-after-k-negations
1005-maximize-sum-of-array-after-k-negations
1010-pairs-of-songs-with-total-durations-divisible-by-60
1010-pairs-of-songs-with-total-durations-divisible-by-60
1029-two-city-scheduling
1029-two-city-scheduling
1051-height-checker
1051-height-checker
1094-car-pooling
1094-car-pooling
122-best-time-to-buy-and-sell-stock-ii
122-best-time-to-buy-and-sell-stock-ii
1268-search-suggestions-system
1268-search-suggestions-system
128_longest_consecutive_sequence
128_longest_consecutive_sequence
1299-replace-elements-with-greatest-element-on-right-side
1299-replace-elements-with-greatest-element-on-right-side
1313_decompress_run_length_encoded_list
1313_decompress_run_length_encoded_list
1331-rank-transform-of-an-array
1331-rank-transform-of-an-array
1333-filter-restaurants-by-vegan-friendly-price-and-distance
1333-filter-restaurants-by-vegan-friendly-price-and-distance
1352-product-of-the-last-k-numbers
1352-product-of-the-last-k-numbers
1365_how_many_numbers_are_smaller_than_the_current_number
1365_how_many_numbers_are_smaller_than_the_current_number
1366-rank-teams-by-votes
1366-rank-teams-by-votes
1408-string-matching-in-an-array
1408-string-matching-in-an-array
1431_kids_with_greatest_no_of_candies
1431_kids_with_greatest_no_of_candies
1450-number-of-students-doing-homework-at-a-given-time
1450-number-of-students-doing-homework-at-a-given-time
1470_shuffle_the_array
1470_shuffle_the_array
1480_running_sum
1480_running_sum
1512_number_of_good_pairs
1512_number_of_good_pairs
1523-count-odd-numbers-in-an-interval-range
1523-count-odd-numbers-in-an-interval-range
1528_shuffle_string
1528_shuffle_string
1535-find-the-winner-of-an-array-game
1535-find-the-winner-of-an-array-game
1550-three-consecutive-odds
1550-three-consecutive-odds
1560-most-visited-sector-in-a-circular-track
1560-most-visited-sector-in-a-circular-track
1561-maximum-number-of-coins-you-can-get
1561-maximum-number-of-coins-you-can-get
1567-maximum-length-of-subarray-with-positive-product
1567-maximum-length-of-subarray-with-positive-product
1574-shortest-subarray-to-be-removed-to-make-array-sorted
1574-shortest-subarray-to-be-removed-to-make-array-sorted
158-maximum-product-subarray
158-maximum-product-subarray
1598-crawler-log-folder
1598-crawler-log-folder
162_peak_element
162_peak_element
1636-sort-array-by-increasing-frequency
1636-sort-array-by-increasing-frequency
1656-design-an-ordered-stream
1656-design-an-ordered-stream
1672_richest_customer_wealth
1672_richest_customer_wealth
169_majority_problem
169_majority_problem
1700-number-of-students-unable-to-eat-lunch
1700-number-of-students-unable-to-eat-lunch
1701-average-waiting-time
1701-average-waiting-time
1720_decode_xored_array
1720_decode_xored_array
1725-number-of-rectangles-that-can-form-the-largest-square
1725-number-of-rectangles-that-can-form-the-largest-square
1779-find-nearest-point-that-has-the-same-x-or-y-coordinate
1779-find-nearest-point-that-has-the-same-x-or-y-coordinate
179-largest-number
179-largest-number
1822-sign-of-the-product-of-an-array
1822-sign-of-the-product-of-an-array
1827-minimum-operations-to-make-the-array-increasing
1827-minimum-operations-to-make-the-array-increasing
1854-maximum-population-year
1854-maximum-population-year
1861-rotating-the-box
1861-rotating-the-box
1920_build_array_from_permutation
1920_build_array_from_permutation
1929_concatenation_of_array
1929_concatenation_of_array
1975-maximum-matrix-sum
1975-maximum-matrix-sum
1996-the-number-of-weak-characters-in-the-game
1996-the-number-of-weak-characters-in-the-game
2011_Final Value of Variable After Performing Operations
2011_Final Value of Variable After Performing Operations
2016-maximum-difference-between-increasing-elements
2016-maximum-difference-between-increasing-elements
2022-convert-1d-to-2d-array
2022-convert-1d-to-2d-array
2099-find-subsequence-of-length-k-with-the-largest-sum
2099-find-subsequence-of-length-k-with-the-largest-sum
2114_maximum_number_of_words_found_in_sentences
2114_maximum_number_of_words_found_in_sentences
2125-number-of-laser-beams-in-a-bank
2125-number-of-laser-beams-in-a-bank
2149-rearrange-array-elements-by-sign
2149-rearrange-array-elements-by-sign
215-kth-largest-element
215-kth-largest-element
2161-partition-array-according-to-given-pivot
2161-partition-array-according-to-given-pivot
217_contain_duplicate
217_contain_duplicate
2206-divide-array-into-equal-pairs
2206-divide-array-into-equal-pairs
2225-find-players-with-zero-or-one-losses
2225-find-players-with-zero-or-one-losses
2270-number-of-ways-to-split-array
2270-number-of-ways-to-split-array
238-product-of-array-except-self
238-product-of-array-except-self
242-valid-anagram
242-valid-anagram
2441-largest-positive-integer-that-exists-with-its-negative
2441-largest-positive-integer-that-exists-with-its-negative
2491-divide-players-into-teams-of-equal-skill
2491-divide-players-into-teams-of-equal-skill
2570-merge-two-2d-arrays-by-summing-values
2570-merge-two-2d-arrays-by-summing-values
268_missing_number
268_missing_number
271_encode-and-decode-strings
271_encode-and-decode-strings
283_move_zeroes
283_move_zeroes
289-game-of-life
289-game-of-life
2965-find-missing-and-repeated-values
2965-find-missing-and-repeated-values
2966-divide-array-into-arrays-with-max-differenc
2966-divide-array-into-arrays-with-max-differenc
304-range-sum-query-2d-immutable
304-range-sum-query-2d-immutable
3152-special-array-ii
3152-special-array-ii
339-nested-list-weight-sum
339-nested-list-weight-sum
341-flatten-nested-list-iterator
341-flatten-nested-list-iterator
347_k_frequent_elements
347_k_frequent_elements
35-search-insert-position
35-search-insert-position
36_valid_sudoku
36_valid_sudoku
380-insert-delete-getrandom-o1
380-insert-delete-getrandom-o1
381-insert-delete-getrandom-o1-duplicates-allowed
381-insert-delete-getrandom-o1-duplicates-allowed
41-first-missing-positive
41-first-missing-positive
419-battleships-in-a-board
419-battleships-in-a-board
438-find-all-anagrams-in-a-string
438-find-all-anagrams-in-a-string
442-find-all-duplicates
442-find-all-duplicates
448_find_all_disappeared_numbers
448_find_all_disappeared_numbers
455-assign-cookies
455-assign-cookies
468-validate-ip-address
468-validate-ip-address
49-group-anargrams
49-group-anargrams
532-k-diff-pairs-in-an-array
532-k-diff-pairs-in-an-array
54-spiral-order-matrix
54-spiral-order-matrix
560-subarray-sum-equals-k
560-subarray-sum-equals-k
645-set-mismatch
645-set-mismatch
646-maximum-length-of-pair-chain
646-maximum-length-of-pair-chain
66-one-plus
66-one-plus
697-degree-of-an-array
697-degree-of-an-array
724-find-pivot-index
724-find-pivot-index
75-sort-colors
75-sort-colors
View all files
You can’t perform that action at this time.