Query
stringlengths
2
286
Type
stringclasses
19 values
remove duplicates from a list while keeping order in R
Coding
Explain how to find all permutations of a string in Python, with an example.
Coding
Explain how to count vowels in a string in Lua, with an example
Coding
write a PHP function to memoize a recursive function.
Coding
Can you help me parse an XML document using PHP?
Coding
What's the idiomatic way to implement a stack in Rust?
Coding
Need Rust code to generate a random password — keep it minimal.
Coding
Explain how to implement a stack in TypeScript, with an example.
Coding
Implement a rate limiter middleware for Express
Coding
Could you show a Kotlin implementation to reverse a linked list and explain its complexity?
Coding
could you show a PHP implementation to read and parse a JSON file and explain its complexity?
Coding
Swift: implement a queue using two stacks
Coding
Python: read and parse a JSON file
Coding
write Bash to debounce a function call, with comments
Coding
JavaScript: calculate a factorial
Coding
Explain how to remove duplicates from a list while keeping order in Elixir, with an example.
Coding
I'm new to Rust. How would I base64-encode a string?
Coding
compute the first n Fibonacci numbers in Lua
Coding
convert Celsius to Fahrenheit in Elixir
Coding
Show me JavaScript code to parse command-line arguments.
Coding
retry a request with exponential backoff in JavaScript
Coding
Could you show a Go implementation to paginate a list of results and explain its complexity?
Coding
Explain how to group items by a key in JavaScript, with an example.
Coding
What's the most efficient way to check whether a number is a power of two in R?
Coding
Show me JavaScript code to generate a random password.
Coding
How do I compute the first n Fibonacci numbers in Ruby?
Coding
can you help me find the k-th largest element in an array using Dart?
Coding
Give me a Ruby snippet that can implement a queue using two stacks.
Coding
Show me Perl code to open a WebSocket connection.
Coding
Java: implement a queue using two stacks
Coding
How do I compute the median of a list in Rust?
Coding
Could you show a Swift implementation to parse an XML document and explain its complexity?
Coding
What's the most efficient way to build a trie for autocomplete in Elixir?
Coding
could you show a Perl implementation to run a shell command and capture its output and explain its complexity?
Coding
What's the idiomatic way to retry a request with exponential backoff in Python?
Coding
Write a Scala function to check whether a number is a power of two
Coding
Need PowerShell code to implement bubble sort — keep it minimal.
Coding
Could you show a Kotlin implementation to count vowels in a string and explain its complexity?
Coding
what's the idiomatic way to read and parse a JSON file in Perl?
Coding
Can you help me create a simple REST endpoint using R?
Coding
I'm new to Scala. How would I schedule a recurring job?
Coding
Give me a PHP snippet that can detect a cycle in a directed graph.
Coding
Could you show a C implementation to send an HTTP POST request and explain its complexity?
Coding
How can I make my SQL query faster? It scans 2 million rows
Coding
Need Kotlin code to compute the first n Fibonacci numbers — keep it minimal.
Coding
Could you show a Go implementation to serialize a class to JSON and explain its complexity?
Coding
Can you help me read a file line by line using Python?
Coding
Need PowerShell code to convert Celsius to Fahrenheit — keep it minimal.
Coding
write a Perl function to detect a cycle in a directed graph.
Coding
How do I strip whitespace from a string in C?
Coding
Can you help me strip whitespace from a string using C?
Coding
implement a token-bucket rate limiter in Perl
Coding
transpose a 2D array in Kotlin
Coding
Could you show a R implementation to implement Dijkstra's algorithm and explain its complexity?
Coding
What's the most efficient way to open a WebSocket connection in Dart
Coding
How do I download a file from a URL in Dart?
Coding
write Lua to memoize a recursive function, with comments
Coding
Rust: generate a random password
Coding
write TypeScript to serialize a class to JSON, with comments
Coding
write Scala to check whether a number is a power of two, with comments
Coding
Can you help me implement bubble sort using Bash?
Coding
I'm new to Python. How would I run a shell command and capture its output?
Coding
show me Ruby code to implement Dijkstra's algorithm.
Coding
Write a C function to reverse a linked list.
Coding
What exactly is the Pythagorean theorem? Give me a detailed answer with examples.
What
Can you tell me what a pulsar is
What
Trivia night prep: what are the basics of a recession?
What
What is the story behind stoicism?
What
What exactly is an ecosystem? Thanks!
What
Hey, what are the main components of a cryptocurrency wallet?
What
what are the main components of the Cold War? Please be concise.
What
Can you help me with this? what is an API?
What
What does the Paris Agreement involve? Give me a detailed answer with examples.
What
What are the main components of a hedge fund?
What
what does the Supreme Court do? Give me a detailed answer with examples.
What
Sorry if this is basic, but what is a good source of plant-based protein
What
What does a quasar involve?
What
What are the key features of a pulsar? Thanks!
What
What is the purpose of the Paris Agreement?
What
Just curious — can you tell me what a Ponzi scheme is?
What
What is the main idea behind a mortgage?
What
What is inside a hot dog? Give me a detailed answer with examples.
What
What is the main idea behind the Dead Sea Scrolls? Thanks!
What
Can you tell me what Bayesian inference is?
What
Can you tell me what CRISPR is?
What
What is 0.25 as a fraction? Give me a detailed answer with examples.
What
what are the basics of the Renaissance? I have a test tomorrow.
What
What is dark matter and why does it matter? Bullet points please.
What
What is the difference between empathy and sympathy? Keep it short.
What
What does the Hippocratic Oath involve? Explain like I'm a beginner.
What
what's a Ponzi scheme. Explain like I'm a beginner.
What
Can you help me with this? what is the main idea behind the Turing test?
What
What is an API?
What
Hey, what is the largest organ in the human body?
What
Sorry if this is basic, but what type of rock is marble?
What
What does feng shui involve?
What
What should I know about a mortgage? Give me a detailed answer with examples.
What
What breed of dog is the fastest
What
Settle a debate for me: what is a solar flare and why does it matter?
What
What exactly is the Pythagorean theorem
What