Query stringlengths 2 286 | Type stringclasses 19
values |
|---|---|
how do I profile a slow Python function | Coding |
write PHP to check whether a number is a power of two, with comments | Coding |
Could you show a TypeScript implementation to implement a token-bucket rate limiter and explain its complexity | Coding |
Could you show a Java implementation to implement a min-heap and explain its complexity? | Coding |
Write a Lua function to debounce a function call. | Coding |
write C# to count word frequencies in a text file, with comments | Coding |
Swift: read and parse a JSON file | Coding |
How do I read a file line by line in Rust? | Coding |
Write a Bash function to walk a directory tree recursively. | Coding |
Show me JavaScript code to read and parse a JSON file. | Coding |
I'm new to Kotlin. How would I compute the median of a list? | Coding |
how do I connect to a PostgreSQL database in Java? | Coding |
TypeScript: remove duplicates from a list while keeping order | Coding |
Could you show a Haskell implementation to implement Dijkstra's algorithm and explain its complexity? | Coding |
How do I read and parse a JSON file in Java? | Coding |
What's the difference between useMemo and useCallback? | Coding |
can you help me implement a stack using Go? | Coding |
I'm new to Kotlin. How would I write a unit test for a function? | Coding |
Give me a Java snippet that can deep clone an object. | Coding |
Can you help me schedule a recurring job using Bash | Coding |
Can you help me paginate a list of results using Swift? | Coding |
Perl: schedule a recurring job | Coding |
Can you help me convert Celsius to Fahrenheit using TypeScript? | Coding |
Can you help me generate a UUID using Go? | Coding |
write Haskell to measure a function's execution time, with comments | Coding |
I'm new to Elixir. How would I implement a token-bucket rate limiter | Coding |
Could you show a Bash implementation to sort a list of objects by a field and explain its complexity? | Coding |
Could you show a Python implementation to generate a UUID and explain its complexity? | Coding |
write PowerShell to open a WebSocket connection, with comments | Coding |
How do I compute the first n Fibonacci numbers in JavaScript? | Coding |
Need Java code to find the longest common subsequence of two strings — keep it minimal. | Coding |
can you help me calculate a factorial using C#? | Coding |
Refactor-friendly TypeScript example: download a file from a URL | Coding |
Give me a TypeScript snippet that can handle exceptions when opening a file. | Coding |
Refactor-friendly Dart example: sort a list of objects by a field | Coding |
Explain how to debounce a function call in Elixir, with an example. | Coding |
Explain how to memoize a recursive function in Swift, with an example. | Coding |
How do I find the k-th largest element in an array in Java? | Coding |
Refactor-friendly Scala example: schedule a recurring job | Coding |
I'm new to R. How would I implement an LRU cache? | Coding |
How do I find and kill a process on port 3000 | Coding |
How do I memoize a recursive function in Bash? | Coding |
Refactor-friendly Ruby example: open a WebSocket connection | Coding |
Write a Scala function to retry a request with exponential backoff. | Coding |
Explain how to find duplicate elements in an array in Rust, with an example | Coding |
Show me TypeScript code to check whether a number is a power of two. | Coding |
Can you help me find all permutations of a string using Python? | Coding |
How do I write a regex for a valid hex color code? | Coding |
Show me JavaScript code to memoize a recursive function. | Coding |
My React component re-renders infinitely when I use useEffect. What am I doing wrong? | Coding |
Explain how to create a simple REST endpoint in Scala, with an example. | Coding |
write C++ to find the longest common subsequence of two strings, with comments | Coding |
Show me Bash code to sort a list of objects by a field. | Coding |
write Java to implement a stack, with comments | Coding |
What's the most efficient way to build a trie for autocomplete in Lua | Coding |
parse a CSV file in Scala | Coding |
Refactor-friendly Go example: memoize a recursive function | Coding |
retry a request with exponential backoff in Go | Coding |
How do I find the k-th largest element in an array in C? | Coding |
generate a random password in Scala | Coding |
Need Ruby code to open a WebSocket connection — keep it minimal. | Coding |
Write a Haskell function to download a file from a URL. | Coding |
Explain how to serialize a class to JSON in C, with an example. | Coding |
sort a list of objects by a field in Elixir | Coding |
Explain what an N+1 query problem is and how to fix it in Rails | Coding |
Give me a Kotlin snippet that can remove duplicates from a list while keeping order. | Coding |
What's the idiomatic way to format a date as ISO 8601 in JavaScript? | Coding |
Show me Rust code to count word frequencies in a text file. | Coding |
Help me write a Python script that watches a folder and uploads new files to S3 | Coding |
Scala: implement a stack | Coding |
Refactor-friendly Elixir example: find duplicate elements in an array | Coding |
C++: group items by a key | Coding |
write Bash to find the k-th largest element in an array, with comments | Coding |
How do I debounce a function call in Dart? | Coding |
Could you show a Dart implementation to read and parse a JSON file and explain its complexity? | Coding |
I'm new to R. How would I find duplicate elements in an array? | Coding |
Can you help me convert Celsius to Fahrenheit using JavaScript? | Coding |
I'm new to R. How would I parse command-line arguments | Coding |
write PHP to send an HTTP POST request, with comments | Coding |
I'm new to PowerShell. How would I implement an LRU cache? | Coding |
I'm new to Bash. How would I implement a token-bucket rate limiter | Coding |
write Swift to flatten a nested list, with comments | Coding |
What's the idiomatic way to validate an IPv4 address in C++? | Coding |
What's the idiomatic way to check for balanced parentheses in Elixir? | Coding |
What's the idiomatic way to read and parse a JSON file in C# | Coding |
What's the idiomatic way to transpose a 2D array in Swift? | Coding |
Lua: check whether a number is a power of two | Coding |
What's the most efficient way to sort a list of objects by a field in TypeScript? | Coding |
How do I convert Celsius to Fahrenheit in Go? | Coding |
Go: implement a stack | Coding |
I'm new to Haskell. How would I paginate a list of results? | Coding |
Refactor-friendly C example: download a file from a URL | Coding |
what's the most efficient way to implement a stack in Dart? | Coding |
Give me a Swift snippet that can generate a random password. | Coding |
Write a Lua function to read and parse a JSON file. | Coding |
What's the most efficient way to find the longest common subsequence of two strings in Go? | Coding |
Could you show a Perl implementation to convert a Roman numeral to an integer and explain its complexity? | Coding |
Give me a C# snippet that can implement binary search. | Coding |
serialize a class to JSON in C# | Coding |
Java: write a unit test for a function | Coding |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.