Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/100xdevs-cohort-2/assignments
/ functions
Functions
125 in github.com/100xdevs-cohort-2/assignments
⨍
Functions
125
◇
Types & classes
13
↓ 23 callers
Function
isPalindrome
(str)
01-js/medium/palindrome.js:6
↓ 16 callers
Function
countVowels
(str)
01-js/medium/countVowels.js:8
↓ 13 callers
Function
isAnagram
(str1, str2)
01-js/easy/anagram.js:7
↓ 9 callers
Function
findLargestElement
(numbers)
01-js/easy/findLargestElement.js:8
↓ 7 callers
Function
calculateTime
(t1, t2, t3)
week-2/01-async-js/hard (promises)/3-promise-all.js:19
↓ 5 callers
Function
sendRequest
(options, requestBody)
week-2/02-nodejs/tests/fileServer.test.js:105
↓ 4 callers
Function
calculateTotalSpentByCategory
(transactions)
01-js/easy/expenditure-analysis.js:16
↓ 3 callers
Function
createTodo
(userId: number, title: string, description: string)
week-10/2-prisma-simple/src/db/todo.ts:15
↓ 3 callers
Function
createUser
(username: string, password: string, name: string)
week-10/2-prisma-simple/src/db/user.ts:15
↓ 3 callers
Function
decodeJwt
* Decodes a JWT to reveal its payload without verifying its authenticity. * * @param {string} token - The JWT string to decode. * @returns {object|
week-3/02-jwt/index.js:39
↓ 3 callers
Function
explainParseFloat
(value)
week-1/offline-class-1/level-1/02-Number.js:12
↓ 3 callers
Function
explainParseInt
(value)
week-1/offline-class-1/level-1/02-Number.js:1
↓ 3 callers
Function
findIndex
(arr, id)
week-2/02-nodejs/solutions/todoServer.solution.file.js:9
↓ 3 callers
Function
mathMethods
(value)
week-1/offline-class-1/level-2/04-Math.js:1
↓ 3 callers
Function
signJwt
* Generates a JWT for a given username and password. * * @param {string} username - The username to be included in the JWT payload. *
week-3/02-jwt/index.js:16
↓ 3 callers
Function
sleep
(milliseconds)
week-2/01-async-js/hard (promises)/2-sleep-completely.js:7
↓ 3 callers
Function
verifyJwt
* Verifies a JWT using a secret key. * * @param {string} token - The JWT string to verify. * @returns {boolean} Returns true if the token is valid
week-3/02-jwt/index.js:28
↓ 3 callers
Function
wait
(n)
week-2/01-async-js/hard (promises)/1-promisify-setTimeout.js:5
↓ 2 callers
Function
createTodo
(userId: number, title: string, description: string)
week-10/1-postgres-simple/src/db/todo.ts:12
↓ 1 callers
Function
concatExample
(arr1, arr2)
week-1/offline-class-1/level-1/03-Array.js:45
↓ 1 callers
Function
createTables
()
week-10/1-postgres-simple/src/db/setup.ts:4
↓ 1 callers
Function
createUser
(username: string, password: string, name: string)
week-10/1-postgres-simple/src/db/user.ts:12
↓ 1 callers
Function
dateMethods
()
week-1/offline-class-1/level-2/02-Date.js:1
↓ 1 callers
Function
dropTables
()
week-10/1-postgres-simple/src/db/setup.ts:25
↓ 1 callers
Function
dropTables
()
week-10/2-prisma-simple/src/db/setup.ts:5
↓ 1 callers
Function
filterExample
(arr)
week-1/offline-class-1/level-1/03-Array.js:75
↓ 1 callers
Function
findExample
(arr)
week-1/offline-class-1/level-1/03-Array.js:86
↓ 1 callers
Function
findIndexOf
(str, target)
week-1/offline-class-1/level-1/01-String.js:16
↓ 1 callers
Function
findLastIndexOf
(str, target)
week-1/offline-class-1/level-1/01-String.js:23
↓ 1 callers
Function
forEachExample
(arr)
week-1/offline-class-1/level-1/03-Array.js:54
↓ 1 callers
Function
getLength
(str)
week-1/offline-class-1/level-1/01-String.js:9
↓ 1 callers
Function
getSlice
(str, start, end)
week-1/offline-class-1/level-1/01-String.js:30
↓ 1 callers
Function
getSubstring
(str, start, end)
week-1/offline-class-1/level-1/01-String.js:37
↓ 1 callers
Function
getTodos
(userId: number)
week-10/1-postgres-simple/src/db/todo.ts:39
↓ 1 callers
Function
getTodos
(userId: number)
week-10/2-prisma-simple/src/db/todo.ts:42
↓ 1 callers
Function
getUser
(userId: number)
week-10/1-postgres-simple/src/db/user.ts:24
↓ 1 callers
Function
getUser
(userId: number)
week-10/2-prisma-simple/src/db/user.ts:27
↓ 1 callers
Function
jsonMethods
(jsonString)
week-1/offline-class-1/level-2/03-JSON.js:1
↓ 1 callers
Function
mapExample
(arr)
week-1/offline-class-1/level-1/03-Array.js:64
↓ 1 callers
Function
objectMethods
(obj)
week-1/offline-class-1/level-2/05-Object.js:2
↓ 1 callers
Function
popExample
(arr)
week-1/offline-class-1/level-1/03-Array.js:18
↓ 1 callers
Function
pushExample
(arr, element)
week-1/offline-class-1/level-1/03-Array.js:9
↓ 1 callers
Function
removeAtIndex
(arr, index)
week-2/02-nodejs/solutions/todoServer.solution.file.js:16
↓ 1 callers
Function
replaceString
(str, target, replacement)
week-1/offline-class-1/level-1/01-String.js:44
↓ 1 callers
Function
shiftExample
(arr)
week-1/offline-class-1/level-1/03-Array.js:27
↓ 1 callers
Function
sortExample
(arr)
week-1/offline-class-1/level-1/03-Array.js:97
↓ 1 callers
Function
splitString
(str, separator)
week-1/offline-class-1/level-1/01-String.js:51
↓ 1 callers
Function
toLower
(str)
week-1/offline-class-1/level-1/01-String.js:72
↓ 1 callers
Function
toUpper
(str)
week-1/offline-class-1/level-1/01-String.js:65
↓ 1 callers
Function
trimString
(str)
week-1/offline-class-1/level-1/01-String.js:58
↓ 1 callers
Function
unshiftExample
(arr, element)
week-1/offline-class-1/level-1/03-Array.js:36
↓ 1 callers
Function
updateTodo
(todoId: number)
week-10/1-postgres-simple/src/db/todo.ts:25
↓ 1 callers
Function
updateTodo
(todoId: number)
week-10/2-prisma-simple/src/db/todo.ts:28
Function
Alert
({showAlert})
week-6/2-use-callback/src/components/Assignment2.jsx:29
Function
Alert
({showAlert})
week-6/solutions/2/components/Assignment2.jsx:29
Function
App
()
week-6/2-use-callback/src/App.jsx:5
Function
App
()
week-6/1-use-memo/src/App.jsx:6
Function
App
()
week-6/3-use-ref/src/App.jsx:5
Function
Assignment1
()
week-6/2-use-callback/src/components/Assignment1.jsx:5
Function
Assignment1
()
week-6/solutions/2/components/Assignment1.jsx:5
Function
Assignment1
()
week-6/solutions/1/components/Assignment1.jsx:6
Function
Assignment1
()
week-6/solutions/3/components/Assignment1.jsx:6
Function
Assignment1
()
week-6/1-use-memo/src/components/Assignment1.jsx:6
Function
Assignment1
()
week-6/3-use-ref/src/components/Assignment1.jsx:5
Function
Assignment2
()
week-6/2-use-callback/src/components/Assignment2.jsx:7
Function
Assignment2
()
week-6/solutions/2/components/Assignment2.jsx:7
Function
Assignment2
()
week-6/solutions/1/components/Assignment2.jsx:19
Function
Assignment2
()
week-6/solutions/3/components/Assignment2.jsx:6
Function
Assignment2
()
week-6/1-use-memo/src/components/Assignment2.jsx:19
Function
Assignment2
()
week-6/3-use-ref/src/components/Assignment2.jsx:5
Function
Assignment3
()
week-6/solutions/1/components/Assignment3.jsx:5
Function
Assignment3
()
week-6/1-use-memo/src/components/Assignment3.jsx:5
Function
BusinessCard
(props)
week-5/solutions/level-1/BusinessCard.jsx:1
Function
CounterButtons
({ onIncrement, onDecrement })
week-6/2-use-callback/src/components/Assignment1.jsx:26
Function
adminMiddleware
(req, res, next)
week-3/03-mongo/solution/middleware/admin.js:4
Function
adminMiddleware
(req, res, next)
week-3/03-mongo/middleware/admin.js:2
Function
adminMiddleware
(req, res, next)
week-3/04-mongo-with-jwt-auth/solution/middleware/admin.js:5
Function
adminMiddleware
(req, res, next)
week-3/04-mongo-with-jwt-auth/middleware/admin.js:2
Function
authmiddleware
(c: any, next: Next)
week-11/solution/src/middleware/user.ts:5
Function
calculateTime
(t1, t2, t3)
week-2/01-async-js/hard (promises)/4-promise-chain.js:20
Function
calculateTime
(n)
01-js/medium/times.js:11
Method
constructor
(name, legCount)
week-1/offline-class-1/level-2/01-Class.js:3
Function
createPost
(c: Context)
week-11/solution/src/controller/postController.ts:59
Method
createSurvey
(req, res)
week-12/12.1 Relations/solution/src/controllers/surveyController.js:25
Method
createSurvey
(data)
week-12/12.1 Relations/solution/src/models/surveyModel.js:13
Function
decodeJwt
(token)
week-3/solutions/02.js:32
Function
deletePost
(c: Context)
week-11/solution/src/controller/postController.ts:205
Method
deleteSurvey
(req, res)
week-12/12.1 Relations/solution/src/controllers/surveyController.js:44
Method
deleteSurvey
(id)
week-12/12.1 Relations/solution/src/models/surveyModel.js:21
Method
describe
()
week-1/offline-class-1/level-2/01-Class.js:7
Method
getAllSurveys
(req, res)
week-12/12.1 Relations/solution/src/controllers/surveyController.js:4
Method
getAllSurveys
()
week-12/12.1 Relations/solution/src/models/surveyModel.js:5
Function
getAllUsers
(c: Context)
week-11/solution/src/controller/userController.ts:143
Function
getPost
(c: Context)
week-11/solution/src/controller/postController.ts:108
Function
getPosts
(c: Context)
week-11/solution/src/controller/postController.ts:12
Function
getPostsByTag
(c: Context)
week-11/solution/src/controller/tagController.ts:28
Method
getSurveyById
(req, res)
week-12/12.1 Relations/solution/src/controllers/surveyController.js:13
Method
getSurveyById
(id)
week-12/12.1 Relations/solution/src/models/surveyModel.js:9
Function
getTags
(c: Context)
week-11/solution/src/controller/tagController.ts:12
Function
getUserPosts
(c: Context)
week-11/solution/src/controller/postController.ts:40
next →
1–100 of 125, ranked by callers