Enjoy 20% off all plans by following us on social media. Check out other promotions!

Lodash Functions

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

Questions List

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