MCPcopy Create free account

hub / github.com/CodeToExpress/dailycodebase / functions

Functions801 in github.com/CodeToExpress/dailycodebase

↓ 2 callersFunctionlongestSubstring
* @author MadhavBahl * @date 03/01/2018 * Referance: https://en.wikipedia.org/wiki/Longest_common_substring_problem
day11/JavaScript/longest_substring_dynamic.js:7
↓ 2 callersFunctionminEditDist
* @author MadhavBahl * @date 31/12/2018
day8/JavaScript/sol.js:6
↓ 2 callersFunctionmin_edit_distance
(str1, str2)
day8/Python/minimum_edit_distance.py:10
↓ 2 callersFunctionnumVowels
(str)
day4/JavaScript/partA_sol2.js:8
↓ 2 callersFunctionnumVowels
(str)
day4/JavaScript/partA_sol4.js:7
↓ 2 callersFunctionnumVowels
(str)
day4/JavaScript/partA_sol1.js:6
↓ 2 callersFunctionnumVowels
(str)
day4/JavaScript/partA_sol3.js:8
↓ 2 callersFunctionparse_input_array
()
day24/Ruby/circular_rotation.rb:27
↓ 2 callersMethodpeek
day38/C++/profgrammer_stack.cpp:28
↓ 2 callersFunctionpermute
Using STL
day10/C++/day10AllPermutations.cpp:8
↓ 2 callersMethodpop
()
day38/JavaScript/stack2.js:43
↓ 2 callersMethodpop
()
day38/JavaScript/stack1.js:38
↓ 2 callersMethodpop
()
day39/JavaScript/stackReverse.js:34
↓ 2 callersFunctionprint
day32/C++/selectionSort.cpp:24
↓ 2 callersFunctionprint
day33/C++/insertionSort.cpp:26
↓ 2 callersMethodprintArr
(int arr[], int num)
BONUS/Arrays/Reverse/Reverse.java:19
↓ 2 callersMethodprintArr
(int arr[], int num)
BONUS/Misc/Reverse/Reverse.java:19
↓ 2 callersFunctionprintArray
day31/C++/bubbleSort.cpp:31
↓ 2 callersFunctionprintPascal
(num)
day15/JavaScript/pascal_MadhavBahlMD.js:14
↓ 2 callersMethodproduct
(int m,int n)
day14/Java/Recmultiply.java:14
↓ 2 callersMethodpush
(element)
day38/JavaScript/stack2.js:31
↓ 2 callersMethodpush
(record)
day38/JavaScript/stack1.js:28
↓ 2 callersFunctionrev
(Str, start, end)
day6/Python/wordRev.py:6
↓ 2 callersFunctionreverse
(string)
Day2/Python/Anirudh_Day2.py:5
↓ 2 callersFunctionreverseFunc
string reverse : Part A
Day2/C++/00x2.cpp:11
↓ 2 callersFunctionreverse_string
function to reverse the string.
Day2/C++/string_reverse_palindrome.cpp:12
↓ 2 callersMethodsearch
(int []arr,int p,int l,int r)
day29/Java/binarySearch.java:14
↓ 2 callersFunctionsearchCommonElements
(arr1, arr2)
day22/JavaScript/sol1b_indexOf.js:7
↓ 2 callersFunctionsearchCommonElements
* @author MadhavBahl * @date 18/01/2019 * Method - Bruteforce Search - Time complexity = O(m.n.p) // m, n, and p are the lengths of 3 input arrays
day22/JavaScript/sol2a_bruteforce.js:7
↓ 2 callersFunctionsearchCommonElements
* @author MadhavBahl * @date 18/01/2019 * Method - Frequency Count
day22/JavaScript/sol1d_frequencycount.js:7
↓ 2 callersFunctionsearchCommonElements
* @author MadhavBahl * @date 18/01/2019 * Method - Frequency Count (object)
day22/JavaScript/sol2b_frequencycount.js:7
↓ 2 callersFunctionsearchCommonElements
* @author MadhavBahl * @date 18/01/2019 * Method - Brute force Search
day22/JavaScript/sol1a_bruteforce.js:7
↓ 2 callersFunctionspiralCopy
(inputMatrix)
day26/JavaScript/spiralCopy.js:5
↓ 2 callersFunctionsubstringSearch
* @author MadhavBahl * @date 05/01/2018 * METHOD - Using String.indexOf() method
day12/JavaScript/using_indexof.js:7
↓ 2 callersFunctionsubstringSearch
* @author MadhavBahl * @date 04/01/2018 * In this case, the worst case Time Complexity will be O(m.n), * m and n are the lengths of string and pat
day12/JavaScript/sol.js:8
↓ 2 callersFunctionsubstringSearch
* @author MadhavBahl * @date 05/01/2018 * METHOD - Using String.search() method
day12/JavaScript/using_search.js:7
↓ 2 callersFunctionsubstrings
(string)
day11/Python/longest_common_substring.py:8
↓ 2 callersFunctionsum
day14/C/sum_of_digits.c:8
↓ 2 callersMethodsum
(int n)
day14/Java/Sumrec.java:14
↓ 2 callersFunctionsumDigits
* @author MadhavBahl * @date 08/01/2018
day14/JavaScript/sum_madhav.js:6
↓ 2 callersFunctionswap
* METHOD -- Backtracking * Algorithm taken from GeeksForGeeks (https://www.geeksforgeeks.org/write-a-c-program-to-print-all-permutations-of-a-given-s
day10/JavaScript/stringPermute2.js:8
↓ 2 callersFunctiontowerOfHanoi
* @source Geeks4Geeks: https://www.geeksforgeeks.org/c-program-for-tower-of-hanoi/ * Implementaed in JavaScript by @MadhavBahl * @date 10/01/2019
day16/JavaScript/hanoi_MadhavBahlMD.js:7
↓ 1 callersFunctionCap
(String)
day6/Python/sentenceCap.py:6
↓ 1 callersFunctionHammingDistance
(Str1, Str2)
Day3/Python/HammingDistance.py:5
↓ 1 callersFunctionHammingDistance
Day3/C/HammingDistance.c:9
↓ 1 callersMethodKMPSearch
(String text, String subs)
day12/Java/KMPAlgo.java:10
↓ 1 callersFunctionKMPsearch
KMP Algorithm
day30/C++/naiveSearch.cpp:14
↓ 1 callersFunctionQuickSort
(A, l, r)
day35/Python/quick_sort.py:9
↓ 1 callersFunctionTowerOfHanoi
day16/C/towerofhanoi.c:11
↓ 1 callersFunctionaddable
day7/C/One_edit_away.c:26
↓ 1 callersFunctionanagram
* @author MadhavBahl * @date 27/12/2018 * A simple method which first compares the lengths of strings and then iterates through the characters of an
day6/JavaScript/anagram3.js:8
↓ 1 callersFunctionanagram
* @author MadhavBahl * @date 27/12/2018 * METHOD -- Prepare 2 objects which stores frequency of every character in both strings, compare those 2 obj
day6/JavaScript/anagram2.js:7
↓ 1 callersFunctionanagram
* @author MadhavBahl * @date 27/12/2018 * METHOD -- Check the lengths of both strings, sort them and then check whether they are same
day6/JavaScript/anagram1.js:7
↓ 1 callersMethodareOneEditAway
(String str1, String str2)
day7/Java/OneEditAway.java:61
↓ 1 callersFunctionare_one_edit_away
day7/C++/one_edit_away.cpp:66
↓ 1 callersFunctionare_one_edit_away
(str1, str2)
day7/Ruby/one_edit_away.rb:63
↓ 1 callersMethodarea
(double radius)
BONUS/Misc/CircleArea/CircleArea.java:9
↓ 1 callersFunctionassignValue
(mineField, thisRow, thisCol, row, col)
day27/JavaScript/minesweeper.js:35
↓ 1 callersFunctionbinary
(arr, n)
day29/JavaScript/binary.js:1
↓ 1 callersFunctionbinarySearchIterate
Iterative Approach
day29/C++/kesh5210_binary_search.cpp:28
↓ 1 callersFunctionbinarySearchRecurse
Recursive Approach
day29/C++/kesh5210_binary_search.cpp:10
↓ 1 callersFunctionbinary_search
day29/C/Binary_Search.c:9
↓ 1 callersFunctionbinary_search_itr
day29/C++/imkaka_binary_search.cpp:11
↓ 1 callersFunctionbinary_search_rec
day29/C++/imkaka_binary_search.cpp:32
↓ 1 callersFunctionbubblesort
day31/C++/bubbleSort.cpp:12
↓ 1 callersFunctioncalc
day12/C++/KMP.cpp:8
↓ 1 callersFunctioncalc_fact
day13/C++/day13a.cpp:9
↓ 1 callersMethodcalculateHammingDistance
(String firstString, String secondString)
Day3/Java/HammingDistanceSolution.java:12
↓ 1 callersFunctioncalculateLPS
(pattern)
day12/Python/KMP.py:25
↓ 1 callersFunctioncalculate_cartesian_product
(first_set, second_set)
day19/Python/cartesian_product.py:16
↓ 1 callersMethodcanAddACharacter
(String str1, String str2)
day7/Java/OneEditAway.java:53
↓ 1 callersFunctioncanBePlaced
(num, chessBoard, row, col)
day17/JavaScript/nqueens.js:53
↓ 1 callersMethodcanDeleteACharacter
(String str1, String str2)
day7/Java/OneEditAway.java:57
↓ 1 callersMethodcanReplaceACharacter
(String str1, String str2)
day7/Java/OneEditAway.java:8
↓ 1 callersFunctioncan_add_a_character
day7/C++/one_edit_away.cpp:58
↓ 1 callersFunctioncan_add_a_character
(str1, str2)
day7/Ruby/one_edit_away.rb:55
↓ 1 callersFunctioncan_delete_a_character
day7/C++/one_edit_away.cpp:62
↓ 1 callersFunctioncan_delete_a_character
(str1, str2)
day7/Ruby/one_edit_away.rb:59
↓ 1 callersFunctioncan_replace_a_character
day7/C++/one_edit_away.cpp:10
↓ 1 callersFunctioncan_replace_a_character
(str1, str2)
day7/Ruby/one_edit_away.rb:6
↓ 1 callersFunctioncapitalize
(str)
day6/JavaScript/sentenceCap1.js:2
↓ 1 callersFunctioncapitalize_sentence
(string)
day6/Ruby/sentence_capitalization.rb:6
↓ 1 callersFunctioncapitalize_sentence_long
(string)
day6/Python/sentence_capitalization.py:12
↓ 1 callersFunctioncapitalize_sentence_short
(string)
day6/Python/sentence_capitalization.py:8
↓ 1 callersFunctioncartesian1
(*iplists)
day19/Python/Cartesian.py:9
↓ 1 callersFunctioncartesian2
(ip1, ip2)
day19/Python/Cartesian.py:14
↓ 1 callersMethodcheck
(String s,char []c)
day9/Java/minSubstring.java:15
↓ 1 callersMethodcheckLeapYear
(int year)
BONUS/Misc/LeapYear/LeapYear.java:9
↓ 1 callersFunctioncheckPalindrome
palindrome check : Part B
Day2/C++/00x2.cpp:18
↓ 1 callersFunctioncheckPalindrome
function that checks the string is palindrome or not.
Day2/C++/string_reverse_palindrome.cpp:24
↓ 1 callersFunctioncheckSolution
day17/C++/Day17.cpp:46
↓ 1 callersFunctioncheck_anagram
(first_str, second_str)
day6/Python/anagram_check.py:6
↓ 1 callersFunctioncheck_anagram
(first_str, second_str)
day6/Ruby/anagram_check.rb:6
↓ 1 callersFunctioncheck_one_edit_away
(str1, str2)
day7/Python/onewordaway.py:7
↓ 1 callersFunctioncheck_power_n
(first, second, N)
day18/Python/check_power_n.py:11
↓ 1 callersFunctioncheck_rotation
(first, second)
day24/Ruby/circular_rotation.rb:6
↓ 1 callersMethodchecker
(String st_check, char[] ch)
day9/Java/smallest_substring.java:8
↓ 1 callersMethodcircular
(List a1,List a2)
day24/Java/circularRotation.java:14
↓ 1 callersFunctioncombine
(q1, q2)
day42/JavaScript/alternateQueue.js:52
↓ 1 callersFunctioncomputeLPS
day30/C++/naiveSearch.cpp:47
← previousnext →101–200 of 801, ranked by callers