Mars exploration hackerrank solution. Today we're discussing scope. Mars exploration hackerrank solution

 
 Today we're discussing scopeMars exploration hackerrank solution Day 19: Interfaces HackerRank Solution

Alice wrote a sequence of words in CamelCase as a string of letters, , having the following properties:. For example, the length of your array of zeros . In this HackerRank Two Characters problem, Given a string, remove characters until the string is made up of any two alternating characters. An element gets inserted into the array only. strip ()] a = [l for l in a if l in b] b = [l for l in b if l in a]. Letters in some of the SOS messages are altered by cosmic radiation during transmission. Hackerrank - CamelCase Solution. They are intended for those who already know some programming, however. 4 of 6; Test your code You can compile your code and test it for errors and accuracy before submitting. {"payload":{"allShortcutsEnabled":false,"fileTree":{"ProblemSolving/Python/Strings":{"items":[{"name":"anagram. HackerRank in a String! problem solution in java python c++ c and javascript programming language with practical program code example explaination. The award brings NASA a step closer to the first robotic round trip to bring samples safely to Earth through the Mars Sample Return Program. Insert the values into their appropriate position in the binary search tree and return the root of the updated binary tree. Return to all comments →. a. Problem solution in Python. Home; About; Contact;. In this post, we will solve HackerRank Flipping the Matrix Problem Solution. Contributions. Mars Exploration HackerRank Solution in C, C++, Java, Python. luckBalance has the following parameter (s): k: the number of important contests Lena can lose. cpp at master · c650/hackerrank-solutionsHere's my solution in python def marsExploration ( s ) : count = 0 s1 = int ( len ( s ) / 3 ) * "SOS" for i in range ( 0 , len ( s )) : if s [ i ] != s1 [ i ] : count = count + 1 return cnt ; } 0 |HackerRank solution for Mars Exploration in C++. Sami's spaceship crashed on Mars! She sends a series of SOS messages to Earth for. Julius Caesar protected his confidential information by encrypting it using a cipher. HackerRank Alternating Characters Interview preparation kit solution. Letters in some of the SOS messages are altered by cosmic. YASH PAL May 08, 2021. YASH PAL July 17, 2021. md","contentType":"file"},{"name":"a-very-big. We use cookies to ensure you have the best browsing experience on our website. In this HackerRank CamelCase problem, you have Give s, determine the number of words in s. java","contentType":"file"},{"name. ` public static void insertionSort2(int n, List arr){ for(int i=1;iHackerRank Diagonal Difference problem solution. // If there are an odd number of "x" values. To do this, you are allowed to delete zero or more characters in the string. Link. A description of the problem can be found on Hackerrank. || Hindi || Mars exploration strings hackerrank solution in C if you have any problems with c programming then comment down below. It sends a series of “SOS” messages to Earth for help. Given the signal received by Earth as a string, s, determine how many letters of Sami's SOS have been changed by radiation. In the special case where we already have the max number of. We use cookies to ensure you have the best browsing experience on our website. py","path":"algorithms/3d-surface-area. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"Game_of_two_stacks","path":"Game_of_two_stacks","contentType":"file"},{"name":"README. Sami’s spaceship crashed on Mars! She sends a series of SOS messages to Earth for help. Sorting One common task for computers is to sort data. In this challenge, we practice calculating a weighted mean. This tutorial is only for Educational and Learning Purpose. 4 of 6; Test your code You can compile your code and test it for errors and accuracy before submitting. Yes, I want to unlock. 2. Mars Exploration. porter@nasa. Function Description. In other words, you. HackerRank | Prepare; Certify; Compete; Apply; Hiring developers? Log In; Sign Up; Prepare. 4 of 6; Test your code You can compile your code and test it for errors and accuracy before submitting. YASH PAL April 18, 2021. Function Description. In this HackerRank Crossword Puzzle Interview preparation kit problem you need to Complete the crosswordPuzzle function. The goal of this series is to keep the code as concise and efficient as possible. Contribute to Muthung/HackerRank development by creating an account on GitHub. java","contentType":"file"},{"name. realNameHidden. The first line contains an integer, , the number of players. py. Letters in some of the SOS messages are altered by cosmic radiation during transmission. com Mars Exploration. But remember. Alternating Characters. Implementation":{"items":[{"name":"001. She must buy the house in one year and sell it in another, and she must do so at a loss. java","path":"Algorithms/Strings. 5 of 6; Submit to see results When you're ready, submit your solution! Remember, you can go back and refine your code anytime. Array is sorted in numSwaps swaps. Please read our This is the Java solution for the Hackerrank problem – Mars Exploration – Hackerrank Challenge – Java Solution. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"A Small Step Toward Calculators. HackerRank Big Sorting problem solution. We then print node 's distance to nodes. Mars Exploration is a problem statement chosen from HackerrankThis hackerrank problem is a part of Practice | Algorithms| Implementation | Mars. Starting with a 1-indexed array of zeros and a list of operations, for each operation add a value to each of the array element between two given indices, inclusive. Please read our ","renderedFileInfo":null,"shortPath":null,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"repoOwner. Discussions. All HackerRank solutions. [MySQL Solution] Aggregation. *; Disclaimer: The above Problem ( Migratory Birds) is generated by Hacker Rank but the Solution is Provided by CodingBroz. Solutions. For. Mars Exploration. And counted the changed letters. Longer. 4 of 6; Test your code You can compile your code and test it for errors and accuracy before submitting. You have not made any submissions for Mars Exploration yet. Peruse Marc S Cakewalk Hackerrank Solution Java 8 Hackerrank Algorithms trade goods, offerings, and more in your neighborhood area. This is mostly for my personal learning and future references, and if anyone needs help with a certain problem. Append integer to sequence . Code your solution in our custom editor or code in your own environment and upload your solution as a file. Merge Sort: Counting Inversions HackerRank Solution. We perform the following sequence of operations: Add a contact named hack. gitattributes","path. HackerRank Game of Thrones I problem solution. 8 months ago + 0 comments. java","path":"Algorithms/Strings. This challenge is labelled with the difficulty level of easy on the platform. This is an easy problem we can experiment with. py","path":"Algorithms/03. To see every contributors, please reference at here. Sock Merchant. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"ReadMe. . py","path":"Algorithms/03. Caesar Cipher HackerRank Solution. 2. Sami's spaceship crashed on Mars! She sends a series of SOS messages to Earth for help. Letters in some of the SOS messages are altered by cosmic radiation during transmission. Once sorted, print the following lines:. A space explorer's ship crashed on Mars! They send a series of SOS messages to Earth for help. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"Cracking the Coding Interview","path":"Cracking the Coding Interview","contentType. Once all operations have been performed, return the maximum value in your array. Given the signal received by Earth as a string, , determine how many letters of Sami's SOS have been changed by radiation. {"payload":{"allShortcutsEnabled":false,"fileTree":{"Algorithms":{"items":[{"name":"README. size(); // size of string int num_of_msgs = length/3; // number of SOS messages int counter = 0; // to count modifications for (int j =. September 201631. {"payload":{"allShortcutsEnabled":false,"fileTree":{"Algorithms/Strings/Beautiful Binary String":{"items":[{"name":"Solution. where is the number of swaps that took place. Please read our {"payload":{"allShortcutsEnabled":false,"fileTree":{"Algorithms/Game Theory/Game of Stones":{"items":[{"name":"Solution. The left-to-right diagonal = 1+5+9 = 15. Join our. 6 of 6 {"payload":{"allShortcutsEnabled":false,"fileTree":{"Algorithms/02. cpp. Task There are urns labeled , , and . . 6 of 6{"payload":{"allShortcutsEnabled":false,"fileTree":{"Algorithms/Strings/Caesar Cipher":{"items":[{"name":"Solution. I divided the whole string into to 3-character parts. Urn contains red balls and black balls. Submissions. HackerRank Crossword Puzzle Interview preparation kit solution. Letters in some of the SOS messages are altered by cosmic radiation during transmission. Code your solution in our custom editor or code in your own environment and upload your solution as a file. HackerRank Marc's Cakewalk problem solution. If the shift takes you past the end of the alphabet, just rotate back to the front of the alphabet. Letters in some of the SOS messages are altered by cosmic radiation during transmission. {"payload":{"allShortcutsEnabled":false,"fileTree":{"ProblemSolving/Python/Strings":{"items":[{"name":"anagram. py. HackerRank Solutions in Python3. Mars Exploration HackerRank in a String!. {"payload":{"allShortcutsEnabled":false,"fileTree":{"Algorithms/Strings/Mars Exploration":{"items":[{"name":"Solution. Sami's spaceship crashed on Mars! She sends a series of SOS messages to Earth for help. YASH PAL March 17, 2021. 1. Time Complexity: O (n) //entire string traversal is required once. Given the signal received by Earth as a string, , determine how many letters of Sami's SOS have been changed by radiation. If you find any difficulty after trying several times, then you can look for solutions. When you choose a character to remove, all instances of that character must be removed. Task Given an array, , of size distinct elements, sort the array in ascending order using the Bubble Sort algorithm above. Letters in some of the SOS messages are altered by cosmic radiation during transmission. Shortest Path to Get All Keys in JavaScript. 5 of 6; Submit to see results When you're ready, submit your solution! Remember, you can go back and refine your code anytime. Please read our{"payload":{"allShortcutsEnabled":false,"fileTree":{"Algorithms/Strings/Mars Exploration":{"items":[{"name":"Solution. . The right to left diagonal = 3+5+9=17. Hackerrank - Mars Exploration Solution. One more thing to add, don’t directly look for the solutions, first try to solve the problems of Hackerrank by yourself. For each query, we add an element to our return array, . Each cupcake has a calorie count, and Marc can walk a distance to expend those calories. cpp","path":"A Small Step Toward Calculators. Please read ourWe use cookies to ensure you have the best browsing experience on our website. Ignore case. Each query is one of these three types: 1 x -Push the element x into the stack. Many of the challenges on HackerRank are difficult and assume that you already know the relevant algorithms. Day 14: Scope HackerRank Solution. Sparse Arrays HackerRank Solution. Each flavor has a cost associated with it. Please read our 10Days of JS 30Days of Code Algorithm Android Debug Bridge Android Debugging Basic for Web Blog Browsers Chrome으로 Android Debugging 방법 Correctness and the Loop Invariant hackerrank solution in javascript Debug Tools Development Environment in MacOS ES6 Front-End Funny String of Algorithms hackerrank solution in javascript Funny String. Code your solution in our custom editor or code in your own environment and upload your solution as a file. Tree: Huffman Decoding HackerRank Solution. 6 of 6Day 14: Scope HackerRank Solution; Day 13: Abstract Classes HackerRank Solution; Day 12: Inheritance HackerRank Solution; Day 11: 2D Arrays HackerRank Solution; Day 10: Binary Numbers HackerRank Solution; Day 9: Recursion 3 HackerRank Solution; Day 8: Dictionaries and Maps HackerRank Solution; Day 7: Arrays HackerRank SolutionDay 13: Abstract Classes HackerRank Solution. Peruse Hackerrank S 3 Month Prep Kit Challenge Java Mars Exploration Solution Explained In Detail buy items, services, and more in your community area. We use cookies to ensure you have the best browsing experience on our website. BE FAITHFUL TO YOUR WORK. c","contentType. There is a collection of input strings and a collection of query strings. py. Given the signal received by Earth as a string, , determine how many letters of Sami's SOS have been changed by radiation. Please read our {"payload":{"allShortcutsEnabled":false,"fileTree":{"algorithms":{"items":[{"name":"3d-surface-area. Day 19: Interfaces HackerRank Solution. {"payload":{"allShortcutsEnabled":false,"fileTree":{"Algorithms/Strings/Morgan and a String":{"items":[{"name":"Solution. For. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"A Small Step Toward Calculators. HackerRank Caesar Cipher problem solution. 2. We use cookies to ensure you have the best browsing experience on our website. Solve Mars Exploration. Mars Exploration Hackerrank Solution - java 8| Hackerrank Algorithm. If Marc has eaten cupcakes so far, after eating a cupcake with calories he must walk at least miles to maintain his weight. . A description of the problem can be found on Hackerrank. java","path":"Easy/A very big sum. Home; About; Contact;. Determine if the columns are also in ascending alphabetical order, top to bottom. The page is a good start for people to solve these problems as the time constraints are rather forgiving. ; Given , print the number of words in on. cost: an integer array denoting the cost of each flavor of ice cream. Determine which type of bird in a flock occurs at the highest frequency. // For an element in A, if there's a matching element in B, this creates a "beautiful pair". Counter game HackerRank Solution. Complete the luckBalance function in the editor below. Solution. We use cookies to ensure you have the best browsing experience on our website. We use cookies to ensure you have the best browsing experience on our website. You have an empty sequence, and you will be given queries. . cpp","path":"2D_Array_DS. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"README. 0:00 / 7:02 Mars Exploration # HackerRank PulsDaily 85 subscribers Subscribe 2 205 views 1 year ago HackerRank Solution Problem -. 00. Mars Exploration. cs","path":"Algorithms/Strings/Strong Password. We recommend you review today's Probability Tutorial before attempting this challenge. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":". {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"A frog jumping(1077A)","path":"A frog jumping(1077A)","contentType":"file"},{"name":"AI. In this HackerRank in a String! the problem, For each query, print YES on a new line if the string contains hackerrank,. Participants are ranked by score. This is definitely not an easy question. This is a pythonesque solution by Jay Mistry. 4 of 6; Test your code You can compile your code and test it for errors and accuracy before submitting. java","contentType":"file"},{"name. HackerRank Minimum Loss problem solution. 00 uwi 01 15. 5 of 6; Submit to see results When you're ready, submit your solution! Remember, you can go back and refine your code anytime. Code your solution in our custom editor or code in your own environment and upload your solution as a file. e. py. The challenge. , ). 5 of 6; Submit to see results When you're ready, submit your solution! Remember, you can go back and refine your code anytime. Array is sorted in numSwaps swaps. {"payload":{"allShortcutsEnabled":false,"fileTree":{"Algorithms/Implementation/Equalize the Array":{"items":[{"name":"Solution. You will be given a number of queries. Two brackets are considered to be a matched pair if the an opening bracket (i. {"payload":{"allShortcutsEnabled":false,"fileTree":{"Algorithmic Challenges":{"items":[{"name":"A Very Big Sum. It must return a boolean true if the graph contains a cycle, or false. One needs to know regexes and sets to solve this (at least, to solve it in a reasonable way). Solution to the exercises of the second week of the hackerrank kit, from Lonely Interger to Mars Exploration. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"3D surface area hackerrank","path":"3D surface area hackerrank","contentType":"file"},{"name. Problem solution in Python programming. For each query, you will be given a list of edges describing an undirected graph. The Algorithms Domain Falls under a broader Problem Solving Skill Set in HackerRank which consists of both Data Structures and Algorithms. {"payload":{"allShortcutsEnabled":false,"fileTree":{"ProblemSolving/Python/Implementation":{"items":[{"name":"acm_icpc_team. Please read ourLocked stub code in the Solution class handles the following input from stdin: . See the original problem on HackerRank. // We first find the most significant bit that we can force to differ by looking at L and R. For example, consider the dataset . Mars Exploration. Mars Exploration HackerRank Solution. janet. Strings":{"items":[{"name":"001. Solution Approach: Here, SOS is of 3 letters. Code your solution in our custom editor or code in your own environment and upload your solution as a file. e, how many hours, minutes or seconds ago. cs","path":"Algorithms/Implementation. In this HackerRank Lonely Integer problem solution, we have Given an array of integers, where all elements but one occur twice, find the unique element. md","path":"ReadMe. A description of the problem can be found on Hackerrank. Hackerrank – Circular Array Rotation. Submissions. Function Description. A space explorer's ship crashed on Mars! They send a series of SOS messages to Earth for help. Strings":{"items":[{"name":"001. Complete the inOrder function in your editor below, which has parameter: a pointer to the root of a binary tree. #hackerranksolutions #hackerrank #hackerrankpush #javascriptFunction Description. Your task is to find the minimum number of required deletions. Mars Exploration. py","path":"ProblemSolving/Python/Strings/anagram. , for the first element through the element). In the previous challenge, you wrote a partition method to split an array into two sub-arrays, one containing smaller elements and one containing larger elements than a given. Code your solution in our custom editor or code in your own environment and upload your solution as a file. We use cookies to ensure you have the best browsing experience on our website. This problem (Mars Exploration) is a part of HackerRank Problem Solving series. length - res. Sami's spaceship crashed on Mars! She sends a series of SOS messages to Earth for help. readline (). easy java solution. Array Manipulation HackerRank Solution. cs","path":"Algorithms/Strings/camelCase/Solution. ^ x) where there is an even number of "x" values will give 0. , (, [, or {) occurs to the left of a closing bracket (i. // We know that a number XORed with itself is 0. 11. Write the. We use cookies to ensure you have the best browsing experience on our website. Cut a. Editorial. 4 of 6; Test your code You can compile your code and test it for errors and accuracy before submitting. Please read our Hackerrank – Mars Exploration. 6 of 6Code your solution in our custom editor or code in your own environment and upload your solution as a file. Day 6: Let's Review HackerRank Solution. py","path":"ProblemSolving/Python/Strings/anagram. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"README. View Problem Statement; View Solution; Problem Explanation: A series of "SOS" messages are send. The image below depicts the bottom-left corner (i. To determine whether a string is funny, create a copy of the string in reverse e. This video contains solution to HackerRank "Mars Exploration" problem. Today we're expanding our knowledge of Strings and combining it with what we've already learned about loops. Please read our{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"3D surface area hackerrank","path":"3D surface area hackerrank","contentType":"file"},{"name. Find the median of the updated list (i. {"payload":{"allShortcutsEnabled":false,"fileTree":{"Algorithms/Game Theory/Tower Breakers":{"items":[{"name":"Solution. java","path":"Algorithms/Game Theory/Game of. Please read ourIn this HackerRank Strong Password problem, Give the string she typed, can you find the minimum number of characters she must add to make her password strong. java","path":"Algorithms/Game Theory/Game of. In other words, inverted elements and are considered to be "out of order". stdin. For each digit in "n" that is a 0, we can have the corresponding digit. Mars Exploration. regex. 4 of 6; Test your code You can compile your code and test it for errors and accuracy before submitting. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"C++_Code","path":"C++_Code","contentType":"directory"},{"name":"Breaking the Records. Algorithms. Letters in some of the SOS messages are altered by cosmic radiation during transmission. We use cookies to ensure you have the best browsing experience on our website. // To maximize A xor B, we want A and B to differ as much as possible at every bit index. They pick a number and check to see if it is a power of . Solution. 6 of 6{"payload":{"allShortcutsEnabled":false,"fileTree":{"ProblemSolving/Python/Strings":{"items":[{"name":"anagram. md","path":"ReadMe. {"payload":{"allShortcutsEnabled":false,"fileTree":{"Algorithms/Strings/Beautiful Binary String":{"items":[{"name":"Solution. and if you personally want. This is the c# solution for the. The running time of an algorithm for a specific input depends on the number of operations executed. Sean invented a game involving a 2n x 2n matrix where each cell of the matrix contains an integer. py","path":"ProblemSolving/Python/Strings/anagram. HackerRank 'Strong Password' Solution. cpp. solución ejercicio hackerRank mars exploration. Given the signal received by Earth as a string, , determine how many letters of the SOS message have been changed by radiation. py. 5 of 6; Submit to see results When you're ready, submit your solution! Remember, you can go back and refine your code anytime. The shortest distances from to the other nodes are one edge to node , one edge to node , and there is no connection to node . e. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"2D Arrays","path":"2D Arrays","contentType":"file"},{"name":"A Very Big Sum","path":"A Very. Solution: {"payload":{"allShortcutsEnabled":false,"fileTree":{"Algorithms/03. Home; About; Contact;. 5 of 6; Submit to see results When you're ready, submit your solution! Remember, you can go back and refine your code anytime. md","contentType":"file"},{"name":"absolute_permutation. In this HackerRank Game of Thrones - I problem solution we have given a string, determine if it can be rearranged into a palindrome. gov. The simplest solution consists in counting how many characters mismatch:She wants to cut a subtree (i. Find and print the number of contact names beginning with hak. py","path":"Algorithms/Strings/alternating. java","path":"Easy/A very big sum. Add a contact named hackerrank. Given the signal received by Earth as a string, , determine how many letters of Sami's SOS have been changed by radiation. In level order traversal, we visit the nodes level by level from left to right. java","path":"Problem Solving. Hello Guys, Here is the Solution of Mars Exploration in Hackerrank using Javascript. Problem. Sort the array's elements in non-decreasing, or ascending order of their integer values and return the sorted array. Cut a subtree consisting of all nodes which are not further than r units from node x . Grid Challenge HackerRank Solution. See the problem statement, the code snippets, and the explanations for. . java","path":"Algorithms/Strings/String. Then I checked for each triplet if first character is equal to S, second to O and third to S. Check out the Tutorial tab for learning materials and an instructional video! Given a string, , of length that is indexed from to , print its even-indexed and odd-indexed characters as space. A collection of solutions and explanations of Hackerrank. Problem Link:- /* * Author:- Rahul Malhotra * Source:- Programming Vidya * Description:- Solution for HackerR… {"payload":{"allShortcutsEnabled":false,"fileTree":{"Algorithms/Strings":{"items":[{"name":"alternating-characters. Solution. ; Last Element: lastElementWe use cookies to ensure you have the best browsing experience on our website. py","path. After finding "h" it will increase a and now "hackerrank" [1] = "a" which means it will start searching "a" in rest of the string then "c" then "k" up to the end. #hackerrank. For today’s algorithm, we are going to write a function called marsExploration that will take in one string s as input. py","path":"Algorithmic Challenges/A Very Big Sum. Customer Stories. Your email address will not be. Then I checked for each triplet if first character is equal to S, second to O and third to S. Task Given an array, , of integers and an array, , representing the respective weights of 's elements, calculate and print the weighted mean of 's elements. m. If it appears an even. Please read ourOnce that's done, we must dequeue the first character from the queue and pop the top character off the stack, then compare the two characters to see if they are the same; as long as the characters match, we continue dequeueing, popping, and comparing each character until our containers are empty (a non-match means isn't a palindrome). Janet Sudnik / Molly Porter. Given the signal received by Earth as a string, s, determine how many letters of the. Given an array, , of integers and an array, , representing the respective frequencies of 's elements,. // Additionaly, We MUST change exactly 1 element in B. In this HackerRank Diagonal Difference problem solution Given a square matrix, calculate the absolute difference between the sums of its diagonals. , other users in their network are able to view this new post on their news feed. In Insertion Sort Part 1, you inserted one element into an array at its correct sorted position. 83 - Mars Exploration | Strings | Hackerrank Solution | Python. Hash Tables: Ice Cream Parlor HackerRank Solution. Mars Exploration. The first line contains an integer, , denoting the number of entries in the phone book. Leave a Comment Cancel reply. java","path":"Algorithms/Strings/Super. icecreamParlor has the following parameter (s): m: an integer denoting the amount of money they have to spend. split())) if k1 > k2: c2, c1 = c1. cs. Here's my solution in python def marsExploration ( s ) : count = 0 s1 = int ( len ( s ) / 3 ) * "SOS" for i in range ( 0 , len ( s )) : if s [ i ] != s1 [ i ] : count = count + 1 return cnt ; } 0 | 83 - Mars Exploration | Strings | Hackerrank Solution | Python. {"payload":{"allShortcutsEnabled":false,"fileTree":{"Interview Preparation Kit/05 - String Manipulation":{"items":[{"name":"01 - Strings - Making Anagrams. readline (). Check out the Tutorial tab for learning materials and an instructional video! Given an array, , of integers, calculate the respective first quartile ( ), second quartile ( ), and third quartile ( ).