Summer sale! Get 10% off annual plan with the code SUMMERSALE23, grab your discount today! Check out other promotions

Lodash Functions

Number of questions
28 questions
Recommended duration to spend during interviews
365 mins
Implement various Lodash functions and methods to manipulate and transform data efficiently, a common task given during front end interviews and improve your front end interview readiness.

All Practice Questions

Coding Format
Number of questions
28 questions
Total time
7 hours total

Questions List

  • 1
    Count ByImplement a function that counts the number of times a value appears in an array based on a function or property name
    Difficulty
    Medium
    Languages
    JSTS
  • 2
    DebounceImplement a function to limit how many times a function can be executed by delaying the execution of the function until after a specified time after its last execution attempt
    Difficulty
    Medium
    Languages
    JSTS
  • 3
    FlattenImplement a function that recursively flattens an array into a single level deep
    Difficulty
    Medium
    Languages
    JSTS
  • 4
    Deep CloneImplement a function that performs a deep copy of a value
    Difficulty
    Medium
    Languages
    JSTS
  • ClampImplement a function to clamp a number within the inclusive lower and upper bounds
    Difficulty
    Easy
    Languages
    JSTS
  • ChunkImplement a function that creates an array of elements split into smaller groups of a specified size
    Difficulty
    Easy
    Languages
    JSTS
  • CompactImplement a function that creates an array with all falsey values removed
    Difficulty
    Easy
    Languages
    JSTS
  • DifferenceImplement a function that finds the difference in values between arrays
    Difficulty
    Easy
    Languages
    JSTS
  • Drop Right WhileImplement a function that excludes elements from the end of an array until the predicate returns false
    Difficulty
    Easy
    Languages
    JSTS
  • Drop WhileImplement a function that excludes elements from the beginning of an array until the predicate returns false
    Difficulty
    Easy
    Languages
    JSTS
  • FillImplement a function that fills an array with values within specified indices
    Difficulty
    Easy
    Languages
    JSTS
  • Find IndexImplement a function that returns the index of the first element in the array that satisfies the provided testing function
    Difficulty
    Easy
    Languages
    JSTS
  • Find Last IndexImplement a function that returns the index of the last element in the array that satisfies the provided testing function
    Difficulty
    Easy
    Languages
    JSTS
  • From PairsImplement a function that returns an object composed from key-value pairs
    Difficulty
    Easy
    Languages
    JSTS
  • GetImplement a function to safely access deeply-nested properties in JavaScript objects
    Difficulty
    Easy
    Languages
    JSTS
  • In RangeImplement a function to check if a number falls between two numbers
    Difficulty
    Easy
    Languages
    JSTS
  • IntersectionImplement a function that computes the intersection of arrays, returning a new array containing unique values present in all given arrays
    Difficulty
    Easy
    Languages
    JSTS
  • OnceImplement a function that accepts a callback and restricts its invocation to at most once
    Difficulty
    Easy
    Languages
    JSTS
  • Unique ArrayImplement a function to remove all duplicate values from an array
    Difficulty
    Easy
    Languages
    JSTS
  • SizeImplement a function that returns the size of collection
    Difficulty
    Easy
    Languages
    JSTS
  • CurryImplement a function that transforms a function that takes multiple arguments into a function that can be repeatedly called with only one argument at a time
    Difficulty
    Medium
    Languages
    JSTS
  • Group ByImplement a function that groups values in an array based on a function or property name
    Difficulty
    Medium
    Languages
    JSTS
  • Intersection ByImplement a function that returns an array of unique values that are included in all given arrays based on a provided iteratee function
    Difficulty
    Medium
    Languages
    JSTS
  • Intersection WithComputes the intersection of arrays using a custom comparator function to determine equality between elements.
    Difficulty
    Medium
    Languages
    JSTS
  • Is EmptyImplement a function to check if a value is an empty object, collection, map, or set
    Difficulty
    Medium
    Languages
    JSTS
  • LimitImplement a function that accepts a callback and restricts its invocation to at most N times
    Difficulty
    Medium
    Languages
    JSTS
  • ThrottleImplement a function to control the execution of a function by limiting how many times it can execute over time
    Difficulty
    Medium
    Languages
    JSTS
  • Deep EqualImplement a function that determines if two values are equal
    Difficulty
    Medium
    Languages
    JSTS