Skip to content

Here I put the coding challenges that I do in different languages

buildwithuk/coding-challenges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Common Programs

These are the programs I have wrote that are usually asked in the coding interviews.

Queue Implementation

Using Linked Lists

Stack Implementation

Using Linked Lists

Trees

Add and Delete BST

Added operations on binary search tree

Traverse BST

Easy Programs using recursion

Factorial of a Number

Write a recursive function to calculate the factorial of a number.

Fibonacci Sequence

Generate the nth term of the Fibonacci sequence using recursion.

Sum of Digits

Write a recursive function to calculate the sum of the digits of a given number.

Reverse a String

Use recursion to reverse a string.

Check Palindrome

Check whether a string is a palindrome using recursion.

Intermediate Programs using recursion

Exponentiation

Write a recursive function to calculate the power of a number

Count Occurrences of a Character

Count the number of times a character appears in a string using recursion.

Perform Binary search

Count the number of times a character appears in a string using recursion.

Misc

These are the challenges of varying difficulties. Most of the challenges are from LeetCode

Traverse a Tree

Code to traverse a tree breadth and depth first

Traverse Folder

Code to traverse a folder depth wise

Traversing Linked List

Code to traverse a linked list

Coding Challenges

Challenge 1

https://leetcode.com/explore/featured/card/top-interview-questions-easy/92/array/564/ Explore - LeetCode

Challenge 2

Rotate the array

Challenge 4

Generate Divisors

Challenge 5

https://leetcode.com/problems/two-sum/

Challenge 6

https://leetcode.com/explore/interview/card/top-interview-questions-easy/97/dynamic-programming/576/

Challenge 7

https://leetcode.com/explore/interview/card/top-interview-questions-easy/97/dynamic-programming/569/

Challenge 8

https://leetcode.com/explore/interview/card/top-interview-questions-easy/97/dynamic-programming/572/

Challenge 9

https://leetcode.com/explore/interview/card/top-interview-questions-easy/97/dynamic-programming/566/

Challenge 10

https://www.hackerrank.com/challenges/divisible-sum-pairs/problem?isFullScreen=true

Challenge 11

https://www.hackerrank.com/challenges/extra-long-factorials/problem?isFullScreen=true

Challenge 12

https://leetcode.com/problems/longest-substring-without-repeating-characters/description/

Challenge 13

https://leetcode.com/problems/minimum-window-substring/description/

Challenge 14

https://coderbyte.com/information/Bracket%20Matcher

Challenge 15

https://leetcode.com/problems/longest-substring-without-repeating-characters/

Challenge 16

https://leetcode.com/problems/zigzag-conversion/description/

Challenge 17

https://leetcode.com/problems/reverse-integer/submissions/1466800910/

Challenge 18

https://leetcode.com/problems/container-with-most-water/description/

Challenge 19

https://leetcode.com/problems/3sum-closest/

Challenge 20

https://leetcode.com/problems/4sum/description/

Challenge 21

https://leetcode.com/problems/merge-intervals/description/

Challenge 22

https://leetcode.com/problems/two-sum/description/

Challenge 23

https://leetcode.com/problems/adding-spaces-to-a-string/?envType=daily-question&envId=2024-12-03

Challenge 24

https://leetcode.com/problems/group-anagrams/

Challenge 25

https://leetcode.com/problems/first-missing-positive/description/

Challenge 26

https://leetcode.com/problems/single-number-ii/description/

Challenge 27

https://leetcode.com/problems/roman-to-integer/description/

Challenge 28

https://leetcode.com/problems/longest-common-prefix/description/

Challenge 29

https://leetcode.com/problems/pascals-triangle/

A new folder has been added leet-code-in-java-dotnet

This folder corresponds to Udemy course Leet Code in Python While the course is in Python, I have coded the exercies in the language I use mostly for myself: C#, Typescript, Java.

About

Here I put the coding challenges that I do in different languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages