SYMBOL INDEX (1049 symbols across 588 files) FILE: Day of the Week/kata.py class Solution (line 2) | class Solution: method dayOfTheWeek (line 3) | def dayOfTheWeek(self, d: int, m: int, y: int) -> str: FILE: 3042. Count Prefix and Suffix Pairs I/kata.py class Solution (line 3) | class Solution: method countPrefixSuffixPairs (line 4) | def countPrefixSuffixPairs(self, words: List[str]) -> int: method isPrefixAndSuffix (line 12) | def isPrefixAndSuffix(self, a: str, b :str) -> bool: FILE: A Number After a Double Reversal/kata.go function isSameAfterReversals (line 3) | func isSameAfterReversals(num int) bool { FILE: Account Balance After Rounded Purchase/kata.go function accountBalanceAfterPurchase (line 3) | func accountBalanceAfterPurchase(purchaseAmount int) int { FILE: Accounts Merge/kata.go function accountsMerge (line 5) | func accountsMerge(accounts [][]string) [][]string { function merge (line 27) | func merge(accounts [][]string, toDelete map[int]bool) bool { function emailUnion (line 48) | func emailUnion(a []string, startIdx int) []string { FILE: Add Binary/kata.go function addBinary (line 3) | func addBinary(a string, b string) string { FILE: Add Digits/kata.go function addDigits (line 3) | func addDigits(num int) int { function sumFunc (line 16) | func sumFunc(num int) (int, int) { FILE: Add One Row to Tree/kata.go type TreeNode (line 3) | type TreeNode struct function addOneRow (line 9) | func addOneRow(root *TreeNode, v int, d int) *TreeNode { function add (line 17) | func add(node *TreeNode, count, v, d int) { FILE: Add Strings/kata.go function addStrings (line 3) | func addStrings(num1 string, num2 string) string { function sumFunc (line 14) | func sumFunc(num1, num2 string) string { function padding (line 39) | func padding(num2, num1 string) string { FILE: Add Two Integers/kata.go function sum (line 3) | func sum(num1 int, num2 int) int { FILE: Adding Spaces to a String/kata.go function addSpaces (line 3) | func addSpaces(s string, spaces []int) string { FILE: All Elements in Two Binary Search Trees/kata.go type TreeNode (line 5) | type TreeNode struct function getAllElements (line 11) | func getAllElements(root1 *TreeNode, root2 *TreeNode) []int { function inorder (line 21) | func inorder(node *TreeNode, list *[]int) { FILE: Allow One Function Call/kata.ts type JSONValue (line 1) | type JSONValue = null | boolean | number | string | JSONValue[] | { [key... type OnceFn (line 2) | type OnceFn = (...args: JSONValue[]) => JSONValue | undefined function once (line 4) | function once(fn: Function): OnceFn { FILE: Alternating Digit Sum/kata.java class Solution (line 1) | class Solution { method alternateDigitSum (line 2) | public int alternateDigitSum(int n) { FILE: Ant on the Boundary/kata.go function returnToBoundaryCount (line 1) | func returnToBoundaryCount(nums []int) int { FILE: Apple Redistribution into Boxes/kata.go function minimumBoxes (line 5) | func minimumBoxes(apple []int, capacity []int) int { FILE: Apply Discount Every n Orders/kata.go type Cashier (line 3) | type Cashier struct method GetBill (line 23) | func (this *Cashier) GetBill(product []int, amount []int) float64 { function Constructor (line 10) | func Constructor(n int, discount int, products []int, prices []int) Cash... FILE: Apply Transform Over Each Element in Array/kata.ts function map (line 1) | function map(arr: number[], fn: (n: number, i: number) => number): numbe... FILE: Armstrong Number/kata.go function isArmstrong (line 5) | func isArmstrong(n int) bool { FILE: Arranging Coins/kata.go function arrangeCoins (line 3) | func arrangeCoins(n int) int { FILE: Array Partition I/kata.go function arrayPairSum (line 5) | func arrayPairSum(a []int) int { FILE: Array Reduce Transformation/kata.ts type Fn (line 1) | type Fn = (accum: number, curr: number) => number function reduce (line 3) | function reduce(nums: number[], fn: Fn, init: number): number { FILE: Array Wrapper/kata.ts class ArrayWrapper (line 1) | class ArrayWrapper { method constructor (line 5) | constructor(nums: number[]) { method valueOf (line 9) | valueOf(): number { method toString (line 17) | toString(): string { FILE: Assign Cookies/kata.go function findContentChildren (line 5) | func findContentChildren(g []int, s []int) int { FILE: Average Salary Excluding the Minimum and Maximum Salary/kata.go function average (line 5) | func average(salary []int) float64 { FILE: Average Value of Even Numbers That Are Divisible by Three/kata.java class Solution (line 1) | class Solution { method averageValue (line 2) | public int averageValue(int[] nums) { FILE: Average of Levels in Binary Tree/kata.go type TreeNode (line 5) | type TreeNode struct function averageOfLevels (line 11) | func averageOfLevels(node *TreeNode) []float64 { FILE: Backspace String Compare/kata.go function backspaceCompare (line 3) | func backspaceCompare(S string, T string) bool { function mod (line 7) | func mod(S string) string { FILE: Base 7/kata.go function convertToBase7 (line 3) | func convertToBase7(num int) string { FILE: Baseball Game/kata.go function calPoints (line 5) | func calPoints(ops []string) int { FILE: Basic Calculator II/kata.go function calculate (line 7) | func calculate(s string) int { constant NumberKind (line 13) | NumberKind = iota constant PlusKind (line 14) | PlusKind constant MinusKind (line 15) | MinusKind constant MultiplyKind (line 16) | MultiplyKind constant DvisionKind (line 17) | DvisionKind type Node (line 20) | type Node struct constant Multiply (line 28) | Multiply byte = 42 constant Dvision (line 29) | Dvision byte = 47 constant Plus (line 30) | Plus byte = 43 constant Minus (line 31) | Minus byte = 45 function Parse (line 34) | func Parse(expression []byte) *list.List { function Eval (line 70) | func Eval(nodes *list.List) int { FILE: Best Poker Hand/kata.go function bestHand (line 3) | func bestHand(ranks []int, suits []byte) string { FILE: Best Time to Buy and Sell Stock/kata.go function maxProfit (line 3) | func maxProfit(prices []int) int { FILE: Binary Gap/kata.go function binaryGap (line 3) | func binaryGap(n int) int { FILE: Binary Number with Alternating Bits/kata.go function hasAlternatingBits (line 3) | func hasAlternatingBits(n int) bool { FILE: Binary Prefix Divisible By 5/kata.py class Solution (line 1) | class Solution(object): method prefixesDivBy5 (line 2) | def prefixesDivBy5(self, nums): FILE: Binary Search Tree Iterator/kata.go type TreeNode (line 5) | type TreeNode struct type BSTIterator (line 11) | type BSTIterator struct method Next (line 42) | func (this *BSTIterator) Next() int { method HasNext (line 49) | func (this *BSTIterator) HasNext() bool { function Constructor (line 15) | func Constructor(root *TreeNode) BSTIterator { function populateStack (line 26) | func populateStack(node *TreeNode, stack *[]int) { FILE: Binary Tree Inorder Traversal/kata.go type TreeNode (line 3) | type TreeNode struct function inorderTraversal (line 9) | func inorderTraversal(root *TreeNode) []int { function traversal (line 15) | func traversal(node *TreeNode, list *[]int) { FILE: Binary Tree Paths/kata.go type TreeNode (line 5) | type TreeNode struct function binaryTreePaths (line 11) | func binaryTreePaths(root *TreeNode) []string { function allPaths (line 20) | func allPaths(node *TreeNode, s string, all *[]string) { FILE: Binary Tree Postorder Traversal/kata.go type TreeNode (line 3) | type TreeNode struct function postorderTraversal (line 9) | func postorderTraversal(root *TreeNode) []int { function traversal (line 15) | func traversal(node *TreeNode, list *[]int) { FILE: Binary Tree Preorder Traversal/kata.go type TreeNode (line 3) | type TreeNode struct function preorderTraversal (line 9) | func preorderTraversal(root *TreeNode) []int { function traversal (line 15) | func traversal(node *TreeNode, list *[]int) { FILE: Build Array from Permutation/kata.go function buildArray (line 3) | func buildArray(nums []int) []int { FILE: Buildings With an Ocean View/kata.java class Solution (line 1) | class Solution { method findBuildings (line 2) | public int[] findBuildings(int[] heights) { FILE: Bulls and Cows/kata.go function getHint (line 5) | func getHint(secret string, guess string) string { FILE: Calculate Amount Paid in Taxes/kata.go function calculateTax (line 3) | func calculateTax(brackets [][]int, income int) float64 { FILE: Calculate Money in Leetcode Bank/kata.go function totalMoney (line 3) | func totalMoney(n int) int { FILE: Calculator with Method Chaining/kata.js class Calculator (line 1) | class Calculator { method constructor (line 6) | constructor(value) { method add (line 15) | add(value){ method subtract (line 24) | subtract(value){ method multiply (line 33) | multiply(value) { method divide (line 42) | divide(value) { method power (line 56) | power(value) { method getResult (line 64) | getResult() { FILE: Can Make Arithmetic Progression From Sequence/kata.go function canMakeArithmeticProgression (line 5) | func canMakeArithmeticProgression(arr []int) bool { FILE: Can Place Flowers/kata.go function canPlaceFlowers (line 3) | func canPlaceFlowers(flowerbed []int, n int) bool { FILE: Capitalize the Title/kata.go function capitalizeTitle (line 3) | func capitalizeTitle(title string) string { FILE: Categorize Box According to Criteria/kata.java class Solution (line 1) | class Solution { method categorizeBox (line 2) | public String categorizeBox(int length, int width, int height, int mas... FILE: Cells with Odd Values in a Matrix/kata.go function oddCells (line 3) | func oddCells(n int, m int, indices [][]int) int { FILE: Change Data Type/kata.py function changeDatatype (line 3) | def changeDatatype(students: pd.DataFrame) -> pd.DataFrame: FILE: Check Distances Between Same Letters/kata.java class Solution (line 1) | class Solution { method checkDistances (line 2) | public boolean checkDistances(String s, int[] distance) { FILE: Check If All 1's Are at Least Length K Places Away/kata.go function kLengthApart (line 3) | func kLengthApart(nums []int, k int) bool { FILE: Check If N and Its Double Exist/kata.go function checkIfExist (line 3) | func checkIfExist(arr []int) bool { FILE: Check If Two String Arrays are Equivalent/kata.go function arrayStringsAreEqual (line 3) | func arrayStringsAreEqual(word1 []string, word2 []string) bool { FILE: Check If a Number Is Majority Element in a Sorted Array/kata.java class Solution (line 1) | class Solution { method isMajorityElement (line 2) | public boolean isMajorityElement(int[] nums, int target) { FILE: Check If a Word Occurs As a Prefix of Any Word in a Sentence/kata.go function isPrefixOfWord (line 3) | func isPrefixOfWord(sentence string, searchWord string) int { FILE: Check Whether Two Strings are Almost Equivalent/kata.go function checkAlmostEquivalent (line 5) | func checkAlmostEquivalent(word1 string, word2 string) bool { FILE: Check if All A's Appears Before All B's/kata.go function checkString (line 3) | func checkString(s string) bool { FILE: Check if All Characters Have Equal Number of Occurrences/kata.go function areOccurrencesEqual (line 5) | func areOccurrencesEqual(s string) bool { FILE: Check if Binary String Has at Most One Segment of Ones/kata.go function checkOnesSegment (line 3) | func checkOnesSegment(s string) bool { FILE: Check if Bitwise OR Has Trailing Zeros/kata.go function hasTrailingZeros (line 3) | func hasTrailingZeros(nums []int) bool { FILE: Check if Number Has Equal Digit Count and Digit Value/kata.go function digitCount (line 3) | func digitCount(num string) bool { FILE: Check if Numbers Are Ascending in a Sentence/kata.go function areNumbersAscending (line 5) | func areNumbersAscending(s string) bool { FILE: Check if One String Swap Can Make Strings Equal/kata.go function areAlmostEqual (line 3) | func areAlmostEqual(s1 string, s2 string) bool { FILE: Check if The Number is Fascinating/kata.go function isFascinating (line 3) | func isFascinating(n int) bool { function countDigits (line 15) | func countDigits(n int, stats *[9]int, tracker *int) bool { FILE: Check if Word Equals Summation of Two Words/kata.go function isSumEqual (line 3) | func isSumEqual(firstWord string, secondWord string, targetWord string) ... function sum (line 7) | func sum(s string) int { FILE: Check if an Array Is Consecutive/kata.go function isConsecutive (line 5) | func isConsecutive(nums []int) bool { FILE: Check if the Sentence Is Pangram/kata.go function checkIfPangram (line 3) | func checkIfPangram(sentence string) bool { FILE: Climbing Stairs/kata.go function climbStairs (line 3) | func climbStairs(n int) int { FILE: Compare Strings by Frequency of the Smallest Character/kata.go function numSmallerByFrequency (line 5) | func numSmallerByFrequency(queries []string, words []string) []int { function f (line 27) | func f(s []byte) int { FILE: Complement of Base 10 Integer/kata.go function bitwiseComplement (line 5) | func bitwiseComplement(N int) int { FILE: Concatenation of Array/kata.go function getConcatenation (line 3) | func getConcatenation(nums []int) []int { FILE: Confusing Number/kata.java class Solution (line 1) | class Solution { method confusingNumber (line 2) | public boolean confusingNumber(int num) { FILE: Consecutive Characters/kata.go function maxPower (line 5) | func maxPower(s string) int { FILE: Construct Binary Search Tree from Preorder Traversal/kata.go function bstFromPreorder (line 11) | func bstFromPreorder(preorder []int) *TreeNode { function build (line 24) | func build(node *TreeNode, v int) { FILE: Construct String from Binary Tree/kata.java class Solution (line 16) | class Solution { method tree2str (line 17) | public String tree2str(TreeNode root) { method generatePattern (line 22) | private void generatePattern(TreeNode node, StringBuilder pattern) { FILE: Construct the Rectangle/kata.go function constructRectangle (line 5) | func constructRectangle(area int) []int { FILE: Contains Duplicate II/kata.go function containsNearbyDuplicate (line 3) | func containsNearbyDuplicate(nums []int, k int) bool { FILE: Contains Duplicate/kata.go function containsDuplicate (line 3) | func containsDuplicate(nums []int) bool { FILE: Convert 1D Array Into 2D Array/kata.go function construct2DArray (line 3) | func construct2DArray(original []int, m int, n int) [][]int { FILE: Convert Binary Number in a Linked List to Integer/kata.go type NodeBacklink (line 11) | type NodeBacklink struct function getDecimalValue (line 16) | func getDecimalValue(head *ListNode) int { FILE: Convert Integer to the Sum of Two No-Zero Integers/kata.go function getNoZeroIntegers (line 3) | func getNoZeroIntegers(n int) []int { function hasZeros (line 16) | func hasZeros(num int) bool { FILE: Convert a Number to Hexadecimal/kata.go function toHex (line 5) | func toHex(num int) string { FILE: Convert the Temperature/kata.java class Solution (line 1) | class Solution { method convertTemperature (line 2) | public double[] convertTemperature(double celsius) { FILE: Count Asterisks/kata.java class Solution (line 1) | class Solution { method countAsterisks (line 2) | public int countAsterisks(String s) { FILE: Count Common Words With One Occurrence/kata.go function countWords (line 3) | func countWords(words1 []string, words2 []string) int { FILE: Count Complete Tree Nodes/kata.go function countNodes (line 11) | func countNodes(root *TreeNode) int { function count (line 21) | func count(node *TreeNode, c *int) { FILE: Count Elements With Maximum Frequency/kata.go function maxFrequencyElements (line 3) | func maxFrequencyElements(nums []int) int { FILE: Count Elements With Strictly Smaller and Greater Elements/kata.go function countElements (line 5) | func countElements(nums []int) int { FILE: Count Integers With Even Digit Sum/kata.go function countEven (line 5) | func countEven(num int) int { FILE: Count Items Matching a Rule/kata.go function countMatches (line 3) | func countMatches(items [][]string, ruleKey string, ruleValue string) int { FILE: Count Largest Group/kata.java class Solution (line 1) | class Solution { method countLargestGroup (line 2) | public int countLargestGroup(int n) { FILE: Count Negative Numbers in a Sorted Matrix/kata.rs method count_negatives (line 4) | pub fn count_negatives(grid: Vec>) -> i32 { FILE: Count Odd Numbers in an Interval Range/kata.go function countOdds (line 3) | func countOdds(low int, high int) int { FILE: Count Operations to Obtain Zero/kata.go function countOperations (line 3) | func countOperations(num1 int, num2 int) int { function max (line 26) | func max(a, b int) int { function min (line 33) | func min(a, b int) int { FILE: Count Prefixes of a Given String/kata.go function countPrefixes (line 3) | func countPrefixes(words []string, s string) int { FILE: Count Substrings Starting and Ending with Given Character/kata.py class Solution (line 3) | class Solution(object): method countSubstrings (line 4) | def countSubstrings(self, s, c): FILE: Count Tested Devices After Test Operations/kata.go function countTestedDevices (line 3) | func countTestedDevices(batteryPercentages []int) int { FILE: Count Total Number of Colored Cells/kata.go function coloredCells (line 3) | func coloredCells(n int) int64 { FILE: Count of Matches in Tournament/kata.go function numberOfMatches (line 3) | func numberOfMatches(n int) int { FILE: Count the Digits That Divide a Number/kata.java class Solution (line 1) | class Solution { method countDigits (line 2) | public int countDigits(int num) { FILE: Count the Number of Consistent Strings/kata.go function countConsistentStrings (line 3) | func countConsistentStrings(allowed string, words []string) int { FILE: Counter II/kata.ts type Counter (line 1) | type Counter = { function createCounter (line 7) | function createCounter(init: number): Counter { class counter (line 11) | class counter implements Counter { method constructor (line 15) | public constructor(init: number) { method increment (line 20) | public increment() :number { method decrement (line 25) | public decrement() :number { method reset (line 30) | public reset() :number { FILE: Counter/kata.ts function createCounter (line 1) | function createCounter(n: number): () => number { FILE: Counting Bits/kata.go function countBits (line 3) | func countBits(n int) []int { FILE: Counting Elements/kata.go function countElements (line 5) | func countElements(arr []int) int { FILE: Counting Words With a Given Prefix/kata.go function prefixCount (line 3) | func prefixCount(words []string, pref string) int { FILE: Cousins in Binary Tree/kata.go type TreeNodeWrapper (line 14) | type TreeNodeWrapper struct type check (line 20) | type check struct function isCousins (line 25) | func isCousins(node *TreeNode, x int, y int) bool { FILE: Create Hello World Function/kata.ts function createHelloWorld (line 1) | function createHelloWorld() { FILE: Create Target Array in the Given Order/kata.go function createTargetArray (line 3) | func createTargetArray(nums []int, index []int) []int { FILE: Create a DataFrame from List/kata.py function createDataframe (line 3) | def createDataframe(student_data: List[List[int]]) -> pd.DataFrame: FILE: Create a New Column/kata.py function createBonusColumn (line 3) | def createBonusColumn(employees: pd.DataFrame) -> pd.DataFrame: FILE: Custom Sort String/kata.go function customSortString (line 5) | func customSortString(S string, T string) string { FILE: DI String Match/kata.go function diStringMatch (line 3) | func diStringMatch(S string) []int { FILE: Day of the Year/kata.go function dayOfYear (line 7) | func dayOfYear(date string) int { FILE: Decode XORed Array/kata.go function decode (line 3) | func decode(encoded []int, first int) []int { FILE: Decode the Message/kata.go function decodeMessage (line 3) | func decodeMessage(key string, message string) string { FILE: Decompress Run-Length Encoded List/kata.go function decompressRLElist (line 3) | func decompressRLElist(nums []int) []int { FILE: Decrypt String from Alphabet to Integer Mapping/kata.go function freqAlphabets (line 3) | func freqAlphabets(s string) string { FILE: Deepest Leaves Sum/kata.go function deepestLeavesSum (line 11) | func deepestLeavesSum(root *TreeNode) int { function sum (line 18) | func sum(node *TreeNode, maxHeight int, currentHeight int) int { function getHeight (line 38) | func getHeight(node *TreeNode, h int) int { FILE: Defanging an IP Address/kata.go function defangIPaddr (line 3) | func defangIPaddr(address string) string { FILE: Delete Characters to Make Fancy String/kata.go function makeFancyString (line 3) | func makeFancyString(s string) string { FILE: Delete Greatest Value in Each Row/kata.go function deleteGreatestValue (line 5) | func deleteGreatestValue(grid [][]int) int { FILE: Delete Leaves With a Given Value/kata.go function removeLeafNodes (line 11) | func removeLeafNodes(root *TreeNode, target int) *TreeNode { type NodeType (line 23) | type NodeType constant RootNodeType (line 26) | RootNodeType NodeType = 0 constant LeftNodeType (line 27) | LeftNodeType NodeType = 1 constant RightNodeType (line 28) | RightNodeType NodeType = 2 function removeLeafNode (line 31) | func removeLeafNode(parentNode *TreeNode, node *TreeNode, target int, no... FILE: Delete Node in a Linked List/kata.go type ListNode (line 3) | type ListNode struct function deleteNode (line 8) | func deleteNode(node *ListNode) { FILE: Delete the Middle Node of a Linked List/kata.go type ListNode (line 3) | type ListNode struct function deleteMiddle (line 8) | func deleteMiddle(head *ListNode) *ListNode { FILE: Design Add and Search Words Data Structure/kata.go type node (line 3) | type node struct type WordDictionary (line 8) | type WordDictionary struct method AddWord (line 18) | func (this *WordDictionary) AddWord(word string) { method Search (line 30) | func (this *WordDictionary) Search(word string) bool { function Constructor (line 12) | func Constructor() WordDictionary { function searchInNode (line 34) | func searchInNode(rootNode *node, word string) bool { FILE: Design HashMap/kata.go type HashMapValue (line 5) | type HashMapValue struct type MyHashMap (line 10) | type MyHashMap struct method Put (line 25) | func (this *MyHashMap) Put(key int, value int) { method Get (line 37) | func (this *MyHashMap) Get(key int) int { method Remove (line 48) | func (this *MyHashMap) Remove(key int) { function Constructor (line 15) | func Constructor() MyHashMap { FILE: Design HashSet/kata.go type MyHashSet (line 7) | type MyHashSet struct method Add (line 22) | func (this *MyHashSet) Add(key int) { method Remove (line 32) | func (this *MyHashSet) Remove(key int) { method Contains (line 42) | func (this *MyHashSet) Contains(key int) bool { function Constructor (line 12) | func Constructor() MyHashSet { FILE: Design Linked List/kata_test.go type Node (line 3) | type Node struct type MyLinkedList (line 8) | type MyLinkedList struct method Get (line 17) | func (this *MyLinkedList) Get(index int) int { method AddAtHead (line 35) | func (this *MyLinkedList) AddAtHead(val int) { method AddAtTail (line 44) | func (this *MyLinkedList) AddAtTail(val int) { method AddAtIndex (line 63) | func (this *MyLinkedList) AddAtIndex(index int, val int) { method DeleteAtIndex (line 96) | func (this *MyLinkedList) DeleteAtIndex(index int) { function Constructor (line 13) | func Constructor() MyLinkedList { FILE: Design Parking System/kata.go type ParkingSystem (line 3) | type ParkingSystem struct method AddCar (line 22) | func (ps *ParkingSystem) AddCar(carType int) bool { function Constructor (line 7) | func Constructor(big int, medium int, small int) ParkingSystem { constant _ (line 16) | _ = iota constant CarTypeBig (line 17) | CarTypeBig constant CarTypeMedium (line 18) | CarTypeMedium constant CarTypeSmall (line 19) | CarTypeSmall FILE: Design a Stack With Increment Operation/kata.go type CustomStack (line 3) | type CustomStack struct method Push (line 15) | func (this *CustomStack) Push(x int) { method Pop (line 24) | func (this *CustomStack) Pop() int { method Increment (line 35) | func (this *CustomStack) Increment(k int, val int) { function Constructor (line 8) | func Constructor(maxSize int) CustomStack { FILE: Design an Ordered Stream/kata.go type OrderedStream (line 3) | type OrderedStream struct method Insert (line 12) | func (this *OrderedStream) Insert(idKey int, value string) []string { function Constructor (line 8) | func Constructor(n int) OrderedStream { FILE: Destination City/kata.go function destCity (line 3) | func destCity(paths [][]string) string { FILE: Detect Capital/kata.go function detectCapitalUse (line 3) | func detectCapitalUse(word string) bool { FILE: Determine Color of a Chessboard Square/kata.go function squareIsWhite (line 3) | func squareIsWhite(coordinates string) bool { FILE: Determine if String Halves Are Alike/kata.go function halvesAreAlike (line 3) | func halvesAreAlike(s string) bool { function count (line 14) | func count(a string) int { FILE: Determine if Two Events Have Conflict/kata.java class Solution (line 3) | class Solution { method haveConflict (line 4) | public boolean haveConflict(String[] event1, String[] event2) { FILE: Diet Plan Performance/kata.java class Solution (line 1) | class Solution { method dietPlanPerformance (line 2) | public int dietPlanPerformance(int[] calories, int k, int lower, int u... FILE: Difference Between Element Sum and Digit Sum of an Array/kata.java class Solution (line 1) | class Solution { method differenceOfSum (line 2) | public int differenceOfSum(int[] nums) { FILE: Display the First Three Rows/kata.py function selectFirstRows (line 3) | def selectFirstRows(employees: pd.DataFrame) -> pd.DataFrame: FILE: Distinct Numbers in Each Subarray/kata.java class Solution (line 1) | class Solution { method distinctNumbers (line 2) | public int[] distinctNumbers(int[] nums, int k) { FILE: Distribute Candies to People/kata.go function distributeCandies (line 3) | func distributeCandies(candies int, num_people int) []int { FILE: Distribute Elements Into Two Arrays I/kata.go function resultArray (line 3) | func resultArray(nums []int) []int { FILE: Divide Array Into Equal Pairs/kata.go function divideArray (line 5) | func divideArray(nums []int) bool { FILE: Divide a String Into Groups of Size k/kata.go function divideString (line 3) | func divideString(s string, k int, fill byte) []string { FILE: Divisible and Non-divisible Sums Difference/kata.go function differenceOfSums (line 3) | func differenceOfSums(n int, m int) int { FILE: Dot Product of Two Sparse Vectors/kata.go type SparseVector (line 3) | type SparseVector struct method dotProduct (line 18) | func (this *SparseVector) dotProduct(vec SparseVector) int { function Constructor (line 7) | func Constructor(nums []int) SparseVector { FILE: Drop Duplicate Rows/kata.py function dropDuplicateEmails (line 3) | def dropDuplicateEmails(customers: pd.DataFrame) -> pd.DataFrame: FILE: Drop Missing Data/kata.py function dropMissingData (line 3) | def dropMissingData(students: pd.DataFrame) -> pd.DataFrame: FILE: Duplicate Zeros/kata.go function duplicateZeros (line 3) | func duplicateZeros(arr []int) { FILE: Element Appearing More Than 25% In Sorted Array/kata.go function findSpecialInteger (line 3) | func findSpecialInteger(arr []int) int { FILE: Employee Importance/kata.py class Solution (line 16) | class Solution: method getImportance (line 17) | def getImportance(self, employees: List['Employee'], id: int) -> int: method getSubImportance (line 27) | def getSubImportance(self, employees, employee) -> int: FILE: Encode and Decode TinyURL/kata.go type Codec (line 8) | type Codec struct method encode (line 19) | func (c *Codec) encode(longURL string) string { method decode (line 27) | func (c *Codec) decode(shortUrl string) string { function Constructor (line 12) | func Constructor() Codec { constant charset (line 31) | charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" function genID (line 36) | func genID(length int) string { FILE: Equal Row and Column Pairs/kata.go function equalPairs (line 9) | func equalPairs(grid [][]int) int { FILE: Evaluate Boolean Binary Tree/kata.go function evaluateTree (line 11) | func evaluateTree(root *TreeNode) bool { FILE: Evaluate Reverse Polish Notation/kata.go function evalRPN (line 5) | func evalRPN(tokens []string) int { constant NumberKind (line 11) | NumberKind = iota constant PlusKind (line 12) | PlusKind constant MinusKind (line 13) | MinusKind constant MultiplyKind (line 14) | MultiplyKind constant DvisionKind (line 15) | DvisionKind type Node (line 18) | type Node struct constant Multiply (line 24) | Multiply byte = 42 constant Dvision (line 25) | Dvision byte = 47 constant Plus (line 26) | Plus byte = 43 constant Minus (line 27) | Minus byte = 45 function Parse (line 30) | func Parse(tokens []string) *list.List { function Eval (line 89) | func Eval(nodes *list.List) int { function doEval (line 103) | func doEval(nodes *list.List) { FILE: Factorial Trailing Zeroes/kata.go function trailingZeroes (line 5) | func trailingZeroes(n int) int { function init (line 19) | func init() { function factorial (line 25) | func factorial(n *big.Int) *big.Int { FILE: Fibonacci Number/kata.go function fib (line 3) | func fib(N int) int { FILE: Fill Missing Data/kata.py function fillMissingValues (line 3) | def fillMissingValues(products: pd.DataFrame) -> pd.DataFrame: FILE: Filter Elements from Array/kata.ts type Fn (line 1) | type Fn = (n: number, i: number) => any function filter (line 3) | function filter(arr: number[], fn: Fn): number[] { FILE: Filter Restaurants by Vegan-Friendly, Price and Distance/kata.go constant idIndex (line 6) | idIndex int = 0 constant ratingIndex (line 7) | ratingIndex int = 1 constant veganFriendlyIndex (line 8) | veganFriendlyIndex int = 2 constant priceIndex (line 9) | priceIndex int = 3 constant distanceIndex (line 10) | distanceIndex int = 4 function filterRestaurants (line 13) | func filterRestaurants(restaurants [][]int, veganFriendly int, maxPrice ... FILE: Final Prices With a Special Discount in a Shop/kata.go function finalPrices (line 3) | func finalPrices(prices []int) []int { FILE: Final Value of Variable After Performing Operations/kata.go function finalValueAfterOperations (line 3) | func finalValueAfterOperations(operations []string) int { FILE: Find All Duplicates in an Array/kata.go function findDuplicates (line 5) | func findDuplicates(nums []int) []int { FILE: Find All Lonely Numbers in the Array/kata.go function findLonely (line 5) | func findLonely(nums []int) []int { function check (line 23) | func check(nums []int, i int) bool { FILE: Find All Numbers Disappeared in an Array/kata.go function findDisappearedNumbers (line 3) | func findDisappearedNumbers(nums []int) []int { FILE: Find All The Lonely Nodes/kata.java class Solution (line 16) | class Solution { method getLonelyNodes (line 17) | public List getLonelyNodes(TreeNode root) { method countNodes (line 26) | private void countNodes(ArrayList nodes, TreeNode leftNode, T... FILE: Find Anagram Mappings/kata.go function anagramMappings (line 3) | func anagramMappings(nums1 []int, nums2 []int) []int { FILE: Find Bottom Left Tree Value/kata.go type leftLeaf (line 12) | type leftLeaf struct function findBottomLeftValue (line 18) | func findBottomLeftValue(root *TreeNode) int { function findNodes (line 35) | func findNodes(node *TreeNode, level int, leafs *[]leftLeaf, kind int) { FILE: Find Center of Star Graph/kata.go function findCenter (line 3) | func findCenter(edges [][]int) int { FILE: Find Closest Number to Zero/kata.go function findClosestNumber (line 8) | func findClosestNumber(nums []int) int { FILE: Find Common Characters/kata.go function commonChars (line 3) | func commonChars(words []string) []string { FILE: Find First Palindromic String in the Array/kata.go function firstPalindrome (line 3) | func firstPalindrome(words []string) string { function isPalindrome (line 12) | func isPalindrome(s string) bool { FILE: Find First and Last Position of Element in Sorted Array/kata.go function searchRange (line 3) | func searchRange(nums []int, target int) []int { FILE: Find Greatest Common Divisor of Array/kata.go function findGCD (line 5) | func findGCD(nums []int) int { FILE: Find K Closest Elements/kata.go type value (line 8) | type value struct function findClosestElements (line 13) | func findClosestElements(arr []int, k int, x int) []int { FILE: Find K-Length Substrings With No Repeated Characters/kata.java class Solution (line 1) | class Solution { method numKLenSubstrNoRepeats (line 2) | public int numKLenSubstrNoRepeats(String s, int k) { FILE: Find Largest Value in Each Tree Row/kata.go function largestValues (line 11) | func largestValues(root *TreeNode) []int { type largest (line 23) | type largest struct function findAll (line 28) | func findAll(node *TreeNode, set map[int]*largest, l int) { FILE: Find Lucky Integer in an Array/kata.go function findLucky (line 5) | func findLucky(arr []int) int { FILE: Find Maximum Number of String Pairs/kata.go function maximumNumberOfStringPairs (line 3) | func maximumNumberOfStringPairs(words []string) int { FILE: Find Median from Data Stream/kata.go type MedianFinder (line 5) | type MedianFinder struct method AddNum (line 14) | func (this *MedianFinder) AddNum(num int) { method FindMedian (line 18) | func (this *MedianFinder) FindMedian() float64 { function Constructor (line 10) | func Constructor() MedianFinder { FILE: Find Minimum Time to Finish All Jobs II/kata.java class Solution (line 1) | class Solution { method minimumTime (line 2) | public int minimumTime(int[] jobs, int[] workers) { FILE: Find Minimum in Rotated Sorted Array II/kata.go function findMin (line 3) | func findMin(nums []int) int { function search (line 23) | func search(nums []int, min int) int { FILE: Find Minimum in Rotated Sorted Array/kata.go function findMin (line 3) | func findMin(nums []int) int { function search (line 7) | func search(nums []int, min int) int { FILE: Find Missing and Repeated Values/kata.go function findMissingAndRepeatedValues (line 3) | func findMissingAndRepeatedValues(grid [][]int) []int { FILE: Find Mode in Binary Search Tree/kata.go function findMode (line 11) | func findMode(root *TreeNode) []int { function collectModes (line 29) | func collectModes(node *TreeNode, c map[int]int) { FILE: Find N Unique Integers Sum up to Zero/kata.go function sumZero (line 3) | func sumZero(n int) []int { FILE: Find Nearest Point That Has the Same X or Y Coordinate/kata.java class Solution (line 1) | class Solution { method nearestValidPoint (line 2) | public int nearestValidPoint(int x, int y, int[][] points) { FILE: Find Numbers with Even Number of Digits/kata.go function findNumbers (line 3) | func findNumbers(nums []int) int { FILE: Find Peak Element/kata.go function findPeakElement (line 3) | func findPeakElement(nums []int) int { FILE: Find Pivot Index/kata.go function pivotIndex (line 3) | func pivotIndex(nums []int) int { FILE: Find Players With Zero or One Losses/kata.go type player (line 5) | type player struct function findWinners (line 10) | func findWinners(matches [][]int) [][]int { FILE: Find Positive Integer Solution for a Given Equation/kata.py class Solution (line 16) | class Solution: method findSolution (line 17) | def findSolution(self, customfunction: 'CustomFunction', z: int) -> Li... FILE: Find Smallest Common Element in All Rows/kata.go function smallestCommonElement (line 3) | func smallestCommonElement(mat [][]int) int { FILE: Find Smallest Letter Greater Than Target/kata.go function nextGreatestLetter (line 3) | func nextGreatestLetter(letters []byte, target byte) byte { FILE: Find Target Indices After Sorting Array/kata.go function targetIndices (line 5) | func targetIndices(nums []int, target int) []int { FILE: Find The Original Array of Prefix Xor/kata.java class Solution (line 1) | class Solution { method findArray (line 2) | public int[] findArray(int[] pref) { FILE: Find Triangular Sum of an Array/kata.go function triangularSum (line 3) | func triangularSum(nums []int) int { FILE: Find Words Containing Character/kata.go function findWordsContaining (line 3) | func findWordsContaining(words []string, x byte) []int { FILE: Find Words That Can Be Formed by Characters/kata.go function countCharacters (line 3) | func countCharacters(words []string, chars string) int { FILE: Find and Replace Pattern/kata.go function findAndReplacePattern (line 3) | func findAndReplacePattern(words []string, pattern string) []string { function cleanWords (line 17) | func cleanWords(words []string) []string { function cleanWord (line 25) | func cleanWord(w string) string { FILE: Find the Array Concatenation Value/kata.java class Solution (line 1) | class Solution { method findTheArrayConcVal (line 2) | public long findTheArrayConcVal(int[] nums) { FILE: Find the Difference/kata.go function findTheDifference (line 5) | func findTheDifference(s string, t string) byte { FILE: Find the Distance Value Between Two Arrays/kata.go function findTheDistanceValue (line 5) | func findTheDistanceValue(arr1 []int, arr2 []int, d int) int { FILE: Find the Duplicate Number/kata.go function findDuplicate (line 5) | func findDuplicate(nums []int) int { FILE: Find the Highest Altitude/kata.go function largestAltitude (line 3) | func largestAltitude(gain []int) int { FILE: Find the K-Beauty of a Number/kata.java class Solution (line 1) | class Solution { method divisorSubstrings (line 2) | public int divisorSubstrings(int num, int k) { FILE: Find the Kth Largest Integer in the Array/kata.go function kthLargestNumber (line 5) | func kthLargestNumber(nums []string, k int) string { FILE: Find the Maximum Achievable Number/kata.go function theMaximumAchievableX (line 3) | func theMaximumAchievableX(num int, t int) int { FILE: Find the Minimum and Maximum Number of Nodes Between Critical Points/kata.go type ListNode (line 5) | type ListNode struct function nodesBetweenCriticalPoints (line 10) | func nodesBetweenCriticalPoints(head *ListNode) []int { FILE: Find the Peaks/kata.go function findPeaks (line 3) | func findPeaks(mountain []int) []int { FILE: Find the Pivot Integer/kata.java class Solution (line 1) | class Solution { method pivotInteger (line 2) | public int pivotInteger(int n) { FILE: Find the Sum of Encrypted Integers/kata.go function sumOfEncryptedInt (line 5) | func sumOfEncryptedInt(nums []int) int { FILE: Find the Winner of the Circular Game/kata.java class Solution (line 1) | class Solution { method findTheWinner (line 2) | public int findTheWinner(int n, int k) { FILE: First Bad Version/kata.go function firstBadVersion (line 11) | func firstBadVersion(n int) int { FILE: First Letter to Appear Twice/kata.go function repeatedCharacter (line 3) | func repeatedCharacter(s string) byte { FILE: First Missing Positive/kata.go function firstMissingPositive (line 8) | func firstMissingPositive(nums []int) int { FILE: First Unique Character in a String/kata.go function firstUniqChar (line 3) | func firstUniqChar(s string) int { FILE: Fizz Buzz/kata.go function fizzBuzz (line 5) | func fizzBuzz(n int) []string { FILE: Flatten 2D Vector/kata.go type Vector2D (line 3) | type Vector2D struct method Next (line 14) | func (this *Vector2D) Next() int { method HasNext (line 27) | func (this *Vector2D) HasNext() bool { function Constructor (line 10) | func Constructor(vec [][]int) Vector2D { FILE: Flatten Nested List Iterator/kata.go type NestedIterator (line 29) | type NestedIterator struct method Next (line 40) | func (this *NestedIterator) Next() int { method HasNext (line 49) | func (this *NestedIterator) HasNext() bool { function Constructor (line 34) | func Constructor(nestedList []*NestedInteger) *NestedIterator { function recursiveChannling (line 60) | func recursiveChannling(nestedList []*NestedInteger, c chan int, firstLa... FILE: Flatten a Multilevel Doubly Linked List/kata.go function flatten (line 13) | func flatten(root *Node) *Node { function r (line 26) | func r(currentNode *Node, nextNode *Node, childNode *Node) { FILE: Flipping an Image/kata.go function flipAndInvertImage (line 3) | func flipAndInvertImage(A [][]int) [][]int { FILE: Function Composition/kata.ts type F (line 1) | type F = (x: number) => number; function compose (line 3) | function compose(functions: F[]): F { FILE: Generate a String With Characters That Have Odd Counts/kata.go function generateTheString (line 3) | func generateTheString(n int) string { FILE: Get Maximum in Generated Array/kata.go function getMaximumGenerated (line 3) | func getMaximumGenerated(n int) int { FILE: Get the Size of a DataFrame/kata.py function getDataframeSize (line 3) | def getDataframeSize(players: pd.DataFrame) -> List[int]: FILE: Goal Parser Interpretation/kata.go constant o (line 3) | o byte = 'o' function interpret (line 5) | func interpret(command string) string { function isClosed (line 20) | func isClosed(c byte) bool { function isOpen (line 27) | func isOpen(c byte) bool { FILE: Goat Latin/kata.java class Solution (line 1) | class Solution { method toGoatLatin (line 2) | public String toGoatLatin(String sentence) { FILE: Greatest English Letter in Upper and Lower Case/kata.go function greatestLetter (line 5) | func greatestLetter(s string) string { FILE: Group Anagrams/kata.go function groupAnagrams (line 5) | func groupAnagrams(strs []string) [][]string { FILE: Group the People Given the Group Size They Belong To/kata.go function groupThePeople (line 3) | func groupThePeople(groupSizes []int) [][]int { FILE: H-Index/kata.go function hIndex (line 5) | func hIndex(citations []int) int { FILE: HTML Entity Parser/kata.go function entityParser (line 5) | func entityParser(text string) string { FILE: Hamming Distance/kata.go function hammingDistance (line 3) | func hammingDistance(x int, y int) int { FILE: Happy Number/kata.go function isHappy (line 3) | func isHappy(n int) bool { function sumFunc (line 23) | func sumFunc(n int) int { FILE: Harshad Number/kata.go function sumOfTheDigitsOfHarshadNumber (line 3) | func sumOfTheDigitsOfHarshadNumber(x int) int { FILE: Height Checker/kata.go function heightChecker (line 5) | func heightChecker(heights []int) int { FILE: High Five/kata.go function highFive (line 5) | func highFive(items [][]int) [][]int { FILE: How Many Apples Can You Put into the Basket/kata.java class Solution (line 3) | class Solution { method maxNumberOfApples (line 4) | public int maxNumberOfApples(int[] weight) { FILE: How Many Numbers Are Smaller Than the Current Number/kata.go function smallerNumbersThanCurrent (line 8) | func smallerNumbersThanCurrent(nums []int) []int { FILE: Implement Magic Dictionary/kata.go type MagicDictionary (line 3) | type MagicDictionary struct method BuildDict (line 13) | func (this *MagicDictionary) BuildDict(dictionary []string) { method Search (line 27) | func (this *MagicDictionary) Search(searchWord string) bool { function Constructor (line 7) | func Constructor() MagicDictionary { FILE: Implement Queue using Stacks/kata.go type MyQueue (line 3) | type MyQueue struct method Push (line 15) | func (this *MyQueue) Push(x int) { method Pop (line 20) | func (this *MyQueue) Pop() int { method Peek (line 27) | func (this *MyQueue) Peek() int { method Empty (line 32) | func (this *MyQueue) Empty() bool { function Constructor (line 8) | func Constructor() MyQueue { FILE: Implement Stack using Queues/kata.go type MyStack (line 3) | type MyStack struct method Push (line 15) | func (this *MyStack) Push(x int) { method Pop (line 20) | func (this *MyStack) Pop() int { method Top (line 27) | func (this *MyStack) Top() int { method Empty (line 32) | func (this *MyStack) Empty() bool { function Constructor (line 8) | func Constructor() MyStack { FILE: Implement Trie (Prefix Tree)/kata.go type node (line 3) | type node struct type Trie (line 9) | type Trie struct method Insert (line 19) | func (this *Trie) Insert(word string) { method Search (line 46) | func (this *Trie) Search(word string) bool { method StartsWith (line 72) | func (this *Trie) StartsWith(prefix string) bool { function Constructor (line 14) | func Constructor() Trie { FILE: Implement strStr()/kata.go function strStr (line 3) | func strStr(haystack string, needle string) (idx int) { FILE: Increasing Order Search Tree/kata.go function increasingBST (line 11) | func increasingBST(root *TreeNode) *TreeNode { function inorderTraversal (line 24) | func inorderTraversal(root *TreeNode) []int { function inorder (line 30) | func inorder(node *TreeNode, list *[]int) { FILE: Index Pairs of a String/kata.java class Solution (line 1) | class Solution { method indexPairs (line 2) | public int[][] indexPairs(String text, String[] words) { FILE: Insertion Sort List/kata.go function insertionSortList (line 10) | func insertionSortList(head *ListNode) *ListNode { function Insertionsort (line 27) | func Insertionsort(a []*ListNode) { FILE: Intersection of Multiple Arrays/kata.go function intersection (line 5) | func intersection(nums [][]int) []int { FILE: Intersection of Three Sorted Arrays/kata.go function arraysIntersection (line 3) | func arraysIntersection(arr1 []int, arr2 []int, arr3 []int) []int { FILE: Intersection of Two Arrays II/kata.go function intersect (line 5) | func intersect(nums1 []int, nums2 []int) []int { FILE: Intersection of Two Arrays/kata.go function intersection (line 3) | func intersection(nums1 []int, nums2 []int) []int { FILE: Intersection of Two Linked Lists/kata.go function getIntersectionNode (line 10) | func getIntersectionNode(headA, headB *ListNode) *ListNode { FILE: Invert Binary Tree/kata.go function invertTree (line 11) | func invertTree(root *TreeNode) *TreeNode { function swap (line 16) | func swap(node *TreeNode) { FILE: Is Subsequence/kata.go function isSubsequence (line 3) | func isSubsequence(s string, t string) bool { FILE: Island Perimeter/kata.go function islandPerimeter (line 3) | func islandPerimeter(grid [][]int) int { FILE: Jewels and Stones/kata.go function numJewelsInStones (line 3) | func numJewelsInStones(J string, S string) int { FILE: K Items With the Maximum Sum/kata.go function kItemsWithMaximumSum (line 3) | func kItemsWithMaximumSum(numOnes int, numZeros int, numNegOnes int, k i... FILE: K Radius Subarray Averages/kata.go function getAverages (line 3) | func getAverages(nums []int, k int) []int { FILE: Keep Multiplying Found Values by Two/kata.go function findFinalValue (line 3) | func findFinalValue(nums []int, original int) int { FILE: Kids With the Greatest Number of Candies/kata.go function kidsWithCandies (line 5) | func kidsWithCandies(candies []int, extraCandies int) []bool { FILE: Kth Distinct String in an Array/kata.go function kthDistinct (line 3) | func kthDistinct(arr []string, k int) string { FILE: Kth Largest Element in a Stream/kata.go type KthLargest (line 5) | type KthLargest struct method Add (line 17) | func (this *KthLargest) Add(val int) int { function Constructor (line 10) | func Constructor(k int, nums []int) KthLargest { FILE: Kth Largest Element in an Array/kata.go function findKthLargest (line 5) | func findKthLargest(nums []int, k int) int { FILE: Kth Missing Positive Number/kata.go function findKthPositive (line 3) | func findKthPositive(arr []int, k int) int { FILE: Kth Smallest Element in a BST/kata.go function kthSmallest (line 11) | func kthSmallest(root *TreeNode, k int) int { function inorder (line 20) | func inorder(node *TreeNode, list *[]int, k int) { FILE: LRU Cache/kata.go type element (line 7) | type element struct type LRUCache (line 12) | type LRUCache struct method Get (line 24) | func (this *LRUCache) Get(key int) int { method Put (line 38) | func (this *LRUCache) Put(key int, value int) { function Constructor (line 17) | func Constructor(capacity int) LRUCache { FILE: Largest 3-Same-Digit Number in String/kata.go function largestGoodInteger (line 3) | func largestGoodInteger(num string) string { FILE: Largest Number After Digit Swaps by Parity/kata.go function largestInteger (line 8) | func largestInteger(num int) int { type IntHeap (line 57) | type IntHeap method Len (line 59) | func (h IntHeap) Len() int { method Less (line 63) | func (h IntHeap) Less(i, j int) bool { method Swap (line 67) | func (h IntHeap) Swap(i, j int) { method Push (line 75) | func (h *IntHeap) Push(x interface{}) { method Pop (line 79) | func (h *IntHeap) Pop() interface{} { FILE: Largest Number At Least Twice of Others/kata.go function dominantIndex (line 3) | func dominantIndex(nums []int) int { FILE: Largest Perimeter Triangle/kata.go function largestPerimeter (line 5) | func largestPerimeter(nums []int) int { FILE: Largest Positive Integer That Exists With Its Negative/kata.java class Solution (line 4) | class Solution { method findMaxK (line 5) | public int findMaxK(int[] nums) { FILE: Largest Subarray Length K/kata.java class Solution (line 1) | class Solution { method largestSubarray (line 2) | public int[] largestSubarray(int[] nums, int k) { FILE: Largest Unique Number/kata.go function largestUniqueNumber (line 5) | func largestUniqueNumber(nums []int) int { FILE: Last Stone Weight/kata.go function lastStoneWeight (line 5) | func lastStoneWeight(stones []int) int { FILE: Latest Time by Replacing Hidden Digits/kata.go function maximumTime (line 3) | func maximumTime(time string) string { FILE: Leaf-Similar Trees/kata.go function leafSimilar (line 11) | func leafSimilar(root1 *TreeNode, root2 *TreeNode) bool { function PickLeafValues (line 33) | func PickLeafValues(node *TreeNode, values *[]int) { FILE: Least Number of Unique Integers after K Removals/kata.java class Solution (line 1) | class Solution { method findLeastNumOfUniqueInts (line 2) | public int findLeastNumOfUniqueInts(int[] arr, int k) { FILE: Left and Right Sum Differences/kata.java class Solution (line 1) | class Solution { method leftRigthDifference (line 2) | public int[] leftRigthDifference(int[] nums) { FILE: Length of Last Word/kata.go function lengthOfLastWord (line 3) | func lengthOfLastWord(s string) (lastWordCounter int) { FILE: Letter Case Permutation/kata.go function letterCasePermutation (line 3) | func letterCasePermutation(S string) []string { function permutation (line 9) | func permutation(permutations *[]string, b []byte, index int) []byte { FILE: Lexicographical Numbers/kata.go function lexicalOrder (line 8) | func lexicalOrder(n int) []int { FILE: Linked List Cycle/kata.go function hasCycle (line 10) | func hasCycle(head *ListNode) bool { FILE: Longer Contiguous Segments of Ones than Zeros/kata.go function checkZeroOnes (line 5) | func checkZeroOnes(s string) bool { FILE: Longest Common Prefix/kata.go function longestCommonPrefix (line 3) | func longestCommonPrefix(strs []string) string { function Has (line 27) | func Has(strs []string, minString string, n int) bool { FILE: Longest Consecutive Sequence/kata.go function longestConsecutive (line 5) | func longestConsecutive(nums []int) int { FILE: Longest Continuous Increasing Subsequence/kata.go function findLengthOfLCIS (line 3) | func findLengthOfLCIS(nums []int) int { FILE: Longest Strictly Increasing or Strictly Decreasing Subarray/kata.go function longestMonotonicSubarray (line 3) | func longestMonotonicSubarray(nums []int) int { FILE: Longest Subsequence With Limited Sum/kata.java class Solution (line 1) | class Solution { method answerQueries (line 2) | public int[] answerQueries(int[] nums, int[] queries) { FILE: Lucky Numbers in a Matrix/kata.go function luckyNumbers (line 3) | func luckyNumbers(matrix [][]int) []int { FILE: Majority Element II/kata.go function majorityElement (line 8) | func majorityElement(nums []int) []int { FILE: Majority Element/kata.go function majorityElement (line 7) | func majorityElement(nums []int) int { FILE: Make Array Zero by Subtracting Equal Amounts/kata.java class Solution (line 1) | class Solution { method minimumOperations (line 2) | public int minimumOperations(int[] nums) { FILE: Make The String Great/kata.go function makeGood (line 3) | func makeGood(s string) string { FILE: Make Two Arrays Equal by Reversing Sub-arrays/kata.go function canBeEqual (line 5) | func canBeEqual(target []int, arr []int) bool { FILE: Map Sum Pairs/kata.go type MapSum (line 3) | type MapSum struct method Insert (line 12) | func (this *MapSum) Insert(key string, val int) { method Sum (line 16) | func (this *MapSum) Sum(prefix string) (sum int) { function Constructor (line 8) | func Constructor() MapSum { FILE: Matrix Diagonal Sum/kata.go function diagonalSum (line 3) | func diagonalSum(mat [][]int) int { FILE: Max Consecutive Ones/kata.go function findMaxConsecutiveOnes (line 3) | func findMaxConsecutiveOnes(nums []int) int { FILE: Max Stack/kata.go type MaxStack (line 8) | type MaxStack struct method Push (line 17) | func (this *MaxStack) Push(x int) { method Pop (line 26) | func (this *MaxStack) Pop() int { method Top (line 45) | func (this *MaxStack) Top() int { method PeekMax (line 53) | func (this *MaxStack) PeekMax() int { method PopMax (line 57) | func (this *MaxStack) PopMax() int { function Constructor (line 13) | func Constructor() MaxStack { FILE: Maximize Sum Of Array After K Negations/kata.go function largestSumAfterKNegations (line 5) | func largestSumAfterKNegations(A []int, K int) int { FILE: Maximum 69 Number/kata.go function maximum69Number (line 5) | func maximum69Number(num int) int { FILE: Maximum Ascending Subarray Sum/kata.go function maxAscendingSum (line 3) | func maxAscendingSum(nums []int) int { FILE: Maximum Average Subarray I /kata.go function findMaxAverage (line 3) | func findMaxAverage(nums []int, k int) float64 { FILE: Maximum Count of Positive Integer and Negative Integer/kata.java class Solution (line 1) | class Solution { method maximumCount (line 2) | public int maximumCount(int[] nums) { FILE: Maximum Depth of Binary Tree/kata.go function maxDepth (line 11) | func maxDepth(root *TreeNode) int { function height (line 18) | func height(root *TreeNode, count int) int { FILE: Maximum Difference Between Increasing Elements/kata.java class Solution (line 1) | class Solution { method maximumDifference (line 2) | public int maximumDifference(int[] nums) { FILE: Maximum Difference by Remapping a Digit/kata.java class Solution (line 1) | class Solution { method minMaxDifference (line 2) | public int minMaxDifference(int n) { FILE: Maximum Frequency Stack/kata.go type FreqStack (line 3) | type FreqStack struct method Push (line 15) | func (this *FreqStack) Push(x int) { method Pop (line 20) | func (this *FreqStack) Pop() int { function Constructor (line 8) | func Constructor() FreqStack { FILE: Maximum Nesting Depth of the Parentheses/kata.java class Solution (line 1) | class Solution { method maxDepth (line 2) | public int maxDepth(String s) { FILE: Maximum Number of Balloons/kata.go function maxNumberOfBalloons (line 3) | func maxNumberOfBalloons(text string) int { FILE: Maximum Number of Balls in a Box/kata.go function countBalls (line 3) | func countBalls(lowLimit int, highLimit int) int { FILE: Maximum Number of Coins You Can Get/kata.java class Solution (line 1) | class Solution { method maxCoins (line 2) | public int maxCoins(int[] piles) { FILE: Maximum Number of Pairs in Array/kata.go function numberOfPairs (line 5) | func numberOfPairs(nums []int) []int { FILE: Maximum Number of Words Found in Sentences/kata.go function mostWordsFound (line 3) | func mostWordsFound(sentences []string) int { FILE: Maximum Number of Words You Can Type/kata.go function canBeTypedWords (line 3) | func canBeTypedWords(text string, brokenLetters string) int { FILE: Maximum Odd Binary Number/kata.go function maximumOddBinaryNumber (line 3) | func maximumOddBinaryNumber(s string) string { FILE: Maximum Product Difference Between Two Pairs/kata.go function maxProductDifference (line 5) | func maxProductDifference(nums []int) int { FILE: Maximum Product of Three Numbers/kata.go function maximumProduct (line 5) | func maximumProduct(nums []int) int { FILE: Maximum Product of Two Elements in an Array/kata.go function maxProduct (line 5) | func maxProduct(nums []int) int { FILE: Maximum Score After Splitting a String/kata.go function maxScore (line 3) | func maxScore(s string) int { FILE: Maximum Subarray/kata.go function maxSubArray (line 5) | func maxSubArray(nums []int) int { FILE: Maximum Sum Score of Array/kata.go function maximumSumScore (line 5) | func maximumSumScore(nums []int) int64 { function max (line 55) | func max(a, b int64) int64 { FILE: Maximum Sum With Exactly K Elements/kata.go function maximizeSum (line 1) | func maximizeSum(nums []int, k int) int { FILE: Maximum Twin Sum of a Linked List/kata.go type ListNode (line 3) | type ListNode struct function pairSum (line 8) | func pairSum(head *ListNode) int { function f (line 14) | func f(a *ListNode, b *ListNode, max *int) *ListNode { FILE: Maximum Units on a Truck/kata.java class Solution (line 1) | class Solution { method maximumUnits (line 2) | public int maximumUnits(int[][] boxTypes, int truckSize) { FILE: Maximum Value after Insertion/kata.go function maxValue (line 3) | func maxValue(n string, x int) string { FILE: Maximum Value of a String in an Array/kata.java class Solution (line 1) | class Solution { method maximumValue (line 2) | public int maximumValue(String[] strs) { FILE: Maximum XOR After Operations /kata.java class Solution (line 1) | class Solution { method maximumXOR (line 2) | public int maximumXOR(int[] nums) { FILE: Mean of Array After Removing Some Elements/kata.go function trimMean (line 5) | func trimMean(arr []int) float64 { FILE: Meeting Rooms/kata.java class Solution (line 1) | class Solution { method canAttendMeetings (line 2) | public boolean canAttendMeetings(int[][] intervals) { FILE: Merge In Between Linked Lists/kata.go type ListNode (line 3) | type ListNode struct function mergeInBetween (line 8) | func mergeInBetween(list1 *ListNode, a int, b int, list2 *ListNode) *Lis... FILE: Merge Nodes in Between Zeros/kata.go type ListNode (line 3) | type ListNode struct function mergeNodes (line 8) | func mergeNodes(head *ListNode) *ListNode { FILE: Merge Similar Items/kata.java class Solution (line 1) | class Solution { method mergeSimilarItems (line 2) | public List> mergeSimilarItems(int[][] items1, int[][] i... FILE: Merge Strings Alternately/kata.go function mergeAlternately (line 3) | func mergeAlternately(word1 string, word2 string) string { FILE: Merge Two 2D Arrays by Summing Values/kata.go function mergeArrays (line 3) | func mergeArrays(nums1 [][]int, nums2 [][]int) [][]int { FILE: Merge Two Sorted Lists/kata.go function mergeTwoLists (line 10) | func mergeTwoLists(l1 *ListNode, l2 *ListNode) *ListNode { FILE: Merge k Sorted Lists/kata.go type Item (line 13) | type Item struct function mergeKLists (line 19) | func mergeKLists(lists []*ListNode) *ListNode { type PriorityQueue (line 53) | type PriorityQueue method Len (line 55) | func (pq PriorityQueue) Len() int { return len(pq) } method Less (line 57) | func (pq PriorityQueue) Less(i, j int) bool { method Swap (line 61) | func (pq PriorityQueue) Swap(i, j int) { method Pop (line 67) | func (pq *PriorityQueue) Pop() interface{} { method Push (line 76) | func (pq *PriorityQueue) Push(x interface{}) { FILE: Method Chaining/kata.py function findHeavyAnimals (line 3) | def findHeavyAnimals(animals: pd.DataFrame) -> pd.DataFrame: FILE: Middle of the Linked List/kata.go function middleNode (line 10) | func middleNode(head *ListNode) *ListNode { FILE: Min Cost Climbing Stairs/kata.go function minCostClimbingStairs (line 3) | func minCostClimbingStairs(cost []int) int { function min (line 15) | func min(dp []int, i, j int) int { FILE: Min Max Game/kata.go function minMaxGame (line 3) | func minMaxGame(nums []int) int { function min (line 25) | func min(a, b int) int { function max (line 32) | func max(a, b int) int { FILE: Min Stack/kata.go type MinStack (line 3) | type MinStack struct method Push (line 14) | func (this *MinStack) Push(x int) { method Pop (line 18) | func (this *MinStack) Pop() { method Top (line 25) | func (this *MinStack) Top() int { method GetMin (line 32) | func (this *MinStack) GetMin() int { function Constructor (line 8) | func Constructor() MinStack { FILE: Minimize Maximum Pair Sum in Array/kata.go function minPairSum (line 5) | func minPairSum(nums []int) int { FILE: Minimize Product Sum of Two Arrays/kata.go function minProductSum (line 5) | func minProductSum(nums1 []int, nums2 []int) int { FILE: Minimize String Length/kata.go function minimizedStringLength (line 3) | func minimizedStringLength(s string) int { FILE: Minimum Absolute Difference in BST/kata.go function getMinimumDifference (line 13) | func getMinimumDifference(root *TreeNode) int { function traverse (line 30) | func traverse(node *TreeNode, ps *PrioritySlice) { type PrioritySlice (line 44) | type PrioritySlice method Len (line 46) | func (pq PrioritySlice) Len() int { return len(pq) } method Less (line 48) | func (pq PrioritySlice) Less(i, j int) bool { method Swap (line 52) | func (pq PrioritySlice) Swap(i, j int) { FILE: Minimum Absolute Difference/kata.go function minimumAbsDifference (line 5) | func minimumAbsDifference(arr []int) [][]int { FILE: Minimum Add to Make Parentheses Valid/kata.java class Solution (line 1) | class Solution { method minAddToMakeValid (line 2) | public int minAddToMakeValid(String s) { FILE: Minimum Average Difference/kata.go function minimumAverageDifference (line 3) | func minimumAverageDifference(nums []int) int { function abs (line 34) | func abs(a int) int { FILE: Minimum Bit Flips to Convert Number/kata.go function minBitFlips (line 3) | func minBitFlips(start int, goal int) int { function max (line 33) | func max(a, b int) int { function min (line 40) | func min(a, b int) int { FILE: Minimum Common Value/kata.java class Solution (line 1) | class Solution { method getCommon (line 2) | public int getCommon(int[] nums1, int[] nums2) { FILE: Minimum Cuts to Divide a Circle/kata.java class Solution (line 1) | class Solution { method numberOfCuts (line 2) | public int numberOfCuts(int n) { FILE: Minimum Depth of Binary Tree/kata.go function minDepth (line 14) | func minDepth(node *TreeNode) int { FILE: Minimum Distance to the Target Element/kata.go function getMinDistance (line 5) | func getMinDistance(nums []int, target int, start int) int { FILE: Minimum Increment to Make Array Unique/kata.go function minIncrementForUnique (line 5) | func minIncrementForUnique(A []int) int { FILE: Minimum Moves to Convert String/kata.go function minimumMoves (line 3) | func minimumMoves(s string) int { FILE: Minimum Number Game/kata.go function numberGame (line 5) | func numberGame(nums []int) []int { FILE: Minimum Number of Steps to Make Two Strings Anagram II/kata.go function minSteps (line 3) | func minSteps(s string, t string) int { function abs (line 32) | func abs(a int) int { FILE: Minimum Operations to Collect Elements/kata.go function minOperations (line 3) | func minOperations(nums []int, k int) int { FILE: Minimum Operations to Exceed Threshold Value I/kata.go function minOperations (line 5) | func minOperations(nums []int, k int) int { FILE: Minimum Operations to Make the Array Increasing/kata.go function minOperations (line 3) | func minOperations(nums []int) int { FILE: Minimum Recolors to Get K Consecutive Black Blocks/kata.java class Solution (line 1) | class Solution { method minimumRecolors (line 2) | public int minimumRecolors(String blocks, int k) { FILE: Minimum String Length After Removing Substrings/kata.go function minLength (line 3) | func minLength(s string) int { FILE: Minimum Subsequence in Non-Increasing Order/kata.java class Solution (line 1) | class Solution { method minSubsequence (line 2) | public List minSubsequence(int[] nums) { FILE: Minimum Sum of Four Digit Number After Splitting Digits/kata.go function minimumSum (line 5) | func minimumSum(num int) int { FILE: Minimum Value to Get Positive Step by Step Sum/kata.java class Solution (line 1) | class Solution { method minStartValue (line 2) | public int minStartValue(int[] nums) { FILE: Missing Number/kata.go function missingNumber (line 3) | func missingNumber(nums []int) int { FILE: Missing Ranges/kata.java class Solution (line 1) | class Solution { method findMissingRanges (line 2) | public List findMissingRanges(int[] nums, int lower, int upper) { FILE: Modify Columns/kata.py function modifySalaryColumn (line 3) | def modifySalaryColumn(employees: pd.DataFrame) -> pd.DataFrame: FILE: Modify the Matrix/kata.go function modifiedMatrix (line 4) | func modifiedMatrix(matrix [][]int) [][]int { FILE: Monotonic Array/kata.go function isMonotonic (line 3) | func isMonotonic(A []int) bool { FILE: Most Common Word/kata.go function mostCommonWord (line 8) | func mostCommonWord(paragraph string, banned []string) string { function hasBanned (line 44) | func hasBanned(banned []string, word string) bool { FILE: Most Frequent Even Element/kata.go function mostFrequentEven (line 5) | func mostFrequentEven(nums []int) int { FILE: Most Frequent Number Following Key In an Array/kata.go function mostFrequent (line 3) | func mostFrequent(nums []int, key int) int { FILE: Move Zeroes/kata.go function moveZeroes (line 3) | func moveZeroes(nums []int) { FILE: Moving Average from Data Stream/kata.go type MovingAverage (line 5) | type MovingAverage struct method Next (line 19) | func (mv *MovingAverage) Next(val int) float64 { function Constructor (line 12) | func Constructor(size int) MovingAverage { FILE: Multiply Strings/kata.go function multiply (line 5) | func multiply(num1 string, num2 string) string { FILE: My Calendar I/kata.go type BookingInfo (line 3) | type BookingInfo struct type MyCalendar (line 8) | type MyCalendar struct method Book (line 18) | func (this *MyCalendar) Book(start int, end int) bool { function Constructor (line 12) | func Constructor() MyCalendar { FILE: N-Repeated Element in Size 2N Array/kata.go function repeatedNTimes (line 3) | func repeatedNTimes(A []int) (n int) { FILE: N-th Tribonacci Number/kata.go function tribonacci (line 5) | func tribonacci(n int) int { function eq (line 25) | func eq() func() int { FILE: Neither Minimum nor Maximum/kata.go function findNonMinOrMax (line 7) | func findNonMinOrMax(nums []int) int { FILE: Nested List Weight Sum/kata.go function depthSum (line 28) | func depthSum(nestedList []*NestedInteger) int { function f (line 35) | func f(nestedList []*NestedInteger, sum *int, l int) { FILE: Next Greater Element I/kata.go function nextGreaterElement (line 3) | func nextGreaterElement(nums1 []int, nums2 []int) []int { FILE: Nth Highest Salary/kata.sql function getNthHighestSalary (line 4) | CREATE FUNCTION getNthHighestSalary(N INT) RETURNS INT FILE: Number Complement/kata.go function findComplement (line 5) | func findComplement(num int) int { FILE: Number Of Rectangles That Can Form The Largest Square/kata.java class Solution (line 1) | class Solution { method countGoodRectangles (line 2) | public int countGoodRectangles(int[][] rectangles) { method min (line 16) | private int min(int a, int b) { FILE: Number of 1 Bits/kata.go function hammingWeight (line 3) | func hammingWeight(num uint32) int { FILE: Number of Arithmetic Triplets/kata.java class Solution (line 1) | class Solution { method arithmeticTriplets (line 2) | public int arithmeticTriplets(int[] nums, int diff) { FILE: Number of Days Between Two Dates/kata.go constant layoutISO (line 5) | layoutISO = "2006-01-02" function daysBetweenDates (line 7) | func daysBetweenDates(date1 string, date2 string) int { FILE: Number of Days in a Month/kata.java class Solution (line 14) | class Solution { method numberOfDays (line 15) | public int numberOfDays(int year, int month) { FILE: Number of Different Integers in a String/kata.go function numDifferentIntegers (line 3) | func numDifferentIntegers(word string) int { FILE: Number of Distinct Averages/kata.java class Solution (line 4) | class Solution { method distinctAverages (line 5) | public int distinctAverages(int[] nums) { FILE: Number of Employees Who Met the Target/kata.go function numberOfEmployeesWhoMetTarget (line 3) | func numberOfEmployeesWhoMetTarget(hours []int, target int) int { FILE: Number of Equivalent Domino Pairs/kata.go function numEquivDominoPairs (line 5) | func numEquivDominoPairs(dominoes [][]int) int { function hash (line 24) | func hash(d []int) int { function max (line 28) | func max(a, b int) int { function min (line 35) | func min(a, b int) int { function init (line 42) | func init() { function Binomial (line 48) | func Binomial(n int) int { FILE: Number of Even and Odd Bits/kata.go function evenOddBit (line 3) | func evenOddBit(n int) []int { FILE: Number of Good Pairs/kata.go function numIdenticalPairs (line 5) | func numIdenticalPairs(nums []int) int { FILE: Number of Laser Beams in a Bank/kata.go function numberOfBeams (line 3) | func numberOfBeams(bank []string) int { FILE: Number of Lines To Write String/kata.java class Solution (line 1) | class Solution { method numberOfLines (line 2) | public int[] numberOfLines(int[] widths, String s) { FILE: Number of Recent Calls/kata.go type RecentCounter (line 3) | type RecentCounter struct method Ping (line 13) | func (rc *RecentCounter) Ping(t int) int { function Constructor (line 7) | func Constructor() RecentCounter { FILE: Number of Segments in a String/kata.go function countSegments (line 3) | func countSegments(s string) int { FILE: Number of Senior Citizens/kata.go function countSeniors (line 3) | func countSeniors(details []string) int { FILE: Number of Steps to Reduce a Number to Zero/kata.go function numberOfSteps (line 3) | func numberOfSteps(num int) int { FILE: Number of Strings That Appear as Substrings in Word/kata.java class Solution (line 1) | class Solution { method numOfStrings (line 2) | public int numOfStrings(String[] patterns, String word) { FILE: Number of Students Doing Homework at a Given Time/kata.go function busyStudent (line 3) | func busyStudent(startTime []int, endTime []int, queryTime int) int { FILE: Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold/kata.java class Solution (line 1) | class Solution { method numOfSubarrays (line 2) | public int numOfSubarrays(int[] arr, int k, int threshold) { FILE: Number of Visible People in a Queue/kata.go function canSeePersonsCount (line 3) | func canSeePersonsCount(heights []int) []int { FILE: Occurrences After Bigram/kata.go function findOcurrences (line 3) | func findOcurrences(text string, first string, second string) []string { FILE: One Edit Distance/kata.go function isOneEditDistance (line 5) | func isOneEditDistance(s string, t string) bool { FILE: Online Stock Span/kata.go type StockSpanner (line 3) | type StockSpanner struct method Next (line 11) | func (this *StockSpanner) Next(price int) int { function Constructor (line 7) | func Constructor() StockSpanner { FILE: Palindrome Linked List/kata.go type ListNode (line 3) | type ListNode struct function isPalindrome (line 8) | func isPalindrome(head *ListNode) bool { function p (line 13) | func p(a *ListNode, b *ListNode) (*ListNode, bool) { FILE: Palindrome Number/kata.go function isPalindrome (line 3) | func isPalindrome(x int) bool { FILE: Parsing A Boolean Expression/kata.go function parseBoolExpr (line 3) | func parseBoolExpr(expression string) bool { function IsBool (line 8) | func IsBool(c byte) bool { function parseBool (line 12) | func parseBool(c byte) bool { function IsNot (line 19) | func IsNot(c byte) bool { function parseNot (line 23) | func parseNot(expression string, i int) (bool, int) { function IsAnd (line 43) | func IsAnd(c byte) bool { function parseAnd (line 47) | func parseAnd(expression string, i int) (bool, int) { function IsOr (line 73) | func IsOr(c byte) bool { function parseOr (line 77) | func parseOr(expression string, i int) (bool, int) { function parseUnit (line 104) | func parseUnit(expression string, i int) (bool, int, bool) { function IsClosed (line 125) | func IsClosed(c byte) bool { FILE: Partition Array According to Given Pivot/kata.go function pivotArray (line 5) | func pivotArray(nums []int, pivot int) []int { FILE: Partitioning Into Minimum Number Of Deci-Binary Numbers/kata.java class Solution (line 1) | class Solution { method minPartitions (line 2) | public int minPartitions(String n) { FILE: Pascal's Triangle II/kata.go function getRow (line 3) | func getRow(rowIndex int) []int { FILE: Pascal's Triangle/kata.go function generate (line 3) | func generate(numRows int) [][]int { FILE: Path Sum/kata.go function hasPathSum (line 11) | func hasPathSum(root *TreeNode, sum int) bool { function pathSum (line 18) | func pathSum(root *TreeNode, v int, sum int) bool { FILE: Peak Index in a Mountain Array/kata.go function peakIndexInMountainArray (line 3) | func peakIndexInMountainArray(A []int) int { FILE: Peeking Iterator/kata.go type PeekingIterator (line 18) | type PeekingIterator struct method hasNext (line 28) | func (pt *PeekingIterator) hasNext() bool { method next (line 32) | func (pt *PeekingIterator) next() int { method peek (line 36) | func (pt *PeekingIterator) peek() int { function Constructor (line 22) | func Constructor(iter *Iterator) *PeekingIterator { FILE: Percentage of Letter in String/kata.go function percentageLetter (line 5) | func percentageLetter(s string, letter byte) int { FILE: Perfect Number/kata.go function checkPerfectNumber (line 5) | func checkPerfectNumber(num int) bool { FILE: Perform String Shifts/kata.go constant RightShiftMode (line 4) | RightShiftMode int = 1 constant LeftShiftMode (line 5) | LeftShiftMode int = 0 function stringShift (line 8) | func stringShift(s string, shift [][]int) string { function LeftShift (line 22) | func LeftShift(b []byte, amount int) []byte { function RightShift (line 40) | func RightShift(b []byte, amount int) []byte { FILE: Permutations II/kata.go function permuteUnique (line 3) | func permuteUnique(nums []int) [][]int { function perm (line 10) | func perm(nums []int, permutations *[][]int, i int, duplicates map[int]b... FILE: Permutations/kata.go function permute (line 3) | func permute(nums []int) [][]int { function perm (line 9) | func perm(nums []int, permutations *[][]int, i int) { FILE: Plus One/kata.go function plusOne (line 5) | func plusOne(digits []int) []int { FILE: Points That Intersect With Cars/kata.go function numberOfPoints (line 5) | func numberOfPoints(nums [][]int) int { FILE: Populating Next Right Pointers in Each Node/kata.go function connect (line 13) | func connect(root *Node) *Node { function f (line 21) | func f(l *Node, r *Node) { FILE: Positions of Large Groups/kata.go function largeGroupPositions (line 3) | func largeGroupPositions(S string) [][]int { FILE: Power of Four/kata.go function isPowerOfFour (line 5) | func isPowerOfFour(num int) bool { FILE: Power of Three/kata.go function isPowerOfThree (line 5) | func isPowerOfThree(num int) bool { FILE: Power of Two/kata.go function isPowerOfTwo (line 5) | func isPowerOfTwo(n int) bool { FILE: Powerful Integers/kata.go function powerfulIntegers (line 5) | func powerfulIntegers(x int, y int, bound int) []int { FILE: Prefix and Suffix Search/kata.go type WordFilter (line 3) | type WordFilter struct method F (line 11) | func (this *WordFilter) F(prefix string, suffix string) int { function Constructor (line 7) | func Constructor(words []string) WordFilter { FILE: Prime Number of Set Bits in Binary Representation/kata.java class Solution (line 3) | class Solution { method countPrimeSetBits (line 4) | public int countPrimeSetBits(int left, int right) { FILE: Print Immutable Linked List in Reverse/kata.go function printLinkedListInReverse (line 18) | func printLinkedListInReverse(head ImmutableListNode) { FILE: Product of Array Except Self/kata.go function productExceptSelf (line 3) | func productExceptSelf(nums []int) []int { FILE: Product of the Last K Numbers/kata.go type ProductOfNumbers (line 3) | type ProductOfNumbers struct method Add (line 11) | func (this *ProductOfNumbers) Add(num int) { method GetProduct (line 15) | func (this *ProductOfNumbers) GetProduct(k int) int { function Constructor (line 7) | func Constructor() ProductOfNumbers { FILE: Queries on Number of Points Inside a Circle/kata.java class Solution (line 1) | class Solution { method countPoints (line 2) | public int[] countPoints(int[][] points, int[][] queries) { FILE: Queries on a Permutation With Key/kata.go function processQueries (line 5) | func processQueries(queries []int, m int) []int { FILE: Random Pick Index/kata.go type Solution (line 8) | type Solution struct method Pick (line 22) | func (this *Solution) Pick(target int) int { function Constructor (line 13) | func Constructor(nums []int) Solution { FILE: Range Sum Query - Immutable/kata.go type NumArray (line 3) | type NumArray struct method SumRange (line 11) | func (this *NumArray) SumRange(i int, j int) int { function Constructor (line 7) | func Constructor(nums []int) NumArray { FILE: Range Sum Query - Mutable/kata.go type NumArray (line 3) | type NumArray struct method Update (line 13) | func (this *NumArray) Update(i int, val int) { method SumRange (line 21) | func (this *NumArray) SumRange(i int, j int) int { function Constructor (line 7) | func Constructor(nums []int) NumArray { FILE: Range Sum Query 2D - Immutable/kata.go type NumMatrix (line 3) | type NumMatrix struct method SumRegion (line 13) | func (this *NumMatrix) SumRegion(row1 int, col1 int, row2 int, col2 in... function Constructor (line 7) | func Constructor(matrix [][]int) NumMatrix { FILE: Range Sum of BST/kata.go function rangeSumBST (line 11) | func rangeSumBST(root *TreeNode, L int, R int) int { function f (line 15) | func f(node *TreeNode, L int, R int, sum int) int { FILE: Rank Transform of an Array/kata.go function arrayRankTransform (line 5) | func arrayRankTransform(arr []int) []int { FILE: Ransom Note/kata.go function canConstruct (line 3) | func canConstruct(ransomNote string, magazine string) bool { FILE: Rearrange Array Elements by Sign/kata.go function rearrangeArray (line 5) | func rearrangeArray(nums []int) []int { FILE: Rearrange Characters to Make Target String/kata.go function rearrangeCharacters (line 3) | func rearrangeCharacters(s string, target string) int { function normalise (line 38) | func normalise(a int) int { FILE: Rearrange Spaces Between Words/kata.go function reorderSpaces (line 3) | func reorderSpaces(text string) string { FILE: Rearrange Words in a Sentence/kata.go function arrangeWords (line 5) | func arrangeWords(text string) string { FILE: Redistribute Characters to Make All Strings Equal/kata.go function makeEqual (line 3) | func makeEqual(words []string) bool { FILE: Reduce Array Size to The Half/kata.go function minSetSize (line 5) | func minSetSize(arr []int) int { FILE: Relative Ranks/kata.go function findRelativeRanks (line 8) | func findRelativeRanks(nums []int) []string { FILE: Remove All Adjacent Duplicates In String/kata.java class Solution (line 1) | class Solution { method removeDuplicates (line 2) | public String removeDuplicates(String s) { FILE: Remove Colored Pieces if Both Neighbors are the Same Color/kata.go function winnerOfGame (line 3) | func winnerOfGame(colors string) bool { FILE: Remove Duplicates from Sorted List II/kata.go function deleteDuplicates (line 10) | func deleteDuplicates(head *ListNode) *ListNode { FILE: Remove Duplicates from Sorted List/kata.go function deleteDuplicates (line 10) | func deleteDuplicates(head *ListNode) *ListNode { FILE: Remove Element/kata.go function removeElement (line 8) | func removeElement(nums []int, val int) int { FILE: Remove Linked List Elements/kata.go function removeElements (line 10) | func removeElements(head *ListNode, val int) *ListNode { FILE: Remove Nth Node From End of List/kata.go function removeNthFromEnd (line 10) | func removeNthFromEnd(head *ListNode, n int) *ListNode { FILE: Remove Stones to Minimize the Total/kata.go function minStoneSum (line 9) | func minStoneSum(piles []int, k int) int { type IntHeap (line 28) | type IntHeap method Len (line 30) | func (h IntHeap) Len() int { method Less (line 34) | func (h IntHeap) Less(i, j int) bool { method Swap (line 38) | func (h IntHeap) Swap(i, j int) { method Push (line 43) | func (h *IntHeap) Push(x interface{}) { method Pop (line 47) | func (h *IntHeap) Pop() interface{} { FILE: Remove Trailing Zeros From a String/kata.go function removeTrailingZeros (line 3) | func removeTrailingZeros(num string) string { FILE: Remove Vowels from a String/kata.go function removeVowels (line 3) | func removeVowels(s string) string { FILE: Removing Minimum and Maximum From Array/kata.java class Solution (line 1) | class Solution { method minimumDeletions (line 2) | public int minimumDeletions(int[] nums) { FILE: Removing Stars From a String/kata.java class Solution (line 1) | class Solution { method removeStars (line 2) | public String removeStars(String s) { FILE: Rename Columns/kata.py function renameColumns (line 3) | def renameColumns(students: pd.DataFrame) -> pd.DataFrame: FILE: Replace All 's to Avoid Consecutive Repeating Characters/kata.go function modifyString (line 8) | func modifyString(s string) string { function pickChar (line 47) | func pickChar(char byte) byte { FILE: Replace All Digits with Characters/kata.go function replaceDigits (line 3) | func replaceDigits(s string) string { function shift (line 14) | func shift(c byte, by byte) byte { FILE: Reshape Data: Concatenate/kata.py function concatenateTables (line 3) | def concatenateTables(df1: pd.DataFrame, df2: pd.DataFrame) -> pd.DataFr... FILE: Reshape Data: Melt/kata.py function meltTable (line 3) | def meltTable(report: pd.DataFrame) -> pd.DataFrame: FILE: Reshape Data: Pivot/kata.py function pivotTable (line 3) | def pivotTable(weather: pd.DataFrame) -> pd.DataFrame: FILE: Reshape the Matrix/kata.go function matrixReshape (line 3) | func matrixReshape(nums [][]int, r int, c int) [][]int { FILE: Reverse Integer/kata.go constant Negative (line 6) | Negative int = -1 constant Positive (line 7) | Positive int = 1 function reverse (line 10) | func reverse(x int) (sum int) { FILE: Reverse Linked List/kata.go function reverseList (line 10) | func reverseList(head *ListNode) *ListNode { FILE: Reverse Prefix of Word/kata.go function reversePrefix (line 3) | func reversePrefix(word string, ch byte) string { FILE: Reverse String/kata.go function reverseString (line 3) | func reverseString(s []byte) { FILE: Reverse Vowels of a String/kata.go function reverseVowels (line 3) | func reverseVowels(s string) string { function isVowel (line 21) | func isVowel(char byte) bool { FILE: Reverse Words in a String III/kata.go function reverseWords (line 3) | func reverseWords(s string) string { FILE: Reverse Words in a String/kata.go function reverseWords (line 3) | func reverseWords(s string) string { FILE: Richest Customer Wealth/kata.go function maximumWealth (line 3) | func maximumWealth(accounts [][]int) int { function sum (line 14) | func sum(values []int) int { FILE: Rings and Rods/kata.go function countPoints (line 5) | func countPoints(rings string) int { type Pair (line 55) | type Pair struct FILE: Roman to Integer/kata.go function romanToInt (line 5) | func romanToInt(s string) int { FILE: Root Equals Sum of Children/kata.go type TreeNode (line 3) | type TreeNode struct function checkTree (line 9) | func checkTree(root *TreeNode) bool { FILE: Rotate Array/kata.go function rotate (line 3) | func rotate(nums []int, k int) { FILE: Rotate String/kata.go function rotateString (line 3) | func rotateString(A string, B string) bool { FILE: Row With Maximum Ones/kata.go function rowAndMaximumOnes (line 3) | func rowAndMaximumOnes(mat [][]int) []int { FILE: Running Sum of 1d Array/kata.go function runningSum (line 3) | func runningSum(nums []int) []int { FILE: Same Tree/kata.go function isSameTree (line 11) | func isSameTree(p *TreeNode, q *TreeNode) bool { FILE: Score of a String/kata.go function scoreOfString (line 3) | func scoreOfString(s string) int { function abs (line 11) | func abs(a int) int { FILE: Search Insert Position/kata.go function searchInsert (line 3) | func searchInsert(nums []int, target int) int { FILE: Search a 2D Matrix II/kata.go function searchMatrix (line 3) | func searchMatrix(matrix [][]int, target int) bool { FILE: Search a 2D Matrix/kata.go function searchMatrix (line 3) | func searchMatrix(matrix [][]int, target int) bool { function searchVector (line 26) | func searchVector(v []int, target int) bool { FILE: Search in Rotated Sorted Array II/kata.go function search (line 3) | func search(nums []int, target int) bool { FILE: Search in a Binary Search Tree/kata.go function searchBST (line 11) | func searchBST(root *TreeNode, val int) *TreeNode { FILE: Seat Reservation Manager/kata.go type SeatManager (line 3) | type SeatManager struct method Reserve (line 12) | func (this *SeatManager) Reserve() int { method Unreserve (line 25) | func (this *SeatManager) Unreserve(seatNumber int) { function Constructor (line 8) | func Constructor(n int) SeatManager { FILE: Second Largest Digit in a String/kata.go function secondHighest (line 5) | func secondHighest(s string) int { FILE: Second Minimum Node In a Binary Tree/kata.go function findSecondMinimumValue (line 14) | func findSecondMinimumValue(root *TreeNode) int { function inorder (line 33) | func inorder(node *TreeNode, list map[int]struct{}) { FILE: Select Data/kata.py function selectData (line 3) | def selectData(students: pd.DataFrame) -> pd.DataFrame: FILE: Self Dividing Numbers/kata.go function selfDividingNumbers (line 3) | func selfDividingNumbers(left int, right int) []int { FILE: Separate the Digits in an Array/kata.java class Solution (line 1) | class Solution { method separateDigits (line 2) | public int[] separateDigits(int[] nums) { FILE: Set Mismatch/kata.go function findErrorNums (line 3) | func findErrorNums(nums []int) []int { FILE: Shift 2D Grid/kata.go function shiftGrid (line 3) | func shiftGrid(grid [][]int, k int) [][]int { FILE: Shortest Distance to a Character/kata.go function shortestToChar (line 5) | func shortestToChar(S string, C byte) []int { FILE: Shortest Word Distance II/kata.go type WordDistance (line 5) | type WordDistance struct method Shortest (line 15) | func (this *WordDistance) Shortest(word1 string, word2 string) int { function Constructor (line 9) | func Constructor(wordsDict []string) WordDistance { function shortestDistance (line 19) | func shortestDistance(wordsDict []string, word1 string, word2 string) int { FILE: Shortest Word Distance/kata.go function shortestDistance (line 5) | func shortestDistance(wordsDict []string, word1 string, word2 string) int { FILE: Shuffle String/kata.go function restoreString (line 3) | func restoreString(s string, indices []int) string { FILE: Shuffle the Array/kata.go function shuffle (line 3) | func shuffle(nums []int, n int) []int { FILE: Sign of the Product of an Array/kata.go function arraySign (line 3) | func arraySign(nums []int) int { FILE: Simple Bank System/kata.go type Bank (line 3) | type Bank struct method Transfer (line 13) | func (this *Bank) Transfer(account1 int, account2 int, money int64) bo... method Deposit (line 36) | func (this *Bank) Deposit(account int, money int64) bool { method Withdraw (line 47) | func (this *Bank) Withdraw(account int, balance int64) bool { function Constructor (line 7) | func Constructor(balance []int64) Bank { FILE: Single Element in a Sorted Array/kata.go function singleNonDuplicate (line 3) | func singleNonDuplicate(nums []int) (a int) { FILE: Single Number/kata.go function singleNumber (line 3) | func singleNumber(nums []int) int { FILE: Single-Row Keyboard/kata.go function calculateTime (line 5) | func calculateTime(keyboard string, word string) int { FILE: Sliding Window Maximum/kata.go function maxSlidingWindow (line 5) | func maxSlidingWindow(nums []int, k int) []int { type maxNumber (line 33) | type maxNumber struct function findMax (line 38) | func findMax(nums []int, i, k int) maxNumber { FILE: Sliding Window Median/kata.go function medianSlidingWindow (line 5) | func medianSlidingWindow(nums []int, k int) []float64 { FILE: Smallest Even Multiple/kata.go function smallestEvenMultiple (line 5) | func smallestEvenMultiple(n int) int { FILE: Smallest Index With Equal Value/kata.go function smallestEqual (line 5) | func smallestEqual(nums []int) int { FILE: Smallest Range I/kata.go function smallestRangeI (line 5) | func smallestRangeI(nums []int, k int) int { FILE: Sort Array By Parity/kata.go function sortArrayByParity (line 5) | func sortArrayByParity(A []int) []int { FILE: Sort Array by Increasing Frequency/kata.go function frequencySort (line 5) | func frequencySort(nums []int) []int { FILE: Sort Characters By Frequency/kata.go function frequencySort (line 5) | func frequencySort(s string) string { FILE: Sort Integers by The Number of 1 Bits/kata.go function sortByBits (line 8) | func sortByBits(arr []int) []int { function countBits (line 25) | func countBits(n int64) int { FILE: Sort Integers by The Power Value/kata.go function getKth (line 5) | func getKth(lo int, hi int, k int) int { FILE: Sort the People/kata.go type Persons (line 5) | type Persons struct method Len (line 10) | func (p Persons) Len() int { return len(p.Names) } method Less (line 11) | func (p Persons) Less(i, j int) bool { return p.Heights[i] > p.Heights... method Swap (line 12) | func (p Persons) Swap(i, j int) { function sortPeople (line 17) | func sortPeople(names []string, heights []int) []string { FILE: Sorting the Sentence/kata.go constant whitespace (line 5) | whitespace = ' ' function sortSentence (line 7) | func sortSentence(s string) string { FILE: Split With Minimum Sum/kata.go function splitNum (line 8) | func splitNum(num int) int { FILE: Split a String in Balanced Strings/kata.go function balancedStringSplit (line 3) | func balancedStringSplit(s string) int { FILE: Split the Array/kata.go function isPossibleToSplit (line 3) | func isPossibleToSplit(nums []int) bool { FILE: Sqrt(x)/kata.go function mySqrt (line 7) | func mySqrt(x int) int { FILE: Squares of a Sorted Array/kata.go function sortedSquares (line 5) | func sortedSquares(A []int) []int { FILE: Strong Password Checker II/kata.go function strongPasswordCheckerII (line 5) | func strongPasswordCheckerII(password string) bool { FILE: Student Attendance Record I/kata.go constant A (line 3) | A int = 1 constant L (line 4) | L int = 2 function checkRecord (line 6) | func checkRecord(s string) bool { FILE: Subdomain Visit Count/kata.go function subdomainVisits (line 5) | func subdomainVisits(cpdomains []string) []string { FILE: Subrectangle Queries/kata.go type SubrectangleQueries (line 3) | type SubrectangleQueries struct method UpdateSubrectangle (line 11) | func (this *SubrectangleQueries) UpdateSubrectangle(row1 int, col1 int... method GetValue (line 19) | func (this *SubrectangleQueries) GetValue(row int, col int) int { function Constructor (line 7) | func Constructor(rectangle [][]int) SubrectangleQueries { FILE: Substrings of Size Three with Distinct Characters/kata.java class Solution (line 1) | class Solution { method countGoodSubstrings (line 2) | public int countGoodSubstrings(String s) { FILE: Subtract the Product and Sum of Digits of an Integer/kata.go function subtractProductAndSum (line 3) | func subtractProductAndSum(number int) int { FILE: Subtree of Another Tree/kata.go function isSubtree (line 11) | func isSubtree(root *TreeNode, subRoot *TreeNode) bool { function SearchBST (line 15) | func SearchBST(root *TreeNode, subRoot *TreeNode, val int) bool { function LeafsEqual (line 40) | func LeafsEqual(root1 *TreeNode, root2 *TreeNode) bool { type NodeValue (line 65) | type NodeValue struct function PickLeafValues (line 71) | func PickLeafValues(node *TreeNode, values *[]NodeValue, lvl int, direct... FILE: Sum Multiples/kata.go function sumOfMultiples (line 3) | func sumOfMultiples(n int) int { FILE: Sum Root to Leaf Numbers/kata.go function sumNumbers (line 13) | func sumNumbers(root *TreeNode) int { function f (line 31) | func f(node *TreeNode, sums *[]string, n string) { FILE: Sum in a Matrix/kata.go function matrixSum (line 5) | func matrixSum(nums [][]int) int { FILE: Sum of Digits in Base K/kata.go function sumBase (line 5) | func sumBase(n int, k int) int { FILE: Sum of Digits in the Minimum Number/kata.go function sumOfDigits (line 3) | func sumOfDigits(nums []int) int { FILE: Sum of Digits of String After Convert/kata.go function getLucky (line 3) | func getLucky(s string, k int) int { FILE: Sum of Even Numbers After Queries/kata.java class Solution (line 1) | class Solution { method sumEvenAfterQueries (line 2) | public int[] sumEvenAfterQueries(int[] nums, int[][] queries) { FILE: Sum of Left Leaves/kata.go function sumOfLeftLeaves (line 11) | func sumOfLeftLeaves(root *TreeNode) int { function findLeftLeaves (line 18) | func findLeftLeaves(node *TreeNode, kind int, sum *int) { FILE: Sum of Squares of Special Elements/kata.go function sumOfSquares (line 3) | func sumOfSquares(nums []int) int { FILE: Sum of Unique Elements/kata.go function sumOfUnique (line 3) | func sumOfUnique(nums []int) int { FILE: Sum of Values at Indices With K Set Bits/kata.go function sumIndicesWithKSetBits (line 3) | func sumIndicesWithKSetBits(nums []int, k int) int { FILE: Summary Ranges/kata.go function summaryRanges (line 5) | func summaryRanges(nums []int) []string { FILE: Swap Nodes in Pairs/kata.go function swapPairs (line 10) | func swapPairs(head *ListNode) *ListNode { FILE: Symmetric Tree/kata.java class Solution (line 16) | class Solution { method isSymmetric (line 17) | public boolean isSymmetric(TreeNode root) { method verify (line 20) | private boolean verify(TreeNode nodeLeft, TreeNode nodeRight) { FILE: Take Gifts From the Richest Pile/kata.java class Solution (line 1) | class Solution { method pickGifts (line 2) | public long pickGifts(int[] gifts, int k) { FILE: The Employee That Worked on the Longest Task/kata.java class Solution (line 1) | class Solution { method hardestWorker (line 2) | public int hardestWorker(int n, int[][] logs) { FILE: The K Weakest Rows in a Matrix/kata.go function kWeakestRows (line 5) | func kWeakestRows(mat [][]int, k int) []int { FILE: The Number of Users That Are Eligible for Discount/q.sql function getUserIDs (line 1) | CREATE FUNCTION getUserIDs(startDate DATE, endDate DATE, minAmount INT) ... FILE: Third Maximum Number/kata.go function thirdMax (line 7) | func thirdMax(nums []int) int { FILE: Thousand Separator/kata.go function thousandSeparator (line 5) | func thousandSeparator(n int) string { FILE: Three Consecutive Odds/kata.go function threeConsecutiveOdds (line 3) | func threeConsecutiveOdds(arr []int) bool { FILE: Time Based Key-Value Store/kata.go type item (line 3) | type item struct type TimeMap (line 8) | type TimeMap struct method Set (line 17) | func (this *TimeMap) Set(key string, value string, timestamp int) { method Get (line 30) | func (this *TimeMap) Get(key string, timestamp int) string { function Constructor (line 13) | func Constructor() TimeMap { FILE: To Be Or Not To Be/kata.ts type ToBeOrNotToBe (line 1) | type ToBeOrNotToBe = { function expect (line 6) | function expect(val: any): ToBeOrNotToBe { class toBeOrNotToBe (line 11) | class toBeOrNotToBe implements ToBeOrNotToBe { method constructor (line 14) | public constructor(val: any) { method toBe (line 18) | public toBe(val: any) :boolean { method notToBe (line 27) | public notToBe(val: any) :boolean { FILE: To Lower Case/kata.go function toLowerCase (line 3) | func toLowerCase(str string) string { FILE: Toeplitz Matrix/kata.go function isToeplitzMatrix (line 3) | func isToeplitzMatrix(matrix [][]int) bool { FILE: Top K Frequent Elements/kata.go type Item (line 5) | type Item struct function topKFrequent (line 11) | func topKFrequent(nums []int, k int) []int { type PriorityQueue (line 39) | type PriorityQueue method Len (line 41) | func (pq PriorityQueue) Len() int { return len(pq) } method Less (line 43) | func (pq PriorityQueue) Less(i, j int) bool { method Swap (line 50) | func (pq PriorityQueue) Swap(i, j int) { method Pop (line 56) | func (pq *PriorityQueue) Pop() interface{} { method Push (line 65) | func (pq *PriorityQueue) Push(x interface{}) { FILE: Top K Frequent Words/kata.go type Prio (line 5) | type Prio struct function topKFrequent (line 10) | func topKFrequent(words []string, k int) []string { FILE: Transpose Matrix/kata.go function transpose (line 3) | func transpose(matrix [][]int) [][]int { FILE: Truncate Sentence/kata.go constant whitespace (line 3) | whitespace = ' ' function truncateSentence (line 5) | func truncateSentence(s string, k int) string { FILE: Two Furthest Houses With Different Colors/kata.go function maxDistance (line 3) | func maxDistance(colors []int) int { FILE: Two Out of Three/kata.go function twoOutOfThree (line 3) | func twoOutOfThree(nums1 []int, nums2 []int, nums3 []int) []int { FILE: Two Sum/kata.py class Solution (line 6) | class Solution: method twoSum (line 7) | def twoSum(self, nums: List[int], target: int) -> List[int]: FILE: Ugly Number/kata.go function isUgly (line 3) | func isUgly(num int) bool { FILE: Uncommon Words from Two Sentences/kata.go function uncommonFromSentences (line 3) | func uncommonFromSentences(A string, B string) []string { FILE: Unique Morse Code Words/kata.go function uniqueMorseRepresentations (line 5) | func uniqueMorseRepresentations(words []string) int { FILE: Unique Number of Occurrences/kata.go function uniqueOccurrences (line 5) | func uniqueOccurrences(arr []int) bool { FILE: Univalued Binary Tree/kata.go function isUnivalTree (line 11) | func isUnivalTree(root *TreeNode) bool { function isValid (line 20) | func isValid(node *TreeNode, set map[int]struct{}) { FILE: Valid Anagram/kata.go function isAnagram (line 5) | func isAnagram(s string, t string) bool { FILE: Valid Mountain Array/kata.go function validMountainArray (line 3) | func validMountainArray(A []int) bool { FILE: Valid Palindrome II/kata.go function validPalindrome (line 3) | func validPalindrome(s string) bool { function makeValid (line 25) | func makeValid(s string, idx int) []byte { function IsValid (line 36) | func IsValid(b []byte) bool { FILE: Valid Palindrome/kata.go function isPalindrome (line 3) | func isPalindrome(s string) bool { function isValidChar (line 31) | func isValidChar(char byte) (bool, int) { FILE: Valid Parentheses/kata.go function isValid (line 3) | func isValid(s string) bool { FILE: Validate Binary Search Tree/kata.go function isValidBST (line 11) | func isValidBST(root *TreeNode) bool { function inorderTraversal (line 21) | func inorderTraversal(root *TreeNode) []int { function inorder (line 27) | func inorder(node *TreeNode, list *[]int) { FILE: Water Bottles/kata.go function numWaterBottles (line 3) | func numWaterBottles(numBottles int, numExchange int) int { FILE: Widest Vertical Area Between Two Points Containing No Points/kata.java class Solution (line 1) | class Solution { method maxWidthOfVerticalArea (line 2) | public int maxWidthOfVerticalArea(int[][] points) { FILE: Word Pattern/kata.go function wordPattern (line 3) | func wordPattern(pattern string, s string) bool { FILE: XOR Operation in an Array/kata.go function xorOperation (line 3) | func xorOperation(n int, start int) int {