id
int64
0
5
pre_query_template
stringclasses
7 values
instruction
stringlengths
48
175
response
null
created
int64
1.74B
1.74B
gen_input_configs
dict
gen_response_configs
null
0
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to find m number of multiples of n. Write a function to find the nth octagonal number. Write a function to find out the number of ways of painting the fence such that at most 2 adjacent posts have the same color for the given fence with n posts and k colors. Write a function to find the triplet with sum of the given array Write a function to find the n’th carol number. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to find the nth centered dodecahedral number.
null
1,736,249,880
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
1
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to find m number of multiples of n. Write a function to find the nth octagonal number. Write a function to find out the number of ways of painting the fence such that at most 2 adjacent posts have the same color for the given fence with n posts and k colors. Write a function to find the triplet with sum of the given array Write a function to find the n’th carol number. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to find the nth generalized pentagonal number.
null
1,736,249,880
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
2
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to find m number of multiples of n. Write a function to find the nth octagonal number. Write a function to find out the number of ways of painting the fence such that at most 2 adjacent posts have the same color for the given fence with n posts and k colors. Write a function to find the triplet with sum of the given array Write a function to find the n’th carol number. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to find the nth Jacobsthal number.
null
1,736,249,880
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
3
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to find m number of multiples of n. Write a function to find the nth octagonal number. Write a function to find out the number of ways of painting the fence such that at most 2 adjacent posts have the same color for the given fence with n posts and k colors. Write a function to find the triplet with sum of the given array Write a function to find the n’th carol number. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to determine the nth centered hexagonal number.
null
1,736,249,880
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
4
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to find m number of multiples of n. Write a function to find the nth octagonal number. Write a function to find out the number of ways of painting the fence such that at most 2 adjacent posts have the same color for the given fence with n posts and k colors. Write a function to find the triplet with sum of the given array Write a function to find the n’th carol number. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to find the minimum sum subarray of a given size k.
null
1,736,249,880
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
5
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to find m number of multiples of n. Write a function to find the nth octagonal number. Write a function to find out the number of ways of painting the fence such that at most 2 adjacent posts have the same color for the given fence with n posts and k colors. Write a function to find the triplet with sum of the given array Write a function to find the n’th carol number. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to find the nth Catalan number.
null
1,736,249,880
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
0
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to replace blank spaces with any character in a string. Write a function to find all five characters long word in the given string by using regex. Write a function to remove all whitespaces from the given string using regex. Write a function to find all adverbs and their positions in a given sentence. Write a function to find the ascii value of total characters in a string. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to capitalize the first letter of each word in a sentence.
null
1,736,249,786
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
1
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to replace blank spaces with any character in a string. Write a function to find all five characters long word in the given string by using regex. Write a function to remove all whitespaces from the given string using regex. Write a function to find all adverbs and their positions in a given sentence. Write a function to find the ascii value of total characters in a string. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to count the number of times each vowel appears in a given string and return the counts in a dictionary.
null
1,736,249,786
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
2
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to replace blank spaces with any character in a string. Write a function to find all five characters long word in the given string by using regex. Write a function to remove all whitespaces from the given string using regex. Write a function to find all adverbs and their positions in a given sentence. Write a function to find the ascii value of total characters in a string. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to count the number of vowels in each word of a sentence and return a dictionary where each key is a word and its value is the count of vowels in that word.
null
1,736,249,786
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
3
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to replace blank spaces with any character in a string. Write a function to find all five characters long word in the given string by using regex. Write a function to remove all whitespaces from the given string using regex. Write a function to find all adverbs and their positions in a given sentence. Write a function to find the ascii value of total characters in a string. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to count the number of special characters (non-alphanumeric characters) in a given string.
null
1,736,249,786
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
4
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to replace blank spaces with any character in a string. Write a function to find all five characters long word in the given string by using regex. Write a function to remove all whitespaces from the given string using regex. Write a function to find all adverbs and their positions in a given sentence. Write a function to find the ascii value of total characters in a string. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to count the number of times a specific substring appears in a given string.
null
1,736,249,786
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
5
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to replace blank spaces with any character in a string. Write a function to find all five characters long word in the given string by using regex. Write a function to remove all whitespaces from the given string using regex. Write a function to find all adverbs and their positions in a given sentence. Write a function to find the ascii value of total characters in a string. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to count the number of occurrences of each word in a given sentence and return a dictionary with the words and their counts.
null
1,736,249,786
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
0
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to replace blank spaces with any character in a string. Write a function to find all five characters long word in the given string by using regex. Write a function to remove all whitespaces from the given string using regex. Write a function to find all adverbs and their positions in a given sentence. Write a function to find the ascii value of total characters in a string. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to calculate the sum of ASCII values of only the uppercase letters in a given string.
null
1,736,249,755
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
1
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to replace blank spaces with any character in a string. Write a function to find all five characters long word in the given string by using regex. Write a function to remove all whitespaces from the given string using regex. Write a function to find all adverbs and their positions in a given sentence. Write a function to find the ascii value of total characters in a string. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to count the number of uppercase letters and lowercase letters in a given string separately.
null
1,736,249,755
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
2
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to replace blank spaces with any character in a string. Write a function to find all five characters long word in the given string by using regex. Write a function to remove all whitespaces from the given string using regex. Write a function to find all adverbs and their positions in a given sentence. Write a function to find the ascii value of total characters in a string. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to count the number of vowels in each word of a given sentence and return a list of tuples with each tuple containing the word and its vowel count.
null
1,736,249,755
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
3
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to replace blank spaces with any character in a string. Write a function to find all five characters long word in the given string by using regex. Write a function to remove all whitespaces from the given string using regex. Write a function to find all adverbs and their positions in a given sentence. Write a function to find the ascii value of total characters in a string. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to count the number of times a specific word appears in a sentence, ignoring case sensitivity.
null
1,736,249,755
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
4
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to replace blank spaces with any character in a string. Write a function to find all five characters long word in the given string by using regex. Write a function to remove all whitespaces from the given string using regex. Write a function to find all adverbs and their positions in a given sentence. Write a function to find the ascii value of total characters in a string. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to count the number of times a specific substring appears in a given string, considering overlapping occurrences.
null
1,736,249,755
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
5
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to replace blank spaces with any character in a string. Write a function to find all five characters long word in the given string by using regex. Write a function to remove all whitespaces from the given string using regex. Write a function to find all adverbs and their positions in a given sentence. Write a function to find the ascii value of total characters in a string. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to capitalize the first letter of each word in a sentence.
null
1,736,249,755
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
0
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to check whether the given string starts and ends with the same character or not using regex. Write a function that matches a string that has an a followed by one or more b's. Write a function to find sequences of lowercase letters joined with an underscore. Write a function that matches a word containing 'z'. Write a function to check the given decimal with a precision of 2 by using regex. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to verify that the given string contains at least one digit followed by one or more lowercase letters.
null
1,736,250,042
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
1
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to check whether the given string starts and ends with the same character or not using regex. Write a function that matches a string that has an a followed by one or more b's. Write a function to find sequences of lowercase letters joined with an underscore. Write a function that matches a word containing 'z'. Write a function to check the given decimal with a precision of 2 by using regex. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to check if a given email address is valid by ensuring it contains the "@" symbol and ends with a ".com" domain.
null
1,736,250,042
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
2
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to check whether the given string starts and ends with the same character or not using regex. Write a function that matches a string that has an a followed by one or more b's. Write a function to find sequences of lowercase letters joined with an underscore. Write a function that matches a word containing 'z'. Write a function to check the given decimal with a precision of 2 by using regex. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to validate a MAC address format using regex.
null
1,736,250,042
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
3
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to check whether the given string starts and ends with the same character or not using regex. Write a function that matches a string that has an a followed by one or more b's. Write a function to find sequences of lowercase letters joined with an underscore. Write a function that matches a word containing 'z'. Write a function to check the given decimal with a precision of 2 by using regex. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to find phone numbers that start with a specific area code using regex.
null
1,736,250,042
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
4
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to check whether the given string starts and ends with the same character or not using regex. Write a function that matches a string that has an a followed by one or more b's. Write a function to find sequences of lowercase letters joined with an underscore. Write a function that matches a word containing 'z'. Write a function to check the given decimal with a precision of 2 by using regex. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to validate an email address format using regex.
null
1,736,250,042
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
5
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to check whether the given string starts and ends with the same character or not using regex. Write a function that matches a string that has an a followed by one or more b's. Write a function to find sequences of lowercase letters joined with an underscore. Write a function that matches a word containing 'z'. Write a function to check the given decimal with a precision of 2 by using regex. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to validate an email address that must start with a letter and end with an edu domain.
null
1,736,250,042
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
0
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to print negative numbers in a list. Write a function to convert the given binary number to its decimal equivalent. Write a python function to count the number of substrings with same first and last characters. Write a python function to toggle all even bits of a given number. Write a python function to find number of integers with odd number of set bits. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to check if a given string is a palindrome, considering only alphanumeric characters and ignoring cases.
null
1,736,249,948
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
1
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to print negative numbers in a list. Write a function to convert the given binary number to its decimal equivalent. Write a python function to count the number of substrings with same first and last characters. Write a python function to toggle all even bits of a given number. Write a python function to find number of integers with odd number of set bits. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to check if a given string is a valid IPv4 address.
null
1,736,249,948
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
2
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to print negative numbers in a list. Write a function to convert the given binary number to its decimal equivalent. Write a python function to count the number of substrings with same first and last characters. Write a python function to toggle all even bits of a given number. Write a python function to find number of integers with odd number of set bits. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to find the length of the longest subarray with a sum of zero.
null
1,736,249,948
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
3
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to print negative numbers in a list. Write a function to convert the given binary number to its decimal equivalent. Write a python function to count the number of substrings with same first and last characters. Write a python function to toggle all even bits of a given number. Write a python function to find number of integers with odd number of set bits. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to find the length of the longest subarray with a sum of zero.
null
1,736,249,948
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
4
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to print negative numbers in a list. Write a function to convert the given binary number to its decimal equivalent. Write a python function to count the number of substrings with same first and last characters. Write a python function to toggle all even bits of a given number. Write a python function to find number of integers with odd number of set bits. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to find the length of the longest subarray with a sum of zero.
null
1,736,249,948
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
5
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to print negative numbers in a list. Write a function to convert the given binary number to its decimal equivalent. Write a python function to count the number of substrings with same first and last characters. Write a python function to toggle all even bits of a given number. Write a python function to find number of integers with odd number of set bits. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to reverse the digits of a given number.
null
1,736,249,948
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
0
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to extract maximum and minimum k elements in the given tuple. Write a python function to find a pair with highest product from a given array of integers. Write a function to find the peak element in the given array. Write a function to find the longest subsequence such that the difference between adjacents is one for the given array. Write a python function to find the sublist having maximum length. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to determine the longest increasing subsequence in the given array.
null
1,736,249,820
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
1
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to extract maximum and minimum k elements in the given tuple. Write a python function to find a pair with highest product from a given array of integers. Write a function to find the peak element in the given array. Write a function to find the longest subsequence such that the difference between adjacents is one for the given array. Write a python function to find the sublist having maximum length. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to calculate the sum of the largest and smallest prime numbers in the given list.
null
1,736,249,820
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
2
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to extract maximum and minimum k elements in the given tuple. Write a python function to find a pair with highest product from a given array of integers. Write a function to find the peak element in the given array. Write a function to find the longest subsequence such that the difference between adjacents is one for the given array. Write a python function to find the sublist having maximum length. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to find the median of a given list of numbers.
null
1,736,249,820
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
3
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to extract maximum and minimum k elements in the given tuple. Write a python function to find a pair with highest product from a given array of integers. Write a function to find the peak element in the given array. Write a function to find the longest subsequence such that the difference between adjacents is one for the given array. Write a python function to find the sublist having maximum length. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to find the subarray with the maximum possible XOR for the given array.
null
1,736,249,820
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
4
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to extract maximum and minimum k elements in the given tuple. Write a python function to find a pair with highest product from a given array of integers. Write a function to find the peak element in the given array. Write a function to find the longest subsequence such that the difference between adjacents is one for the given array. Write a python function to find the sublist having maximum length. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to identify the subarray with the maximum sum from a given array of integers.
null
1,736,249,820
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
5
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to extract maximum and minimum k elements in the given tuple. Write a python function to find a pair with highest product from a given array of integers. Write a function to find the peak element in the given array. Write a function to find the longest subsequence such that the difference between adjacents is one for the given array. Write a python function to find the sublist having maximum length. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to find the longest subsequence where the sum of elements is a perfect square for the given array.
null
1,736,249,820
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
0
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to find the position of the last removed element from the given array. Write a python function to find the minimum of two numbers. Write a function to calculate a dog's age in dog's years. Write a function to calculate a grid of hexagon coordinates where function returns a list of lists containing 6 tuples of x, y point coordinates. Write a function to swap two numbers. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to calculate the factorial of a given number.
null
1,736,249,849
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
1
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to find the position of the last removed element from the given array. Write a python function to find the minimum of two numbers. Write a function to calculate a dog's age in dog's years. Write a function to calculate a grid of hexagon coordinates where function returns a list of lists containing 6 tuples of x, y point coordinates. Write a function to swap two numbers. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to generate a random password consisting of 8 characters, including at least one uppercase letter, one lowercase letter, one digit, and one special character.
null
1,736,249,849
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
2
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to find the position of the last removed element from the given array. Write a python function to find the minimum of two numbers. Write a function to calculate a dog's age in dog's years. Write a function to calculate a grid of hexagon coordinates where function returns a list of lists containing 6 tuples of x, y point coordinates. Write a function to swap two numbers. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to check if a given string is a palindrome, ignoring spaces, punctuation, and capitalization.
null
1,736,249,849
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
3
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to find the position of the last removed element from the given array. Write a python function to find the minimum of two numbers. Write a function to calculate a dog's age in dog's years. Write a function to calculate a grid of hexagon coordinates where function returns a list of lists containing 6 tuples of x, y point coordinates. Write a function to swap two numbers. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to calculate the sum of all even numbers in a given list.
null
1,736,249,849
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
4
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to find the position of the last removed element from the given array. Write a python function to find the minimum of two numbers. Write a function to calculate a dog's age in dog's years. Write a function to calculate a grid of hexagon coordinates where function returns a list of lists containing 6 tuples of x, y point coordinates. Write a function to swap two numbers. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to convert a temperature from Fahrenheit to Celsius and return the result rounded to two decimal places.
null
1,736,249,850
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
5
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to find the position of the last removed element from the given array. Write a python function to find the minimum of two numbers. Write a function to calculate a dog's age in dog's years. Write a function to calculate a grid of hexagon coordinates where function returns a list of lists containing 6 tuples of x, y point coordinates. Write a function to swap two numbers. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to generate a list of Fibonacci numbers up to a given limit.
null
1,736,249,850
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
0
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to check whether the given string starts and ends with the same character or not using regex. Write a function that matches a string that has an a followed by one or more b's. Write a function to find sequences of lowercase letters joined with an underscore. Write a function that matches a word containing 'z'. Write a function to check the given decimal with a precision of 2 by using regex. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to validate an email address by checking it contains an '@' symbol and a '.' in the correct positions using regex.
null
1,736,250,011
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
1
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to check whether the given string starts and ends with the same character or not using regex. Write a function that matches a string that has an a followed by one or more b's. Write a function to find sequences of lowercase letters joined with an underscore. Write a function that matches a word containing 'z'. Write a function to check the given decimal with a precision of 2 by using regex. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to validate an email address by ensuring it contains an "@" symbol followed by some characters and then a ".com", ".edu", or ".org" domain.
null
1,736,250,011
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
2
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to check whether the given string starts and ends with the same character or not using regex. Write a function that matches a string that has an a followed by one or more b's. Write a function to find sequences of lowercase letters joined with an underscore. Write a function that matches a word containing 'z'. Write a function to check the given decimal with a precision of 2 by using regex. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to validate if a given email address contains a domain name with at least one dot (.) and ends with a common top-level domain (such as .com, .net, .org).
null
1,736,250,012
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
3
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to check whether the given string starts and ends with the same character or not using regex. Write a function that matches a string that has an a followed by one or more b's. Write a function to find sequences of lowercase letters joined with an underscore. Write a function that matches a word containing 'z'. Write a function to check the given decimal with a precision of 2 by using regex. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to validate an email address using regex.
null
1,736,250,012
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
4
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to check whether the given string starts and ends with the same character or not using regex. Write a function that matches a string that has an a followed by one or more b's. Write a function to find sequences of lowercase letters joined with an underscore. Write a function that matches a word containing 'z'. Write a function to check the given decimal with a precision of 2 by using regex. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to match strings that contain a hyphen followed by one or more digits, and ensure that the string ends with a hyphen.
null
1,736,250,012
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
5
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a function to check whether the given string starts and ends with the same character or not using regex. Write a function that matches a string that has an a followed by one or more b's. Write a function to find sequences of lowercase letters joined with an underscore. Write a function that matches a word containing 'z'. Write a function to check the given decimal with a precision of 2 by using regex. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to validate if a given phone number is in the format (XXX) XXX-XXXX using regex.
null
1,736,250,012
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
0
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to print negative numbers in a list. Write a function to convert the given binary number to its decimal equivalent. Write a python function to count the number of substrings with same first and last characters. Write a python function to toggle all even bits of a given number. Write a python function to find number of integers with odd number of set bits. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a python function to find the length of the longest consecutive 1's in the binary representation of a given number.
null
1,736,249,909
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
1
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to print negative numbers in a list. Write a function to convert the given binary number to its decimal equivalent. Write a python function to count the number of substrings with same first and last characters. Write a python function to toggle all even bits of a given number. Write a python function to find number of integers with odd number of set bits. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to find the longest common prefix between a list of strings.
null
1,736,249,909
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
2
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to print negative numbers in a list. Write a function to convert the given binary number to its decimal equivalent. Write a python function to count the number of substrings with same first and last characters. Write a python function to toggle all even bits of a given number. Write a python function to find number of integers with odd number of set bits. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to find the longest palindromic substring in a given string.
null
1,736,249,909
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
3
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to print negative numbers in a list. Write a function to convert the given binary number to its decimal equivalent. Write a python function to count the number of substrings with same first and last characters. Write a python function to toggle all even bits of a given number. Write a python function to find number of integers with odd number of set bits. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to find the longest common subsequence between two given strings.
null
1,736,249,909
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
4
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to print negative numbers in a list. Write a function to convert the given binary number to its decimal equivalent. Write a python function to count the number of substrings with same first and last characters. Write a python function to toggle all even bits of a given number. Write a python function to find number of integers with odd number of set bits. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to find the length of the longest common subsequence between two strings.
null
1,736,249,909
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
5
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to print negative numbers in a list. Write a function to convert the given binary number to its decimal equivalent. Write a python function to count the number of substrings with same first and last characters. Write a python function to toggle all even bits of a given number. Write a python function to find number of integers with odd number of set bits. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to find the length of the longest subarray with a sum of 0.
null
1,736,249,909
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
0
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to check whether the given number can be represented as sum of non-zero powers of 2 or not. Write a function to check if given tuple is distinct or not. Write a function to check whether the given month number contains 31 days or not. Write a python function to check whether the length of the word is odd or not. Write a python function to check whether the value exists in a sequence or not. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to check whether the given year is a leap year or not.
null
1,736,249,980
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
1
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to check whether the given number can be represented as sum of non-zero powers of 2 or not. Write a function to check if given tuple is distinct or not. Write a function to check whether the given month number contains 31 days or not. Write a python function to check whether the length of the word is odd or not. Write a python function to check whether the value exists in a sequence or not. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to check whether the given year is a leap year or not.
null
1,736,249,980
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
2
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to check whether the given number can be represented as sum of non-zero powers of 2 or not. Write a function to check if given tuple is distinct or not. Write a function to check whether the given month number contains 31 days or not. Write a python function to check whether the length of the word is odd or not. Write a python function to check whether the value exists in a sequence or not. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to check if a given string is a palindrome.
null
1,736,249,980
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
3
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to check whether the given number can be represented as sum of non-zero powers of 2 or not. Write a function to check if given tuple is distinct or not. Write a function to check whether the given month number contains 31 days or not. Write a python function to check whether the length of the word is odd or not. Write a python function to check whether the value exists in a sequence or not. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a function to check whether the given string is a palindrome or not.
null
1,736,249,980
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
4
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to check whether the given number can be represented as sum of non-zero powers of 2 or not. Write a function to check if given tuple is distinct or not. Write a function to check whether the given month number contains 31 days or not. Write a python function to check whether the length of the word is odd or not. Write a python function to check whether the value exists in a sequence or not. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a Python function to check whether the given string is a palindrome or not.
null
1,736,249,980
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null
5
<|im_start|>system You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are an expert at generating instructions. Below are some example instructions. Please generate a new instruction based on these examples. ### Examples: Write a python function to check whether the given number can be represented as sum of non-zero powers of 2 or not. Write a function to check if given tuple is distinct or not. Write a function to check whether the given month number contains 31 days or not. Write a python function to check whether the length of the word is odd or not. Write a python function to check whether the value exists in a sequence or not. ### Task: Using the examples above as a guide, generate a new instruction that adheres to the same style and structure <|im_end|> <|im_start|>user
Write a python function to check whether the given string is a palindrome or not.
null
1,736,249,980
{ "input_generator": "Qwen/Qwen2.5-7B-Instruct", "seed": null, "temperature": 1.1, "top_p": 1 }
null