List of solutions for interview problems in Julia!
-
01: Two Sum: given an array of integers "nums" and an integer "target", return indices of the two numbers such that they add up to target.
-
02: Reverse Integers: given a 32-bit signed integer, reverse digits of an integer.
-
03: Palindrome number: determine whether an integer is a palindrome.
-
04: Roman to integer: given a roman numeral, convert it to an integer.
-
05: Longest common prefix: given an array of strings, returns the longest common prefix string.
-
06: Valid parentheses: given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determines if the input string is valid.
-
07: Merge (two) sorted lists: merge two sorted linked lists and return it as a new sorted list.