Dataset Viewer
Auto-converted to Parquet Duplicate
index
int64
0
8.66k
python
stringlengths
1
38.7k
34
"$question?"
99
Question-Question Portal
227
Font styles with colors
83
Question On Python 3.8
88
Question Link: https://leetcode.Question
101
Question link:- https://leetcode.Question
244
Question Link: https://leetcode.Question
108
Question Link: https://leetcode.QuestionArea
250
Question link = https://leetcode.Question
60
Question Link: https://leetcode.Question_Link
209
Total database items: ${int(keys).count()}
68
Question Link Link: https://leetcode.QuestionLink
223
('dayo totman pas cals sana', None)
181
Question Text Question Answer Accepted Solution(s) File
57
Question:write a function calculate fibonacci series upto N terms using recursion.
23
Question : Write a code snippet to print sum of elements present in range using recursion
230
Question Link:https://www.hackerrank.com/challenges/factominator
189
Question Link:- https://leetcode.com/problems/reverse-word-order/solution/
239
Question 1 Question 2 Question 3 Question 4 Question 5
27
Question: Given a binary tree find it's maximum depth. Solution: Do iterative BFS
183
Question Link :- https://www.codingninjas.com/codestudio/question/SEQuestionLister
197
Question Link : https://leetcode.Question.Creator/QuestionID Question Title : Question Description :-
14
Question Link:- https://leetcode.com/problems/maximum-ascending-subarray-sum/submissions/
90
import datetime test2.py # This file intentionaly leaves blank.
31
Question link:https://leetcode.question/problems/search-insert-position/ Language used:Python3
58
mport CppParserfrom.python_parser import PythonParser from.cpp_parser i
53
Question: write a function that return True if the string received as input consist only of alphabets, False otherwise...
127
Question link :- https://www.codechef.com/LRNDSA01/problems/CHOPRTREE
236
Question: Create a Folder called Questions Without Using the OS Module OutPut: C:\Python37\QUESTIONS
42
Question: Create function fibonacca() to get fibonacci series up to Nth term. Return value in form of Tuple
63
Question: Given two strings s and t. Write a python function to determine if s is a rotation of tne other.
95
Question Source: https://leetcode.questionsproblemset.com/problems/trim-a-binary-search-tree/
122
Question1 Question2 Question3 Question4 Question5 Question6 Question7 Question8 Question9
5
Question: Write a python Script that decodes the message with a shift defined by K = -2 and creates a new wrong coded sentence.
10
Question link:- https://practice.geeksforgeeks.org/problems/find-median-of-middle-window/0/
190
Question : Write a program which accepts user input for first and last names and generate full name after appending them using redunderence operator * '.
115
Question:-Given two strings s1 and s2, you have to write an efficient method that returns true if they are anagrams of each other.
195
Question: Explain How you used inheritance in your solution. Answer: Your solution uses a base form called MainForm and extended those classes.
56
Question: Implement a Stack DS using only Linked List DS i.e use class LLNode. Answer: Refer stack stackdsusinglinkedlist.py file
111
Question & Input Using GUI Function Question Question & Input Using GUI Question Question & Input Exceed Time Question Question & Input GUI Submit Check
145
Question: Write a program to convert centimeter to feet and inches #Centimeters: # Foot: Inches:
110
Question: Write a program to convert minutes to seconds taking into account its fractional portion. Answer: $(\frac]{\sum }{\prod })=$
116
Question Link: https://practicetomato.vercel.app/question/python/find_common_elements-of-multiple-lists-python
266
Question Link :- https://leetcode.Question Link :- https://leetcode.com/problems/combination-sum/
0
from ifelselms.models import EnrollModel from django.contrib import admin ster(EnrollModel)admin.site.regi
59
Question Link : https://www.hackerrank.com/challenges/stone-paper-scissor/problem Question Title : Stone Paper Scissor Problem
154
Question link - https://practice.geeksforgeeks.org/problems/maximum-length-subarray-sum-equals-k4201/1
24
Question 2 - <NAME> Write a method to compute power of a number in another number print power(21.2, 34.5);
96
Question: Write a program which accepts a sequence of comma-separated numbers from console and generate a list and a tuple which contains every number. DequeuUBit!!!
104
E>' domjak/espviz '''Espviz is a python package that visualizes ESP census data. ''' __author__ = '<NAM
254
Question: You are free to write whatever code you feel like but you are required to write a question or make suggestion. Please share your ideas with me in the comments section below!
281
Question Source:[Island Perimeter II](https://leetcode.Question)
276
Question:- https://pybit.es/pandas-dataframe-questions.html#Question:-
11
Question − You want to generate random numbers between 1 and 10 which are divisible by 2. Write a code snippet using Python which generates required random numbers based on above conditions.
288
Question Link - - https://leetcode.QuestionLink.com/
296
Question link:https://leetcode.Question
180
Question Link: https://leetcode.Question.1.Question%Need%an%Answer/[Question1315]+Sum-of-Nodes-With-Even-Valued-Grandparent/
298
Question link: https://leetcode.Question
36
Question: Why is there a syntax error with this code? def f(n): b = 1 b += sum([x**2 for x in xrange(n)]) print b
152
Question: Create a python function that gets all prime numbers between 30 and no above 350 using Sieve of Erastothenes algorithim. Print answers on termial.
277
Question :https://leetcode.com/problems/maximum-length-of-repeated-subarray/
267
Question Create a Compass that suggests most history domiantiatees. Question Answer: def maxHist(self): for occGood in ()
282
Question: Write a Program, Which Shows Implicitly Involving Of Arguments, Inside A Function.
146
Question : https://www.hackerrank.com/challenges/s10-quartiles/problem?h_l=interview&playlist_slugs%5B%5D=%23in-depth
285
Question Link ---> https://www.interviewbit.com/problems/path-sum-ii/
308
#!/usr/ question 2 time complexity
234
Question: Write a python program for finding palindrome in distributed system using nameserver.(You can assume that directory server is coordinator for this program.). Assume that there is only one directory server and it serves multiple clients at one time.
278
Question: How to select a portion from dataframe by index name? Solution: df.loc['Date1':'Date2']
70
Question - There are two sorted arrays of size N and M respectively. Similar to the merge step of merge sort, combine two sorted arrays into one such that the output is also sorted. The overall running time complexity should be O(NlogM).
151
Question link :- https://leetcode.Question links:- https://leetcode.Question links:-https://leetcode.Question links:-https://leetcode.Question links:- https://www.hackerrank.com/challenges/anagram-detection/problem
39
Question: Please write a program that outputs the factorial of a given number N\Take input from user Answer: import math num =int(raw_input()) fact=math.factorial(num) print fact
28
Question Stanza: Question Description: Write code that returns the largest prime factor of a given number n. For example, GreatestPrimeFactor(10) should return 5 because 5 is the largest prime factor of 10.
159
Question:https://www.hackerrank.com/challenges/find-the-percentage/problem Answer:https://www.hackerrank.com/challenges/find-the-percentage/forum/comments/429858
248
0Question#Question 1: Write a program to search whether substring "geek" exists in string str="geeks for geeks geeks geeks eye for eye eye for eyegouth have you used any online tool? No then why learn algorithms?"
137
Question: If a statue has three wheels, how much space can it fit under on a single level? Assume a level has height=2 units and width=1 unit Answer: \ /|\ / |/\ \/\|\ \ /\
89
Question: When given points on a plane defined by a Ax+By=C and a line defined by a normal vector, find the equation of the line passing through these two points. If more than one line passing through these two points satisfy the equation, then print all such line equations.
144
Perlence/EmbedPython.ahk text = """ ~ text=GetHostName; CALL GetHostName,,, ENV:=Synch ^ DEBUGERROR; CALL SETERRORS ^ TERMINATE""" print(klon.parse_commands_text(text))
304
Question: If we're going to store laptop information, do we need nested for loops? How about dictionaries?
150
Question link:https://www.hackerrank.com/domains/python?filters%5Bsubdomains%5D%5B%5D=py-set-mutations&filters%5Bdifficulty%5D%5B%5D=medium Question Difficulty:Media
66
Question: Given a complete binary tree, count the number of nodes. Answer: Time Complexity: O(N). We iterate through each element of binary tree. Space Complexity- O(1). Memory is allocated only for return statement. We don't use any additional space apart from what exists already.
8
f = [] for _ in range(int(input())): status,letter=input().lower().split() if status =="enter": f[-1].add(letter) if not f: f.append(set((letter))) else: f.pop()
170
Question 6 1a.(a)-(c) Write an automated test module that contains two testcases.(Question 2 in Programming Lab Assignment). Question 6 1b.(a)-(c) Write an automated test module that contains two testcases.(Question 2 in Programming Lab Assignment). Question
330
Question Link : https://leetcode.Question.html
84
Question From Exercise -4 Phase 2 Question : Object Oriented Programming using DSA Question: Challenge Question : Implement this LinkedList.''' '''Solution :''' class Node: def __init__(self, val): self.element = val self.nextElement = None
141
Question Link :: https://leetcode.Question.html Question No. :: 35 Question Name :: Search Insert Position Input: [1,3,5,6], 5 Output: 2 Input: [1,3,5,6] , 2 Output: 1
117
Question : Print All Unique Values Removed from Existing Set Without any Whitespace using Set Data Structure. Answer Code : from collections import Counter print('\nSet of existing unique words : ',{Counter([word for word in sentence.split(' ') if word!=''][0].strip('\n') for sentence in file]).ke...
149
n UnivariateCalculator() else: raise RuntimeError("Unknown method supported: ", method) mobilityCalculator/UnivariateModeling/CalculatorFactory.py1-10 from..UnivariateCalculator import UnivariateCalculator def getCalculatorInstance(method): if method == "Univariate": retur
168
Question link - https://www.hackerrank.com/challenges/python-power-mod-power/problem?h_r=email&unlock_token=c37f28d3791bc12cf4b6316b2a8c5dc85859812f
284
Question 1 - Override the add() method by adding a zero value for the cost argument. Then call the class method using your new cost implementation. Does this implementation render the program unsuitable for future additions to the Product?
75
Question: Assuming there is a server server1 which contains files residing on directory tree d1/. Server server2 also exists having files located on directory tree d2/. Assume that server server1 owns all the files present in d1/. The task is to find the files that exist by combining all the files residing on server1 a...
205
Question:Given a string,capitalize each character in its word. For example,. Your function should return lorem ips uM instead of lorem ips um. await Question::def capitalizeEachWord(xstrawait Question::str):€€€€return ' '.join(.capitalize()for w in xstr.split())€€€
294
Question Summary: Add Two Numbers Question Description: Write a code that configures a linked list to have *similar* methods to "Python's built in LinkedList" object (add, delete, find Element by Value).
320
Question :- https://leetcode.Question/discuss/interview-question/1284871/Facebook-Interview-Question
9
Question : Find the largest number that can be obtained by multiplying two n-digit numbers. Similarly, Question is IO based question. Options : a : Don't use Array but take input user directly. b : Use string variables. c : Use integer variables. d : Use float variables. Output Yes for A,No for all ot...
81
Question :- Write a program that allows user to enter number of buckets. The program should output all possible combinations in how these buckets can be loaded following some order constraints. Constraints:- There are constraints for allowed value buckets: bucketValue <= 9; bucketValue >= 1 If a valid combination doe...
328
Question:- Find factorial of a number using recursion Facto(n)=Facto(n-1)*(n)
140
Question Statement using following dataframe. """ WEBSITE PRODUCT_ID FEATURES 1 [www.examplewebsite.com#899 ] 2 [] 3 [] 4 [www.examplewebsite.co...
224
Question :- If we are allowed to use only arithmetic operations ?: Please write code to answer this question. ##################################### Answer :- Yes We can Calculate Addition,substraction,Multiplicatin and division Operation Using only Arithmetic Operators ,We can Also do Modulus Calculation where Remainde...
246
def main(): a = b = x = c; if a &! (3 // 2) ^ c + d +x> 3 ** 3 * ( 4 ^ y + b)%10 - 3 /b : return 'f'; elif d<-~!~!c or- <!~!b : return 't'
133
Question no: 1 Add all even numbers between ‘m’ and ‘n’ inclusive without including them.''' m = int(input()) n = int(input()) i =0 even_sum=[] while m!=n: if m% 2==0: even_sum.append(m) m+=1 print(even_sum)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
3