Category: algorithms
Given an integer n (in base 10) and a base k, return the sum of the digits of n after converting n from base 10 to base k. After …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a string lowercase alphabet s, eliminate consecutive duplicate characters from the string and return it. That is, if a …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given all the nodes of an N-ary tree as an array Node tree where each node has a unique value. …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given the root of an n-ary tree, return the preorder traversal of its nodes’ values. Nary-Tree input serialization is represented …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given an array of distinct integers nums and a target integer target, return the number of possible combinations that add …