Skip to content

Instantly share code, notes, and snippets.

View omar115's full-sized avatar
:octocat:

Omar Hasan omar115

:octocat:
  • UDPlatforms Inc.
  • Dhaka, Bangladesh
View GitHub Profile
@omar115
omar115 / gist:04af0433f97b80cd810db2f07cf9c48d
Created September 11, 2024 16:59
Live Coding Test Solution of Airwrk
// Problem - 1
# solution of problem - 1
# define a fucntion
def subarray_equals_k(nums, k):
count = 0
c_s = 0
x = {0: 1} # dictionary
for num in nums: