Coding Problems

Given a string, return the string reversed.

Not Started
String 1000ms

Calculate the factorial of a given non-negative integer.

Not Started
Math 1000ms

Write a program that takes two numbers as input and returns their sum.

Not Started
Basic 1000ms

Given the root of a binary tree, return the inorder traversal of its nodes' values. Inorder traversal visits nodes in …

Not Started
Tree 1000ms

Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted …

Not Started
Array 3000ms

Given a string s, find the length of the longest substring without repeating characters. A substring is a contiguous non-empty …

Not Started
String 1500ms

Given an integer x, return true if x is a palindrome, and false otherwise. An integer is a palindrome when …

Not Started
Math 1000ms

Calculate minimum flips (0→1 or 1→0) to make binary string alternating

Not Started
String/Sliding Window 1000ms

Find maximum number of substrings that meet criteria and don't overlap

Not Started
String/Greedy 1000ms

Count strings of length n between s1 and s2 without evil as substring

Not Started
String/DP 1000ms

Add characters in front to make shortest palindrome

Not Started
String/KMP 1000ms

Split text into maximum parts where parts read same forwards and backwards

Not Started
String/Greedy 1000ms

Calculate minimum insertions needed to balance parentheses

Not Started
String/Stack 1000ms

Sum counts of unique characters in all substrings

Not Started
String/Dynamic Programming 1000ms

Find all unique index pairs (i,j) where words[i]+words[j] is palindrome

Not Started
String/Hash Table 1000ms

Determine if str1 can be transformed into str2 with character mappings

Not Started
String/Graph 1000ms

Calculate operations needed to make string sorted (mod 10^9+7)

Not Started
String/Math 1000ms

Find the longest substring that occurs at least twice in a string

Not Started
String/Binary Search 1000ms

Find smallest range that includes at least one number from each of k lists

Not Started
String/Heap 1000ms

Find all starting indices of substrings that are concatenation of each word

Not Started
String/Hash Table 1000ms