{"id":12516,"date":"2022-10-28T17:42:00","date_gmt":"2022-10-28T14:42:00","guid":{"rendered":"https:\/\/elzero.org\/?p=12516"},"modified":"2022-10-28T17:43:10","modified_gmt":"2022-10-28T14:43:10","slug":"sequence-multiply-with-condition-challenge","status":"publish","type":"post","link":"https:\/\/elzero.org\/old\/sequence-multiply-with-condition-challenge\/","title":{"rendered":"Sequence Multiply With Condition"},"content":{"rendered":"<h3>\u0645\u0642\u062f\u0645\u0629 \u0639\u0646 \u0627\u0644\u062a\u062d\u062f\u064a<\/h3>\r\n\r\n<div class=\"text\">\r\n\u062c\u0644\u0628 \u0639\u062f\u062f \u0627\u0644\u0623\u0631\u0642\u0627\u0645 \u0627\u0644\u0646\u0627\u062a\u062c\u0629 \u0639\u0646 \u0636\u0631\u0628 \u0627\u0644\u0631\u0642\u0645 \u0641\u064a \u0646\u0641\u0633\u0647 \u0639\u062f\u062f \u0645\u0646 \u0627\u0644\u0645\u0631\u0627\u062a \u0645\u0639 \u0625\u0633\u062a\u062b\u0646\u0627\u0621 \u0631\u0642\u0645 \u0645\u0639\u064a\u0646\r\n<\/div>\r\n\r\n<h3>\u0627\u0644\u0637\u0644\u0628\u0627\u062a<\/h3>\r\n\r\n<ul class=\"points\">\r\n  <li>\u0644\u062f\u064a\u0643 Function \u0628\u0625\u0633\u0645 seq_multi \u062a\u0642\u0628\u0644 \u0645\u0646\u0643 3 Parameters<\/li>\r\n  <li>\u0627\u0644\u0623\u0648\u0644 \u0647\u0648 \u0627\u0644\u0631\u0642\u0645 &#8220;num&#8221;<\/li>\r\n  <li>\u0627\u0644\u062b\u0627\u0646\u064a \u0647\u0648 \u0639\u062f\u062f \u0627\u0644\u0645\u0631\u0627\u062a \u0627\u0644\u0645\u0631\u0627\u062f \u0636\u0631\u0628 \u0627\u0644\u0631\u0642\u0645 \u0641\u064a \u0646\u0641\u0633\u0647 &#8220;count&#8221;<\/li>\r\n  <li>\u0627\u0644\u062b\u0627\u0644\u062b \u0647\u0648 \u0627\u0644\u0631\u0642\u0645 \u0627\u0644\u0645\u0631\u0627\u062f \u0625\u0633\u062a\u062b\u0646\u0627\u0621\u0647 \u0645\u0646 \u0627\u0644\u0646\u062a\u064a\u062c\u0629 &#8220;exclude&#8221;<\/li>\r\n  <li>\u064a\u062c\u0628 \u0627\u0646 \u062a\u0631\u062c\u0639 \u0627\u0644\u0646\u062a\u064a\u062c\u0629 \u0643 Array<\/li>\r\n<\/ul>\r\n\r\n<h3>\u0645\u062b\u0627\u0644 \u0628\u0644\u063a\u0629 JavaScript<\/h3>\r\n\r\n<script type=\"text\/plain\" class=\"language-javascript\">\r\nfunction seq_multi(num, counts, exclude) {\r\n  \/\/ Your Code\r\n}\r\n\r\n\/\/ Test Cases\r\nconsole.log(seq_multi(2, 5, 256)); \/\/ [2, 4, 16, 65536]\r\nconsole.log(seq_multi(3, 4, 6561)); \/\/ [3, 9, 81]\r\n<\/script>","protected":false},"excerpt":{"rendered":"<p>Sequence Multiply With Condition<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[882],"tags":[],"class_list":["post-12516","post","type-post","status-publish","format-standard","hentry","category-programming-challenges"],"_links":{"self":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/12516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/comments?post=12516"}],"version-history":[{"count":3,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/12516\/revisions"}],"predecessor-version":[{"id":12519,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/12516\/revisions\/12519"}],"wp:attachment":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/media?parent=12516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/categories?post=12516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/tags?post=12516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}