/challengequestions

Some interesting challenge questions to prepare for interviews

Primary LanguageC#

Challenge Questions

Here are some interesting challenge questions to get you ready for SDE interviews.

Arrays

Linked Lists

  • removeKFromList : C#, Java
  • isListPalindrome : C#, Java
  • addTwoHugeNumbers : C#
  • mergeTwoLinkedLists : C#
  • reverseNodesInKGroups : C#
  • rearrangeLastN : C#

Hash Tables

  • groupingDishes : C#
  • areFollowingPatterns : C#
  • containsCloseNums : C#
  • possibleSums : C#

Trees: Basic

  • hasPathWithGivenSum : C#
  • isTreeSymmetric : C#
  • findProfession : C#
  • kthSmallestInBST : C#
  • isSubtree : C#
  • restoreBinaryTree : C#
  • findSubstrings : C#

Heaps, Stacks, Queues

  • kthLargestElement : C#
  • simplifyPath : C#, Java
  • decodeString : C#
  • nextLarger : C#
  • minimumOnStack : C#
  • countClouds : C#
  • nearestGreater : C#, Java

Depth-First Search & Breadth-First Search

  • traverseTree : C#
  • largestValuesInTreeRows : C#
  • digitTreeSum : C#
  • longestPath : C#

Common Techniques: Basic

  • containsDuplicates : C#
  • sumOfTwo : C#
  • sumInRange : C#
  • arrayMaxConsecutiveSum2 : C#
  • findLongestSubarrayBySum : C#

Strings

  • amendTheSentence : C#
  • findFirstSubstringOccurrence : C#
  • classifyStrings : C#
  • textJustification : C#
  • regexMatching : C#
  • longestCommonSubstring (almost done) : C#