issues Search Results · repo:vJechsmayr/PythonAlgorithms language:Python
Filter by
359 results
(91 ms)359 results
invJechsmayr/PythonAlgorithms (press backspace or delete to remove)Description of the Problem
Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order.
Example 1:
Input: nums = [1,2,3] Output: [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]] ...
hacktoberfest
omrawal
- Opened on Aug 20, 2021
- #805
Description of the Problem
Suppose Andy and Doris want to choose a restaurant for dinner, and they both have a list of favorite restaurants
represented by strings.
You need to help them find out their ...
hacktoberfest
chw9
- 2
- Opened on Oct 31, 2020
- #800
Description of the Problem
Given a singly linked list, determine if it is a palindrome.
Code
class Solution(object):
def reverse(self, head):
p = head.next
while p and p.next:
tmp = ...
hacktoberfest
flick-23
- 3
- Opened on Oct 29, 2020
- #789
Description of the Problem
Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of
which the sum ≥ s. If there isn t one, return 0 instead. ...
hacktoberfest
flick-23
- 2
- Opened on Oct 29, 2020
- #788
Description of the Problem
You may copy that from LeetCode
Code
class Solution(object): def combination(self, n, k, inp, res): # inp is expected to be a list of size n #print
n,k,inp,res if k == 0: ...
hacktoberfest
flick-23
- Opened on Oct 29, 2020
- #783
Dear Contributers!
Because I am currently because of Corona (SARS-Cov2) not able to do Reviews please do not open any PRs! As soon as I‘m
back on track I will work through the current PRs.
By today I ...
documentation
hacktoberfest
vJechsmayr
- Opened on Oct 13, 2020
- #780
Description of the Problem
Given an integer n, add a dot ( . ) as the thousands separator and return it in string format.
Example 1: Input: n = 987 Output: 987
Example 2: Input: n = 1234 Output: 1.234 ...
hacktoberfest
devruji
- 1
- Opened on Oct 13, 2020
- #778
Description of the Problem
Given n non-negative integers representing the histogram s bar height where the width of each bar is 1, find the area of
largest rectangle in the histogram.
image Above is ...
hacktoberfest
UdeshAthukorala
- 2
- Opened on Oct 13, 2020
- #776
Description of the Problem
Write a function that reverses a string. The input string is given as an array of characters char[].
Do not allocate extra space for another array, you must do this by modifying ...
hacktoberfest
IsuruAriyarathne
- 4
- Opened on Oct 13, 2020
- #773
Description of the Problem
Given a m x n binary matrix mat. In one step, you can choose one cell and flip it and all the four neighbours of it if
they exist (Flip is changing 1 to 0 and 0 to 1). A pair ...
hacktoberfest
suman2826
- 2
- Opened on Oct 13, 2020
- #768

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.